How to get mail to local destinations delivered?

John Summerfield debian at herakles.homelinux.org
Sun Nov 11 20:40:41 UTC 2007


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
MAILER(smtp)dnl
MAILER(procmail)dnl
[root at potoroo mail]#


Did you set the hostname in there someplace?





-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

Please do not reply off-list




More information about the users mailing list