PDA

View Full Version : Mail forwarding not working


MrM
17th September 2009, 16:56
Hi,

I have set up an e-mail forward in ISPConfig 3.0.1.3 under Email > Email Accounts > Email Forward, but it doesn't seem to work (i.e. I never receive the message to the destination address).

This is what I see in the logs, after sending a test e-mail:
Sep 17 15:24:41 prod postfix/smtpd[13991]: C503A1CF1EA: client=mail-bw0-f206.google.com[209.85.218.206]
Sep 17 15:24:41 prod postfix/cleanup[14349]: C503A1CF1EA: message-id=<a04904e00909170624u385e9959hcbfb81b54cee8c27@mail. gmail.com>
Sep 17 15:24:41 prod postfix/qmgr[2245]: C503A1CF1EA: from=<from@address>, size=1781, nrcpt=1 (queue active)
Sep 17 15:24:41 prod postfix/pipe[14350]: C503A1CF1EA: to=<forwarded@address>, relay=maildrop, delay=0.24, delays=0.17/0.01/0/0.06, dsn=2.0.0, status=sent (delivered via maildrop service)
Sep 17 15:24:41 prod postfix/qmgr[2245]: C503A1CF1EA: removed

The destination address isn't even mentioned in the logs.

Courier, clamav and spamassassin are not running, only postfix is. The destination address is not local, it is hosted on Google Apps.

Any ideas why this isn't working?

till
17th September 2009, 17:26
The destination email address is mentioned in the log, it is: forwarded@address and this address is on the local mail system.

MrM
17th September 2009, 22:31
The destination email address is mentioned in the log, it is: forwarded@address and this address is on the local mail system.

It is neither mentioned nor local. There are three addresses in this process: the sender, the forwarded address and the final recipient. The sender is listed in the logs as "from@address", the forwarded address as "forwarded@address" and the final recipient is never even mentioned. Only the forwarded address is local, both the sender and final recipient are remote.

MrM
22nd September 2009, 23:19
Anyone?

If I need to provide more information, just tell me what, and I will.

splattner
25th September 2009, 14:24
same problem here

I Have one email domain "domain1.ch".
there is one email forward "webmaster@domain1.ch" to "mail@domain2.ch".

Here's my Mail log:


Sep 25 12:53:27 mail postfix/smtpd[19008]: connect from mail.externaldomain.ch[192.168.17.111]
Sep 25 12:53:27 mail postfix/smtpd[19008]: D79A3F7825D: client=mail.externaldomain.ch[192.168.17.111]
Sep 25 12:53:28 mail postfix/cleanup[19012]: D79A3F7825D: message-id=<4ABCA121.5070604@externaldomain.ch>
Sep 25 12:53:28 mail postfix/qmgr[18917]: D79A3F7825D: from=<mail@externaldomain.ch>, size=1491, nrcpt=1 (queue active)
Sep 25 12:53:28 mail postfix/smtpd[19008]: disconnect from mail.externaldomain.ch[192.168.17.111]
Sep 25 12:53:29 mail postfix/pipe[19013]: D79A3F7825D: to=<webmaster@domain1.ch>, relay=maildrop, delay=1.7, delays=0.97/0.03/0/0.69, dsn=2.0.0, status=sent (delivered via maildrop service)
Sep 25 12:53:29 mail postfix/qmgr[18917]: D79A3F7825D: removed



It gets delivered via maildrop instead of the forwarding to mail@domain2.ch.
And the mail ist in the /var/vmail/domain1.ch/webmaster Folder


postmap -q webmaster@domain1.ch proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf


returns the correct mail@domain2.ch Adress.

What's wrong? It's almost a standard setup of ISPconfig, I just removed the contentfilter because I use ASSP

splattner
25th September 2009, 15:41
solved!

Because I removed the content filter, there was a small Error.
make sure to remove also the:


receive_override_options = no_address_mappings


when not using the content filter (because there will be no adress mapping and therefore the forwardings aren't working)

allright? =)

MrM
25th September 2009, 15:49
solved!

Because I removed the content filter, there was a small Error.
make sure to remove also the:



when not using the content filter (because there will be no adress mapping and therefore the forwardings aren't working)

allright? =)

Thank you very much, splattner! That solved the problem for me too.