[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bounced et postfix



Bonjour,

j'ai une passerelle de messagerie avec le trio postfix/amavis/spamassassin
Ca fonctionne plutôt bien sauf que lorsqu'un spam est detecté postfix envoie un mail au spammeur (et dans 99.9% des cas..peine perdue)

postfix/smtp[16659]: 582F01715D: to=<wgywy@qwick.net>, relay=qwick.net[216.168.224.63], delay=10, status=deferred (host qwick.net[216.168.224.63] refused to talk to me: 421 SMTP service not available, closing transmission channel

et

postfix/smtp[16651]: B3EDE1715C: to=<vrai_adresse@mon_vrai_domaine.fr>, relay=127.0.0.1[127.0.0.1], delay=3, status=bounced (host 127.0.0.1[127.0.0.1] said: 550 5.7.1 Message content rejected, UBE, id=16389-06 (in reply to end of DATA command))

Cote main.cf ca se presente comme ca :
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname = octopus.spicom.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
relay_domains = mondomaine.fr
mynetworks = 127.0.0.0/8, xxx.xxx.xxx.xxx/29, xxx.xxx.xxx.xxx/24
transport_maps = hash:/etc/postfix/transport
content_filter = smtp-amavis:[127.0.0.1]:10024
#check_policy_service inet:127.0.0.1:10023
smtpd_helo_required = yes
disable_vrfy_command = yes
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, reject_unauth_pipelining
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination


et coté amavis :
$final_virus_destiny      = D_DISCARD; # (defaults to D_BOUNCE)
$final_banned_destiny     = D_BOUNCE;  # (defaults to D_BOUNCE)
$final_spam_destiny       = D_REJECT;  # (defaults to D_REJECT)
$final_bad_header_destiny = D_PASS; # (defaults to D_PASS), D_BOUNCE suggeste


Merci d'votre aide

Aurélien




Reply to: