amavis jeste jednou

Zdeněk Kolařík zkolarik at miastudio.cz
Fri Nov 2 15:14:30 CET 2007


Jaroslav Votruba napsal(a):
> Nov  2 14:38:02 www postfix/qmgr[18453]: warning: connect to transport
> smtp-amavis: Connection refused
>
> nekdo mi tu jednou radil do master.cf napsat smtp-amavis misto
> amavis.Bohuzel to mi nezabira, 
jmeno muze byt libovolne, ale musi byt stejne v main.cf i v master.cf

Musim odjet, takze zbezny dojem:
Pravdepodobne je problem v konfiguraci Amavisu.
Takhle je to funkcni:

=========
amavisd.conf:
=========
# Komunikace Postfix -> Amavis
##############################
$inet_socket_port = 10024;   # listen on this local TCP port(s) (see
$protocol)
$inet_socket_bind = '127.0.0.1';
@inet_acl = qw( 127.0.0.1 );
@local_domains_acl = ( ".$mydomain" );
$unix_socketname = "/var/amavis/amavisd.sock";  # amavisd-release or
amavis-milter
.......
# Komunikace Amavis->Postfix
#############################
$notify_method  = 'smtp:[127.0.0.1]:10025';
$forward_method = $notify_method;  # set to undef with milter!

==========
Vypis sockstat:
==========
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
postfix  smtpd      15766 6  tcp4   127.0.0.1:10025       *:*
postfix  smtpd      15753 6  tcp4   *:25                  *:*
vscan    perl5.8.8  15736 6  tcp4   127.0.0.1:10024       *:*
vscan    perl5.8.8  15363 6  tcp4   127.0.0.1:10024       *:*
root     master     824   11 tcp4   *:25                  *:*
root     master     824   90 tcp4   127.0.0.1:10025       *:*
vscan    perl5.8.8  717   6  tcp4   127.0.0.1:10024       *:*

-- 
Zdeněk




More information about the Users-l mailing list