[exim] Forwarding root mail to user james with aliases -> Us…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Goran Tornqvist
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Forwarding root mail to user james with aliases -> User 0 set for local_delivery transport is on the never_users list
Hello,
I've added the following line to my /etc/aliases file:
root: james

But all mail to root gets thrown away and I get errors like this in exim_mainlog:
2005-03-16 11:07:11 1DBVQl-000AGV-PX == root@??? R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list

I also did "newaliases", don't know if that's necessary, but I got a lot of error messages when doing that, maybe that's the problem?

root@myserver:~# newaliases
/etc/mail/sendmail.cf: line 13: fileclass: cannot open 'ATURE(no_default_msa)DAEMON_OPTIONS(Port=smtp,': No such file or directory
/etc/mail/sendmail.cf: line 15: fileclass: cannot open 'ATURE(use_cw_file)FEATURE(use_ct_file)FEATURE(mailertable)FEATURE(access_db)FEATURE(virtusertable)FEATURE(domaintable)FEATURE(masquerade_envelope)FEATURE(smrsh)FEATURE(dnsbl)FEATURE(dnsbl,': No such file or directory
/etc/mail/sendmail.cf: line 15: MAILER(local)MAILER(smtp): A= argument required
Warning: .cf file is out of date: sendmail 8.12.9p2 supports version 10, .cf file is version 0
No local mailer defined
QueueDirectory (Q) option must be set

My sendmail.cf
OSTYPE(freebsd)DOMAIN(generic)#define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
TRUST_AUTH_MECH(DIGEST-MD5 CRAM-MD5 PLAIN LOGIN)#define(`confDEF_AUTH_INFO', `/etc/mail/auth/auth-info')dnl
#define(`confDEF_USER_ID', `smmsp:smmsp')dnl
FEATURE(no_default_msa)DAEMON_OPTIONS(Port=smtp, Name=MTA)
DAEMON_OPTIONS(Port=587, Name=MSA, M=E)LOCAL_CONFIG
FEATURE(use_cw_file)FEATURE(use_ct_file)FEATURE(mailertable)FEATURE(access_db)FEATURE(virtusertable)FEATURE(domaintable)FEATURE(masquerade_envelope)$
MAILER(local)MAILER(smtp)

I'm running FreeBSD 4.9-RELEASE.

Why isn't my aliases file used?

Best Regards
Goran