deferred transport - PLEASE HELP
Jacques Caruso
jacques at MONACO.NET
Tue Jan 6 15:58:41 GMT 2004
Le Mardi 06 Janvier 2004 16:06, Alexander Endl a écrit :
> Jan 6 15:53:27 creative postfix/qmgr[3208]: 4CC442CC0B2: to=<web4p1 at creative.webdemo24.de>, orig_to=<ls at CREATIVE-WEBNET.DE>, relay =none, delay=0, status=deferred (deferred transport)
> Jan 6 15:53:27 creative postfix/smtpd[3474]: disconnect from smtp.jiscmail.ac.uk[130.246.192.48] Jan 6 15:53:31 creative postfix/postfix-script: starting the Postfix mail system
> Jan 6 15:53:31 creative postfix/master[3547]: fatal: bind INADDR_ANY port 465: Address already in use
Not sure if this is a showstopper, but you should fix this anyway : your
incoming Postfix seems to listen on SMTPS (port 465), and the
corresponding entry hasn't been disabled on the outgoing instance's
master.cf. See below.
> Jan 6 15:54:01 creative postfix/trivial-rewrite[3268]: warning: do not list domain webdemo24.de in BOTH mydestination and virtual_alias_domains
Another unrelated problem, but I'd advise you to make sure all these
problems are ironed out, so they don't confuse the situation to solve
this, remove the domain from either $mydestination or
$virtual_alias_domains as indicated.
> Incoming Queue Dir = /var/spool/postfix.in/deferred
OK.
> Outgoing Queue Dir = /var/spool/postfix/incoming
OK.
> MTA = postfix
Fine, OK.
> and at least the /etc/Postfix/master.cf
>
> # (yes) (yes) (yes) (never) (50)
> #
> ==========================================================================
> #smtp inet n - n - - smtpd
> smtps inet n - n - - smtpd # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
You should comment that line to solve the problem indicated before. Only
the incoming instance should be listening to the network.
> look here (/etc/postfix.in/main.cf):
>
> defer_transports = smtp local virtual relay
>
>
> # Global Postfix configuration file. This file lists only a subset
> # of all 100+ parameters. See the sample-xxx.cf files for a full list.
> [SNIP]
> # environments on different UNIX systems.
>
> queue_directory = /var/spool/postfix
Is this also in /etc/postfix.in/main.cf ? If so, it should read
/var/spool/postfix.in there.
> So what goes flase; what I must do that you can help me exactly....
Try these commands, you should get values like these :
[root at sceuzi][~]# postconf -c /etc/postfix defer_transports queue_directory
defer_transports =
queue_directory = /var/spool/postfix
[root at sceuzi][~]# postconf -c /etc/postfix/postfix.in defer_transports queue_directory
defer_transports = smtp local virtual relay
queue_directory = /var/spool/postfix.in
Is that OK ? If it is, check that your two instances of Postfix are running :
[root at sceuzi][~]# ps aux | grep 'postfix/master'
root 30480 0.2 0.2 2804 952 ? S 14:25 0:15 /usr/lib/postfix/master
root 31091 0.1 0.2 2804 936 ? S 14:25 0:08 /usr/lib/postfix/master
If not, try to start them :
postfix -c /etc/postfix start
postfix -c /etc/postfix.in start
and look for errors like the ones indicated in your log (you can esaily
make a special init.d/postfix.in afterwards to have the two instances
start automatically). When the two Postfixes are running, launch
MailScanner (I don't what distro you're using, on Debian, it amounts to
an /etc/init.d/mailscanner start, but you can just run
'check_mailscanner'), and look if it starts :
[root at sceuzi][~]# ps aux | grep MailScan
postfix 20926 0.0 0.5 16996 2020 ? SN 13:50 0:00 /usr/bin/perl -I/usr/share/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
postfix 20927 2.9 4.3 35132 16812 ? SN 13:50 5:29 /usr/bin/perl -I/usr/share/MailScanner /usr/sbin/MailScanner /etc/MailScanner/MailScanner.conf
[...]
If it does, then you're all set. Also make sure you /var/spool/postfix*
are chown and chgrp postfix, ditto for /var/spool/MailScanner, and that
MS is running under the right UID/GID :
Run As User = postfix
Run As Group = postfix
HTH !
Greets,
--
[ Jacques Caruso <jacques at monaco.net> Développeur PHP ]
[ Monaco Internet http://monaco-internet.mc/ ]
[ Tél : (+377) 93 10 00 43 Clé PGP : 0x41F5C63D ]
[ -*- Quand le doigt montre la lune, l'imbécile regarde le doigt -*- ]
More information about the MailScanner
mailing list