Hi!

I am having trouble to figure out why emails send as an authenticated user (saslauthd) seems to not be "routed" via milters or amavis? I have another host that has the same setup where is works as expected. The only difference is the following in main.cf:

Working host:

mynetworks = 192.168.20.0/24 192.168.65.0/24 192.168.30.0/24 192.168.40.0/24 192.168.50.0/24 192.168.60.0/24 127.0.0.0/8
  relay_domains = smtp01.domain.tld
  smtpd_client_restrictions = permit_mynetworks, reject
  smtpd_recipient_restrictions =
  smtpd_client_connection_count_limit = 20
  smtpd_client_connection_rate_limit = 10

Not working host:

  mynetworks = 192.168.20.0/24 172.20.5.0/24 0.0.0.0/0
  relay_domains = smtp02.domain.tld
smtpd_relay_restrictions = permit_mynetworks ,permit_sasl_authenticated, reject_unauth_destination
  smtpd_client_restrictions = permit_sasl_authenticated, reject
  content_filter = smtp-amavis:[127.0.0.1]:10024
  smtpd_sasl_local_domain = $myhostname
  smtpd_sasl_auth_enable = yes
  broken_sasl_auth_clients = yes
  smtpd_tls_security_level = may
  smtpd_tls_auth_only = yes
  smtpd_sasl_security_options = noanonymous
  smtpd_delay_reject = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination


I am currently at loss why this happend, and I am having trouble parsing throu the documentation to find why this happend.
Could someone point me in the right direction?

Thankful for any help!

--
Jonathan Sélea

Website: https://jonathanselea.se
PGP Key: 0x8B35B3C894B964DD
Fingerprint: 4AF2 10DE 996B 673C 0FD8  AFA0 8B35 B3C8 94B9 64DD

Reply via email to