Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th September 2009, 15:56
MrM MrM is offline
Member
 
Join Date: Oct 2008
Location: Ljubljana, Slovenia
Posts: 58
Thanks: 6
Thanked 0 Times in 0 Posts
Question Mail forwarding not working

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:
Code:
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?
Reply With Quote
Sponsored Links
  #2  
Old 17th September 2009, 16:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
Default

The destination email address is mentioned in the log, it is: forwarded@address and this address is on the local mail system.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th September 2009, 21:31
MrM MrM is offline
Member
 
Join Date: Oct 2008
Location: Ljubljana, Slovenia
Posts: 58
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
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.
Reply With Quote
  #4  
Old 22nd September 2009, 22:19
MrM MrM is offline
Member
 
Join Date: Oct 2008
Location: Ljubljana, Slovenia
Posts: 58
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Anyone?

If I need to provide more information, just tell me what, and I will.
Reply With Quote
  #5  
Old 25th September 2009, 13:24
splattner splattner is offline
Junior Member
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

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:

Quote:
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

Quote:
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
Reply With Quote
  #6  
Old 25th September 2009, 14:41
splattner splattner is offline
Junior Member
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

solved!

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

Quote:
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? =)
Reply With Quote
The Following User Says Thank You to splattner For This Useful Post:
MrM (25th September 2009)
  #7  
Old 25th September 2009, 14:49
MrM MrM is offline
Member
 
Join Date: Oct 2008
Location: Ljubljana, Slovenia
Posts: 58
Thanks: 6
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by splattner View Post
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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 09:58
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
CentoS doesn't send the emails vaio1 Installation/Configuration 18 5th November 2008 17:51
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16


All times are GMT +2. The time now is 17:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.