[Pkg-exim4-users] exim seems to ignore /etc/email-addresses

Bernd Schoebel Bernd.Schoebel at phil.stud.uni-erlangen.de
Sat May 26 13:12:47 UTC 2007


Hello Marc,


On Sat, May 26, 2007 at 02:11:19PM +0200, Marc Haber wrote:
> On Sat, May 26, 2007 at 01:51:28PM +0200, Bernd Schoebel wrote:
> > I wrote a message with mutt to my other email
> > bernd.schoebel at phil.stud.uni-erlangen.de. But it was rejected because
> > exim tried to send it as lix at gmx.de which is not the correct address. It
> > should have used my.email at gmx.de. The gmx SMTP-Server claimed that it
> > was a differnet loggedin user.
> 
> Can you reproduce this by piping a message (or even a single line) to
> exim?
> 
Okay I tried that. But I only can do it with debugging output while I am
root. So I created a new  line in /etc/email-addresses
'root: my.email at gmx.de'
Othwerwiese I get 'exim: debugging permission denied'.


> For me, it seems to work:
> $ cat /etc/email-addresses
> mh: local.test at zugschlus.de
> $ echo foo | exim -d-all+rewrite mh+debian-packages at zugschlus.de
> <debug output deleted>
> 
> Log entries:
> 2007-05-26 14:06:10 1Hrv2A-0004LI-K9 <= local.test at zugschlus.de U=mh P=local S=336
> 2007-05-26 14:09:41 1Hrv2A-0004LI-K9 => mh+debian-packages at zugschlus.de R=smarthost T=remote_smtp_smarthost H=torres.zugschlus.de [85.214.68.41] X=TLS-1.0:RSA_AES_256_CBC_SHA1:32 DN="C=DE,L=Mannheim,CN=torres.zugschlus.de (exim4 E-Mail System),EMAIL=mh\+torres.zugschlus.de-exim-tls-cert at zugschlus.de"
> 2007-05-26 14:09:41 1Hrv2A-0004LI-K9 Completed
> 
> I'd like to see your Debug output.
> 
Here it comes:

------------------------------------------------------------------------
Exim version 4.63 uid=0 gid=0 pid=22094 D=1000000
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00189001
cwd=/root 3 args: exim -d-all+rewrite bernd.schoebel at phil.stud.uni-erlangen.de
trusted user
admin user
rewritten sender = root at Hugo
rewrite_one_header: type=F:
  From: root <root at Hugo>
LOG: MAIN
  <= root at Hugo U=root P=local S=295
>>>>>>>>>>>>>>>> Exim pid=22094 terminating with rc=0 >>>>>>>>>>>>>>>>
Hugo:~# Exim version 4.63 uid=102 gid=103 pid=22095 D=1000000
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00189001
cwd=/var/spool/exim4 4 args: /usr/sbin/exim4 -d=0x1000000 -Mc 1Hrvqh-0005kM-5S
trusted user
admin user
R: smarthost for bernd.schoebel at phil.stud.uni-erlangen.de
T: remote_smtp_smarthost for bernd.schoebel at phil.stud.uni-erlangen.de
LOG: MAIN
  ** bernd.schoebel at phil.stud.uni-erlangen.de R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL FROM:<root at gmx.net> SIZE=1327 AUTH=root at Hugo: host mail.gmx.net [213.165.64.21]: 550 5.7.1 Sorry, your envelope sender has been denied ( http://portal.gmx.net/serverrules ) {mp020}
Exim version 4.63 uid=102 gid=103 pid=22097 D=1000000
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00189001
cwd=/var/spool/exim4 8 args: /usr/sbin/exim4 -d=0x1000000 -t -oem -oi -f <> -E1Hrvqh-0005kM-5S
trusted user
admin user
rewrite_one_header: type=F:
  From: Mail Delivery System <Mailer-Daemon at Hugo>
rewrite_one_header: type=T:
  To: root at Hugo
LOG: MAIN
  <= <> R=1Hrvqh-0005kM-5S U=Debian-exim P=local S=1318
>>>>>>>>>>>>>>>> Exim pid=22097 terminating with rc=0 >>>>>>>>>>>>>>>>
LOG: MAIN
  Completed
>>>>>>>>>>>>>>>> Exim pid=22095 terminating with rc=0 >>>>>>>>>>>>>>>>
Exim version 4.63 uid=102 gid=103 pid=22098 D=1000000
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00189001
cwd=/var/spool/exim4 4 args: /usr/sbin/exim4 -d=0x1000000 -Mc 1Hrvqi-0005kP-Sn
trusted user
admin user
R: system_aliases for root at hermodr
R: system_aliases for lix at hermodr
R: userforward for lix at hermodr
R: procmail for lix at hermodr
R: maildrop for lix at hermodr
R: local_user for lix at hermodr
T: appendfile for lix at hermodr
LOG: MAIN
  => lix <root at Hugo> R=local_user T=mail_spool
LOG: MAIN
  Completed
>>>>>>>>>>>>>>>> Exim pid=22098 terminating with rc=0 >>>>>>>>>>>>>>>>
------------------------------------------------------------------------


I noticed that the domain is also not right it should be @gmx.de but it
actually is @gmx.net.

Bye
   Bernd



More information about the Pkg-exim4-users mailing list