How to get mail to local destinations delivered?

Chris G cl at isbd.net
Sun Nov 11 22:34:44 UTC 2007


On Mon, Nov 12, 2007 at 07:30:29AM +0900, John Summerfield wrote:
> Chris G wrote:
>> On Mon, Nov 12, 2007 at 05:40:41AM +0900, John Summerfield wrote:
>>> Chris G wrote:
>>>> On Sun, Nov 11, 2007 at 01:53:29PM +0100, Gijs wrote:
>>>
>>>> sendmail knows that *local* mail is delivered to the mail spool.
>>>> In fact I have found that sendmail thinks this system is called
>>>> isbd.net and thus mail sent to chris at isbd.net gets put into the file
>>>> /var/mail/chris by sendmail.  Thus I have put:-
>>>>     root:       chris at isbd.net
>>>> at the end of /etc/aliases and all is now OK.
>>>> What I *don't* quite understand is why sendmail thinks this is
>>>> isbd.net and why I couldn't tell it what the system should really be
>>>> called.  Everything else (apache, ssh, etc.) thinks it's called
>>>> home.isbd.net.
>>> Given that my f8 system about as you expect, and I don't think that 
>>> behaviour has changed in some years, I suspect you've changed something. 
>>> Here's the sendmail.mc from this:
>>> divert(-1)dnl
>>> include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
>>> VERSIONID(`setup for linux')dnl
>>> OSTYPE(`linux')dnl
>>> define(`confDEF_USER_ID', ``8:12'')dnl
>>> define(`confTO_CONNECT', `1m')dnl
>>> define(`confTRY_NULL_MX_LIST', `True')dnl
>>> define(`confDONT_PROBE_INTERFACES', `True')dnl
>>> define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
>>> define(`ALIAS_FILE', `/etc/aliases')dnl
>>> define(`STATUS_FILE', `/var/log/mail/statistics')dnl
>>> define(`UUCP_MAILER_MAX', `2000000')dnl
>>> define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
>>> define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
>>> define(`confAUTH_OPTIONS', `A')dnl
>>> define(`confTO_IDENT', `0')dnl
>>> FEATURE(`no_default_msa', `dnl')dnl
>>> FEATURE(`smrsh', `/usr/sbin/smrsh')dnl
>>> FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl
>>> FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl
>>> FEATURE(redirect)dnl
>>> FEATURE(always_add_domain)dnl
>>> FEATURE(use_cw_file)dnl
>>> FEATURE(use_ct_file)dnl
>>> FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl
>>> FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
>>> FEATURE(`blacklist_recipients')dnl
>>> EXPOSED_USER(`root')dnl
>>> DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
>>> FEATURE(`accept_unresolvable_domains')dnl
>>> LOCAL_DOMAIN(`localhost.localdomain')dnl
>> I changed this line to be home.isbd.net instead and it didn't fix my
>> problem so I changed it back.
>
> Did you run make?
>
Yes!  :-)  (and the make restarts sendmail, though I did that as well
just to be sure).


>>> MAILER(smtp)dnl
>>> MAILER(procmail)dnl
>>> [root at potoroo mail]#
>>>
>

-- 
Chris Green




More information about the users mailing list