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

Bounce et postfix



Bonjour,

J'utilise sur une passerelle de messagerie le trio postfix, amavis et spamassassin. Je n'arrive pas à faire en sorte qu'un spammeur bloqué ne soit pas averti que son message a été rejeté et ca concerne 99.9% des spams bloqués..
Que dois-je faire pour eviter de postfix envoie des mails à des inconnus..?
Merci de votre aide
Aurélien

dans les logs :

postfix/smtp[16965]: 1F19F17151: to=<prenom.nom@mondomaine.fr>, relay=127.0.0.1[127.0.0.1], delay=7, status=bounced (host 127.0.0.1[127.0.0.1] said: 550 5.7.1 Message content rejected, UBE, id=16854-04 (in reply to end of DATA command))

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

Pour vous eclairer, voici le main.cf

# 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.mondomaine.fr
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 amavisd.conf
$final_virus_destiny      = D_DISCARD; # (defaults to D_BOUNCE)
$final_banned_destiny     = D_DISCARD;  # (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 suggested

Notify virus sender?
#$warnvirussender = 1;	# (defaults to false (undef))

# Notify spam sender?
$warnspamsender = 0;	# (defaults to false (undef))

# Notify sender of banned files?
$warnbannedsender = 1;	# (defaults to false (undef))

# Notify sender of syntactically invalid header containing non-ASCII characters?
#$warnbadhsender = 1;	# (defaults to false (undef))

# Notify virus (or banned files) RECIPIENT?
#  (not very useful, but some policies demand it)
$warnvirusrecip = 1;		# (defaults to false (undef))
$warnbannedrecip = 1;	# (defaults to false (undef))




Reply to: