[exim] Rewrite From

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Klassen Torben (Gem. Leopoldshöhe)
Data:  
Para: exim-users
Assunto: [exim] Rewrite From
Hello togehter,
Im sitting here for days now and I dont get along with my simple setup. I have a Debian Etch Server that should be able to send Mails to my ExternalAddress. I have no local mailserver in here so that I want to use the Mailserver of my ISP as a smarthost.

Here is my config:

grep -v "#" /etc/exim4/update-exim4.conf.conf

dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='true'
dc_relay_nets=''
dc_smarthost='MAILSERVER::587'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

And my /etc/email-addresses

grep -v "#" /etc/email-addresses
root:user@???

Now when I try to send an email as root I get the following log entries:

2008-11-04 14:40:15 1KxM8l-0001UL-9e <= root@User@??? U=root P=local S=397
2008-11-04 14:40:16 1KxM8l-0001UL-9e => MYAddress R=smarthost T=remote_smtp_smarthost H=MAILSERVER [IP] X=SSL 3.0:RSA_AES_256_CBC_SHA1:32 DN="C=DE,ST=#67,L=,O=Provider.org GbR,CN=*.Providerorg"
2008-11-04 14:40:16 1KxM8l-0001UL-9e Completed

The Problem is that exim sends this mail as root@User@??? and don´t uses the /etc/email-addresses entry as it should.

I know that I have made a mistake, but please give me a hint what kind of :).


Greetings