Bug#305569: cannot get exim4-config to generate a config that uses /etc/email-addresses

Wim De Smet Wim De Smet <fragmeat@yucom.be>, 305569@bugs.debian.org
Sun, 24 Apr 2005 19:37:57 +0200


This is a multi-part message in MIME format.
--------------020307070807090406010905
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

>  On Thu, Apr 21, 2005 at 10:39:02PM +0200, Wim De Smet wrote:
> > I'm confused to what is happening. I changed some things:
> > dc_other_hostnames='Orion'
>
>  I'd put in the FQDN.

It's just the local hostname as returned by hostname --fqdn. I dunno 
what else I should write.

>
> > So firstly, rewriting is not happening for the local hostname, and
> > secondly even when it does work, it doesn't really. Something
> > seems to be rewriting it afterwards again.
>
>  Is debugging output (add -d) helpful?

Not quite sure how I would go about setting that with the deamon. I 
included the output I get when trying the rewriting rules in debug mode. 
Perhaps it will tell you all you need to know.

>
>  Greetings Marc

Thanks for your help,
Wim


--------------020307070807090406010905
Content-Type: text/plain;
 name="rewriteoutput"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="rewriteoutput"

Exim version 4.50 uid=0 gid=0 pid=4150 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 GnuTLS
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
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=4150
  auxiliary group list: <none>
configuration file is /var/lib/exim4/config.autogenerated
log selectors = ffffffff 7fffffff
LOG: MAIN
  cwd=/root 4 args: exim4 -d -brw kromagg@localhost
trusted user
admin user
changed uid/gid: privilege not needed
  uid=108 gid=108 pid=4150
  auxiliary group list: <none>
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
address match: subject=kromagg@localhost pattern=*@+local_domains
localhost in "@:localhost:Orion"? yes (matched "localhost")
localhost in "+local_domains"? yes (matched "+local_domains")
kromagg@localhost in "*@+local_domains"? yes (matched "*@+local_domains")
search_open: lsearch "/etc/email-addresses"
search_find: file="/etc/email-addresses"
  key="kromagg" partial=-1 affix=NULL starflags=0
LRU list:
  :/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="kromagg"
file lookup required for kromagg
  in /etc/email-addresses
lookup yielded: wdesmet@yucom.be
LOG: address_rewrite MAIN
  "kromagg@localhost" from sender: rewritten as "wdesmet@yucom.be" by rule 1
address match: subject=wdesmet@yucom.be pattern=*@Orion
yucom.be in "Orion"? no (end of list)
wdesmet@yucom.be in "*@Orion"? no (end of list)
address match: subject=kromagg@localhost pattern=*@+local_domains
localhost in "@:localhost:Orion"? yes (matched "localhost")
localhost in "+local_domains"? yes (matched "+local_domains")
kromagg@localhost in "*@+local_domains"? yes (matched "*@+local_domains")
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="kromagg" partial=-1 affix=NULL starflags=0
LRU list:
  :/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="kromagg"
cached data used for lookup of kromagg
  in /etc/email-addresses
lookup yielded: wdesmet@yucom.be
LOG: address_rewrite MAIN
  "kromagg@localhost" from from: rewritten as "wdesmet@yucom.be" by rule 1
address match: subject=wdesmet@yucom.be pattern=*@Orion
yucom.be in "Orion"? no (end of list)
wdesmet@yucom.be in "*@Orion"? no (end of list)
address match: subject=kromagg@localhost pattern=*@+local_domains
localhost in "@:localhost:Orion"? yes (matched "localhost")
localhost in "+local_domains"? yes (matched "+local_domains")
kromagg@localhost in "*@+local_domains"? yes (matched "*@+local_domains")
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="kromagg" partial=-1 affix=NULL starflags=0
LRU list:
  :/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="kromagg"
cached data used for lookup of kromagg
  in /etc/email-addresses
lookup yielded: wdesmet@yucom.be
LOG: address_rewrite MAIN
  "kromagg@localhost" from reply-to: rewritten as "wdesmet@yucom.be" by rule 1
address match: subject=wdesmet@yucom.be pattern=*@Orion
yucom.be in "Orion"? no (end of list)
wdesmet@yucom.be in "*@Orion"? no (end of list)
address match: subject=kromagg@localhost pattern=*@+local_domains
localhost in "@:localhost:Orion"? yes (matched "localhost")
localhost in "+local_domains"? yes (matched "+local_domains")
kromagg@localhost in "*@+local_domains"? yes (matched "*@+local_domains")
search_open: lsearch "/etc/email-addresses"
  cached open
search_find: file="/etc/email-addresses"
  key="kromagg" partial=-1 affix=NULL starflags=0
LRU list:
  :/etc/email-addresses
  End
internal_search_find: file="/etc/email-addresses"
  type=lsearch key="kromagg"
cached data used for lookup of kromagg
  in /etc/email-addresses
lookup yielded: wdesmet@yucom.be
LOG: address_rewrite MAIN
  "kromagg@localhost" from env-from rewritten as "wdesmet@yucom.be" by rule 1
address match: subject=wdesmet@yucom.be pattern=*@Orion
yucom.be in "Orion"? no (end of list)
wdesmet@yucom.be in "*@Orion"? no (end of list)
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=4150 terminating with rc=0 >>>>>>>>>>>>>>>>
  sender: wdesmet@yucom.be
    from: wdesmet@yucom.be
      to: kromagg@localhost
      cc: kromagg@localhost
     bcc: kromagg@localhost
reply-to: wdesmet@yucom.be
env-from: wdesmet@yucom.be
  env-to: kromagg@localhost

--------------020307070807090406010905--