|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
[long] Debian - Postfix 2.2.2 - MailScanner problem
From: Francesco Consumi (francesco
famigliaconsumi.it)
Date: Tue May 03 2005 - 05:02:26 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
I've some server with Debian 3.1, Postfix 2.1.5-9, MailScanner 4.41,
SpamAssassin 3.0.2-1 and ClamAV 0.84-1.
I configured these servers as suggested by MailScanner configuration:
with two instances of postfix, for in and out, and MailScanner sitting
between two that checks emails.
Here is /etc/postfix/main.cf:
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
myhostname = nelson.xxxxx.xx
alias_maps = mysql:/etc/postfix/alias-maps.cf
myorigin = /etc/mailname
mydestination = xxxx.xx, localhost, localhost.localdomain, localhost
relayhost =
mynetworks = 192.160.0.0/24 xxxxxxxx
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
virtual_maps=mysql:/etc/postfix/virtual_maps.cf
home_mailbox=Maildir/
and /etc/postfix.in/main.cf:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
defer_transports = smtp local virtual relay
append_dot_mydomain = no
myhostname = nelson.xxxx.xx
alias_maps = mysql:/etc/postfix/alias-maps.cf
myorigin = /etc/mailname
mydestination = xxxx.xx, localhost, localhost.localdomain, localhost
relayhost =
mynetworks = 192.160.0.0/24 xxxx.xx
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
queue_directory = /var/spool/postfix.in
virtual_maps=mysql:/etc/postfix/virtual_maps.cf
home_mailbox=Maildir/
The only difference between two master.cf files is
#smtp inet n - - - - smtpd
that row commented in /etc/postfix/ and active in /etc/postfix.in
MailScanner configuration has these two paths:
Incoming Queue Dir = /var/spool/postfix.in/deferred
Outgoing Queue Dir = /var/spool/postfix/incoming
This setup works very well in all of my server with Postfix 2.1.5-9.
My problem raises when I try to upgrade Postfix to 2.2.2
the email are scanned, but no more delivered to destination mailbox.
Here is an example of log:
May 3 09:56:18 nelson postfix/qmgr[24140]: 1C57718B:
from=<consumi
emozionifotografiche.it>, size=899, nrcpt=1 (queue active)
May 3 09:56:18 nelson postfix/smtpd[24146]: disconnect from
unknown[212.19.103.170]
May 3 09:56:18 nelson postfix/qmgr[24140]: 1C57718B:
to=<info
zacsoft.it>, orig_to=<consumi
xxxx.xx>, relay=none, delay=1,
status=deferred (delivery temporarily suspended: deferred transport)
May 3 09:56:21 nelson MailScanner[23490]: New Batch: Scanning 1
messages, 1186 bytes
May 3 09:56:21 nelson MailScanner[23490]: Virus and Content Scanning:
Starting
May 3 09:56:22 nelson MailScanner[23490]: Requeue: 1C57718B.AEB9C to
8697B450
May 3 09:56:22 nelson postfix/qmgr[24050]: 8697B450:
from=<consumi
emozionifotografiche.it>, size=951, nrcpt=1 (queue active)
May 3 09:56:22 nelson MailScanner[23490]: Uninfected: Delivered 1 messages
May 3 09:56:24 nelson postfix/smtp[24169]: 8697B450:
to=<info
zacsoft.it>, orig_to=<consumi
xxxx.xx>,
relay=mail.zacsoft.it[212.19.103.170], delay=7, status=sent (250 Ok:
queued as 4AC92267)
-- with Postfix 2.2.2, this last row is not anymore shown, and the mail
is not delivered:
May 3 09:56:24 nelson postfix/qmgr[24050]: 8697B450: removed
ideas ?
thanks
--
Francesco Consumi
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]