Question about exim forwarding
- From: "Aaldijk Arno" <arno.aaldijk@xxxxxxxxx>
- Date: Mon, 27 Feb 2006 15:57:13 +0100
Hi,
My problem is that email forwarded by exim from root to my private email
address still shows "To: root@localhost" in its address header, instead
of To: "my.name@xxxxxxxxx" in its To: header. Because of this, some of
my emails do not get delivered.
How can I configure exim4 to make it work like that?
I am successfully using gmail as an smtp smarthost, as per the
instructions found here: http://wiki.debian.org/GmailAndExim4
I want all emails to root forwarded to my email address, and this works
only partially at the moment.
My /etc/aliases contains the following entry:
root: arno.aaldijk@xxxxxxxxx
My /etc/mailname contains:
localhost
This test mail: echo "my test" | mail -s "test message"
arno.aaldijk@xxxxxxxxx
Results in the following message: (domain names changed)
<...>
Received: from localhost ( [62.78.229.194])
by mx.domain.com with ESMTP id
l22sm36093nfc.2006.02.27.06.46.12;
Mon, 27 Feb 2006 06:46:12 -0800 (PST)
Received: from root by localhost with local (Exim 4.50)
id 1FDjda-0000Qb-1Z
for arno.aaldijk@xxxxxxxxx; Mon, 27 Feb 2006 16:46:10 +0200
To: arno.aaldijk@xxxxxxxxxx
Subject: test message
Message-Id: <E1FDjda-0000Qb-1Z@localhost>
<...>
If I send email like this:
echo "my test" | mail -s "test message" root
The message does in fact arrive at the destination, but looks like the
following (and triggers spam filters)
<...>
Received: from localhost ( [62.78.229.194])
by mx.gmail.com with ESMTP id
d2sm3352990nfe.2006.02.27.06.49.30;
Mon, 27 Feb 2006 06:49:31 -0800 (PST)
Received: from root by localhost with local (Exim 4.50)
id 1FDjgn-0000Ql-4n
for root@localhost; Mon, 27 Feb 2006 16:49:29 +0200
To: root@xxxxxxxxxxxxxxxx
Subject: test message
Message-Id: <E1FDjgn-0000Ql-4n@localhost>
<...>
Thanks for any help.
Arno Aaldijk
- Follow-Ups:
- Re: Question about exim forwarding
- From: anoop aryal
- Re: Question about exim forwarding
- Prev by Date: Re: Configuring inittab
- Next by Date: libsdl and qemu for linux
- Previous by thread: differences between libapr0 and libapr1?
- Next by thread: Re: Question about exim forwarding
- Index(es):
Relevant Pages
- Re: Outbound Mail Header
... After that I sent a test message but it is still laced with the fqdn. ...
Messages from root are often excluded from masquerading. ... will print the contents of
your 'E' class of exposed users. ... (comp.mail.sendmail) - Re: [SLE] Re: Postfix Null Client configuration
... > as root and sent a test message to root. ... The sendmail null client
hands ... The postfix null client tries to use the relay host ... (SuSE) - Re: Question about exim forwarding
... On Monday 27 February 2006 08:57 am, Aaldijk Arno wrote: ... My problem is that
email forwarded by exim from root to my private email ... Subject: test message
... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... (Debian-User) - Re: ERRPT and ERRLOG problem
... Re: ERRPT and ERRLOG problem ... Also check your root crontab file to
see what your cleanup procedures are. ... # errlogger 'test message' ... OPERATOR
NOTIFICATION ... (AIX-L) - Re: Konsole ls colors when root
... running as bittwister and su - root ... konqueror is hashed ...
Usuall kinds of errors when I su and run kde apps an xterm follow: ... kio: ERROR: Header
has invalid size ... (alt.os.linux)