Killing amavis

This is a discussion on Killing amavis within the mailing.postfix.users forums, part of the Mail Servers and Related category; I am troubleshooting a problem with Amavisd and since it won't run right now I have removed the entries ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-07-2005
Andre Sourdiffe
 
Posts: n/a
Default Killing amavis

I am troubleshooting a problem with Amavisd and since it won't run right
now I have removed the entries that would send mail through it. I keep
getting errors, one a minute, telling me :" warning: connect to
transport smtp-amavis: Connection refused." My email seems to be coming
through but I worry about that error. Can someone tell how to cure that?
I did run postsuper -r ALL hoping that would help but it didn't. Here is
my postconf -n

biff = no
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
local_recipient_maps =
local_transport = no local mail delivery
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
maximal_queue_lifetime = 1d
message_size_limit = 1000000000
mydestination = mydomain.com1, mydomain.com2
myhostname = filter.mydomain.com1
mynetworks = 192.168.0.0/24
myorigin = frlcpa.com
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_authorized_xclient_hosts = 192.168.0.0/24
smtpd_banner = mail.fiskreedlove.com
smtpd_client_restrictions = check_client_access
cidr:/etc/postfix/client.cidr
permitta_restrictions = reject_unauth_pipelining,
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_re permit_rbl_client korea.blackholes.us,s.us,0.3,_list
smtpd_sender_restrictions =
soft_bounce = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550


I know the following are probably redundant but I include them in case
there is useful troubleshooting info in them.
My master.cf:

#
================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
#
================================================== ========================
smtp inet n - y - - smtpd
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
#628 inet n - n - - qmqpd
pickup fifo n - y 60 1 pickup
cleanup unix n - y - 0 cleanup
qmgr fifo n - y 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
rewrite unix - - y - -
trivial-rewrite
bounce unix - - y - 0 bounce
defer unix - - y - 0 bounce
trace unix - - y - 0 bounce
verify unix - - y - 1 verify
flush unix n - y 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - y - - smtp
relay unix - - y - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - y - - showq
error unix - - y - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - y - - lmtp
anvil unix - - n - 1 anvil
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension}
${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus unix - n n - - pipe
user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension}
${user}
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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient

and my main.cf:

readme_directory = no myorigin = mydomain.com1
myhostname = filter.mydomain.com1 mydestination = mydomain.com1
,mydomain.com2 mynetworks = 192.168.0.0/24 biff = no smtpd_banner =
mail.mydomain.com2 # rem content_filter = smtp-amavis:[127.0.0.1]:10024
message_size_limit = 1000000000 local_transport = no local mail
delivery transport_maps = hash:/etc/postfix/transport
smtpd_helo_required = yes smtpd_helo_restrictions =
smtpd_sender_restrictions = disable_vrfy_command = yes
smtpd_client_restrictions = check_client_access
cidr:/etc/postfix/client.cidr
smtpd_authorized_xclient_hosts=192.168.0.0/24
smtpd_recipient_restrictions = permit_mynetworks,
reject_invalid_hostname, reject_non_fqdn_sender,
reject_non_fqdn_recipient, reject_unknown_sender_domain,
reject_unknown_recipient_domain, reject_unauth_destination,
check_client_access hash:/etc/postfix/rbl_white_list
check_client_access hash:/etc/postfix/access reject_rbl_client
bl.spamcop.net, reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client combined.njabl.org=127.0.0.3,
reject_rbl_client china.blackholes.us, reject_rbl_client
wanadoo-fr.blackholes.us, reject_rbl_client
korea.blackholes.us, permit smtpd_data_restrictions =
reject_unauth_pipelining, permit header_checks =
regexp:/etc/postfix/header_checks body_checks =
regexp:/etc/postfix/body_checks html_directory = no

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:25 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0