deferred transport - PLEASE HELP

Drew Marshall drew at THEMARSHALLS.CO.UK
Tue Jan 6 17:11:29 GMT 2004


>>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.
>
> How and where this works???
Check *both* main.cf files
>
>
>>> 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.
>
> This is O.K. in my /etc/postfix/master.cf!!!!!!!!!!!!!!
>
>
>>
>>> 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.
>
> This I Changed now!!!
>
>
>
>
>>> 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 :
>
> THIS IS ALSO O.K.!!!!!!!!!!!!!!!
>
>
>>
>>[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 I DO THIS - The Result is:
>
> creative:/etc/postfix.in # ps aux | grep 'postfix/master'
> root       548  0.0  0.5  4444 1444 ?        S    16:55
> 0:00 /usr/lib/postfix/master
> creative:/etc/postfix.in #
>
>
> I TRY postfix -c /etc/postfix.in start
>
> AND THE RESULT IS:
>
> creative:/etc/postfix.in # postfix -c /etc/postfix.in start
> postfix/postfix-script: fatal: the Postfix mail system is already running
> creative:/etc/postfix.in #

Stop both instances and start again:
# postfix -c /etc/postfix.in stop
# postfix -c /etc/postfix stop

and then same with start at the end.
>
>
>
>>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

Try /path to/MailScanner/bin/check_mailscanner

This should start MS (Or report that it is running already. This being the
case kill the first process ID and run the above command again)
>>[...]
>>
>>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  -*- ]
>
>
> So I think its not a big deal for You - but i dont know what to do???
>
> Please help and read the commenty by me between Your answer!!!
>
> Thx Alex....
>

Good luck

Drew




More information about the MailScanner mailing list