This is a discussion on Postfix doesn't reject... within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi all...(sorry for my spaghetti-english) A few days ago I have configured postfix with amavis-new(clamav) and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all...(sorry for my spaghetti-english)
A few days ago I have configured postfix with amavis-new(clamav) and dspam... Everything was ok when I tried to send an email to a recipient that the postfix system would have to be marked as unreliable... But postfix dont'rejects... this is a portion of my main.cf: #================================================= =========== smtpd_helo_restrictions = permit_mynetworks, reject_non_fqdn_hostname, reject_invalid_hostname # Nel file è contenuta una regexp sul contenuto del file mime_header_checks = regexp:/etc/postfix/body_checks relay_recipients_maps = hash:/etc/postfix/relay_recipients smtpd_recipient_restrictions = permit_mynetworks,reject_unknown_hostname,reject_u nauth_destination,reject_non_fqdn_recipient dspam_destination_recipient_limit = 1 dspam-add_destination_recipient_limit = 1 dspam-fp_destination_recipient_limit = 1 #================================================= =========== And this is the transport configuration in master.cf: #================================================= =========== # DSPAM-AMAVIS TRANSPORT smtp inet n - n - - smtpd -o content_filter=smtp-amavis:[127.0.0.1]:10024 -o receive_override_options=no_address_mappings smtp-amavis unix - - n - 2 lmtp -o smtp_send_xforward_command=yes 127.0.0.1:10025 inet n - n - - smtpd -o cleanup_service_name=pre-cleanup -o content_filter=dspam:dummy -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,rej ect -o receive_override_options=no_unknown_recipient_chec ks -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 127.0.0.1:10026 inet n - n - - smtpd -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,rej ect -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 dspam unix - n n - 10 pipe flags=Rhq user=dspam argv=/usr/bin/dspam --mode=teft --deliver=innocent,spam --feature=chained,noise -i -f ${sender} $ cleanup unix n - n - 0 cleanup -o header_checks= -o mime_header_checks= -o nested_header_checks= -o body_checks= pre-cleanup unix n - n - 0 cleanup -o canonical_maps= -o sender_canonical_maps= -o recipient_canonical_maps= -o masquerade_domains= -o virtual_alias_maps= -o always_bcc= -o sender_bcc_maps= -o recipient_bcc_maps= local unix - n n - - local -o content_filter= -o myhostname=localhost -o local_recipient_maps= -o relay_recipient_maps= -o mynetworks=127.0.0.0/8 -o mynetworks_style=host -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,rej ect dspam-add unix - n n - - pipe flags=Rhq user=dspam argv=/usr/bin/dspam --mode=teft --user ${user}@${nexthop} --class=spam --source=error dspam-del unix - n n - - pipe flags=Rhq user=dspam argv=/usr/bin/dspam --mode=teft --user ${user}@${nexthop} --class=innocent --source=error #================================================= =========== Any Suggestions??? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|