HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Multiserver Environment - Debian, Postfix, ISPConfig3 (http://www.howtoforge.com/forums/showthread.php?t=52559)

erosbk 5th May 2011 07:31

Multiserver Environment - Debian, Postfix, ISPConfig3
 
Hello,

I have a little problem with ISPConfig3 and Postfix in a multiserver environment. I will try to explain...

When I create a new mailbox, a welcome mail is delivered. Ok, in multiserver it is not working (I think it is a setting problem, but it could be a bug of ISPConfig3...)

When you create a new mailbox in mailserver, webserver try to send a "welcome mail" using postfix in webserver (next, it will be relay the mail to mailserver). This is what I can see in log file:

Code:

May  5 01:26:37 web1 postfix/qmgr[6480]: AF55C2049C: from=<www-data@web1.tectest.com.ar>, size=526, nrcpt=1 (queue active)
May  5 01:26:37 web1 postfix/smtp[6650]: AF55C2049C: to=<x3@test.com.ar>, relay=192.168.1.203[192.168.1.203]:25, delay=0.19, delays=0.11/0/0/0.07, dsn=5.1.1, status=bounced (host 192.168.1.203[192.168.1.203] said: 550 5.1.1 <x3@test.com.ar>: Recipient address rejected: User unknown in virtual mailbox table (in reply to RCPT TO command))

If I stop postfix on mailserver, and start it after a few minutes, this are the log lines:

Code:

May  5 01:06:18 web1 postfix/pickup[13049]: A04E72049E: uid=33 from=<www-data>
May  5 01:06:18 web1 postfix/cleanup[5501]: A04E72049E: message-id=<20110505040618.A04E72049E@web1.tectest.com.ar>
May  5 01:06:18 web1 postfix/qmgr[13050]: A04E72049E: from=<www-data@web1.tectest.com.ar>, size=526, nrcpt=1 (queue active)
May  5 01:06:18 web1 postfix/smtp[5503]: connect to 192.168.1.203[192.168.1.203]:25: Connection refused
May  5 01:06:18 web1 postfix/smtp[5503]: A04E72049E: to=<x2@test.com.ar>, relay=none, delay=0.11, delays=0.1/0/0/0, dsn=4.4.1, status=deferred (connect to 192.168.1.203[192.168.1.203]:25: Connection refused)

When I start postfix on mail server... this is what happen:

Code:

May  5 01:13:46 web1 postfix/smtp[5715]: A04E72049E: to=<x2@test.com.ar>, relay=192.168.1.203[192.168.1.203]:25, delay=448, delays=448/0.01/0.02/0.1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B83D4235D0)
May  5 01:13:46 web1 postfix/qmgr[13050]: A04E72049E: removed

Of course, the mail was delivered to x2@test.com.ar

I think that ISPConfig3 is trying to send the welcome email BEFORE the vmailbox is created. So, as the mailbox doesn't exist, the mail is "removed" instead of being queued for delivery after...

Could you help me please? do I have to fill a bugtrack for this? Do I have a conf problem? :P

Thank you in advance

erosbk 9th May 2011 02:12

Someone knows a workaround for this?


All times are GMT +2. The time now is 14:13.

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