bypass spam check for local system mail

Admin Beckspaced admin at beckspaced.com
Sat Sep 24 08:00:07 CEST 2016



Am 24.09.2016 um 05:20 schrieb Indunil Jayasooriya:
>
> Pls check below lines in master.cf
amavis    unix  -       -       n       -       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       -       n       -       -       smtpd
   -o content_filter=
   -o smtp_send_xforward_command=yes
   -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 smtpd_restriction_classes=
   -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_unknown_recipient_checks,no_header_body_checks,no_address_mappings
   -o local_header_rewrite_clients=
   -o local_recipient_maps=
   -o relay_recipient_maps=

>
> and also ,  pls check your /etc/hosts file
>
> what is the output of hostname  command?
hostname says cx20

/etc/hosts

127.0.0.1 localhost.beckspaced.com localhost
172.31.1.100  cx20.beckspaced.com cx20
#
# IPv6
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
2a01:4f8:c17:30ba::2  cx20.beckspaced.com cx20

all seems double checked but amavis still doesn't recognize localhost / 
127.0.0.1 as MYNETS LOCAL ;(

please have a look perhaps you might find a typo?

thanks again for your time & help

greetings
becki


More information about the amavis-users mailing list