Al wrote:
> With a Debian Etch/Sid-system I use the versions below. With a similar
> configuration on another machine it works. I think I have a wrong
> configuration of the master.cf or/and the main.cf of postfix.
> Jan 27 15:23:50 client2 postfix/pickup[4571]: D00D84A035E: uid=0 from=<root>
> Jan 27 15:23:50 client2 postfix/cleanup[4819]: D00D84A035E:
> message-id=<[EMAIL PROTECTED]>
> Jan 27 15:23:50 client2 postfix/qmgr[4572]: D00D84A035E:
> from=<[EMAIL PROTECTED]>, size=460, nrcpt=1 (queue active)
> Jan 27 15:23:50 client2 postfix/smtp[4821]: connect to 127.0.0.1[127.0.0.1]:
> Connection refused (port 10024)
> Jan 27 15:23:50 client2 postfix/smtp[4821]: D00D84A035E:
> to=<[EMAIL PROTECTED]>, orig_to=<ab>, relay=none, delay=0,
> status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
> /etc/amavis/conf.d/50-user
> use strict;
> $mydomain = 'client2.local.FQDN';
> @local_domains_maps = ( [".$mydomain"] );
> $sa_tag_level_deflt = -22.0; # add spam info headers if at, or above that
> level
> $max_servers = 2; # number of pre-forked children (default 2)
> $max_requests = 20; # retire a child after that many accepts (default 10)
> $child_timeout=5*60; # abort child if it does not complete each task in
> 1; # insure a defined return
> postconf -n
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> append_dot_mydomain = no
> biff = no
> config_directory = /etc/postfix
> content_filter = smtp-amavis:[127.0.0.1]:10024
> inet_interfaces = all
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> mydestination = client2.local.FQDN, localhost.local.FQDN, localhost
> myhostname = client2.local.FQDN
> mynetworks = 127.0.0.0/8
> myorigin = /etc/mailname
> recipient_delimiter = +
> relayhost = smtp.local.FQDN
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
> /etc/postfix/master.cf
> smtp inet n - - - - smtpd
> pickup fifo n - - 60 1 pickup
> cleanup unix n - - - 0 cleanup
> qmgr fifo n - - 300 1 qmgr
> rewrite unix - - - - - trivial-rewrite
> bounce unix - - - - 0 bounce
> defer unix - - - - 0 bounce
> trace unix - - - - 0 bounce
> verify unix - - - - 1 verify
> flush unix n - - 1000? 0 flush
> proxymap unix - - n - - proxymap
> smtp unix - - - - - smtp
> relay unix - - - - - smtp
> showq unix n - - - - showq
> error unix - - - - - error
> local unix - n n - - local
> virtual unix - n n - - virtual
> lmtp unix - - n - - lmtp
> anvil unix - - n - 1 anvil
> maildrop unix - n n - - pipe
> flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
> uucp unix - n n - - pipe
> flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
> ($recipient)
> ifmail unix - n n - - pipe
> flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
> bsmtp unix - n n - - pipe
> flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender
> $recipient
> scalemail-backend unix - n n - 2 pipe
> flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
> ${nexthop} ${user} ${extension}
> tlsmgr unix - - - 1000? 1 tlsmgr
> scache unix - - - - 1 scache
> discard unix - - - - - discard
> smtp-amavis unix - - - - 2 smtp
> -o smtp_data_done_timeout=1200
> -o smtp_send_xforward_command=yes
> -o disable_dns_lookups=yes
> -o max_use=20
> 127.0.0.1:10025 inet n - - - - smtpd
> -o content_filter=
> -o local_recipient_maps=
> -o relay_recipient_maps=
> -o smtpd_restriction_classes=
> -o smtpd_delay_reject=no
> -o smtpd_client_restrictions=permit_mynetworks,reject
> -o smtpd_helo_restrictions=
> -o smtpd_sender_restrictions=
> -o smtpd_recipient_restrictions=permit_mynetworks,reject
> -o smtpd_data_restrictions=reject_unauth_pipelining
> -o smtpd_end_of_data_restrictions=
> -o mynetworks=127.0.0.0/8
> -o strict_rfc821_envelopes=yes
> -o smtpd_error_sleep_time=0
> -o smtpd_soft_error_limit=1001
> -o smtpd_hard_error_limit=1000
> -o smtpd_client_connection_count_limit=0
> -o smtpd_client_connection_rate_limit=0
> -o
> receive_override_options=no_header_body_checks,no_unknown_recipient_checks
> Al
This could simply be amavisd-new is not running. Is it?
also check:
# grep -r inet_socket_port /etc/amavis/conf.d/
it should show:
/etc/amavis/conf.d/20-debian_defaults:$inet_socket_port = 10024; # default
listenting socket
and:
# lsof -i | grep amavis
should show something like:
amavisd-n 1044 amavis 4u IPv4 2774 TCP localhost:10024 (LISTEN)
amavisd-n 1268 amavis 4u IPv4 2774 TCP localhost:10024 (LISTEN)
amavisd-n 1269 amavis 4u IPv4 2774 TCP localhost:10024 (LISTEN)
Gary V
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/