Discussion:
Sender address rejected: not owned by user
Friedemann Schorer
2017-04-23 20:26:56 UTC
Permalink
Hi!

I'm trying to figure out how to receive notification mails from my
Duplicati (http://www.duplicati.com/ - I'm using the latest version
2.0.1.53 her) instances in order to know if the backups worked. But
apparently Postfix somehow has a problem ...
Input command: send-mail
send-mail-username: schorer
send-mail-password: masked
send-mail-url: smtp://schorers.org:25/?starttls=always
accept-specified-ssl-hash: 157D64C92034FFF3C41E7D8548B717DB4F12105A
log-level: profiling
Starting - Running SendMail
Running SendMail took 00:00:00.006
Whole SMTP communication: Connected to smtp://schorers.org:25/?starttls=always
S: 220 cardhu ESMTP Postfix (Debian/GNU)
C: EHLO [192.168.178.42]
S: 250-cardhu
S: 250-PIPELINING
S: 250-SIZE 10240000
S: 250-VRFY
S: 250-ETRN
S: 250-STARTTLS
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250 DSN
C: STARTTLS
S: 220 2.0.0 Ready to start TLS
C: EHLO [192.168.178.42]
S: 250-cardhu
S: 250-PIPELINING
S: 250-SIZE 10240000
S: 250-VRFY
S: 250-ETRN
S: 250-AUTH PLAIN LOGIN
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250 DSN
C: AUTH PLAIN masked
S: 235 2.7.0 Authentication successful
C: EHLO [192.168.178.42]
S: 250-cardhu
S: 250-PIPELINING
S: 250-SIZE 10240000
S: 250-VRFY
S: 250-ETRN
S: 250-AUTH PLAIN LOGIN
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250 DSN
S: 250 2.1.0 Ok
C: RSET
S: 250 2.0.0 Ok
But - the mail address mentioned is my primary mail adress. Both
adresses belong to my username (according to kolab-webadmin), and I
receive mails sent to either of them on my account.
mydestination = ldap:/etc/postfix/ldap/mydestination.cf
relayhost = [mail.selfhost.de]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_tls_auth_only = yes
transport_maps = ldap:/etc/postfix/ldap/transport_maps.cf, hash:/etc/postfix/transport
content_filter = smtp-amavis:[127.0.0.1]:10024
smtpd_sender_login_maps = $local_recipient_maps
local_recipient_maps = ldap:/etc/postfix/ldap/local_recipient_maps.cf
virtual_alias_maps = $alias_maps, ldap:/etc/postfix/ldap/virtual_alias_maps.cf, ldap:/etc/postfix/ldap/virtual_alias_maps_mailforwarding.cf, ldap:/etc/postfix/ldap/virtual_alias_maps_sharedfolders.cf, ldap:/etc/postfix/ldap/mailenabled_distgroups.cf, ldap:/etc/postfix/ldap/mailenabled_dynamic_distgroups.cf
submission_sender_restrictions = reject_non_fqdn_sender, check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject
submission_recipient_restrictions = check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_rbl_client zen.spamhaus.org, reject_non_fqdn_recipient, reject_invalid_helo_hostname, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service unix:private/recipient_policy_incoming, permit
smtp_tls_security_level = may
smtpd_data_restrictions = permit_mynetworks, check_policy_service unix:private/recipient_policy_incoming
submission_data_restrictions = check_policy_service unix:private/submission_policy
smtpd_tls_security_level = may
smtpd_sasl_auth_enable = yes
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, check_policy_service unix:private/sender_policy_incoming
smtpd_tls_dh1024_param_file = /etc/ssl/private/dhparams.pem
# OpenDKIM
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:localhost:8891
non_smtpd_milters = inet:localhost:8891
Any ideas how to solve this?

Friedemann
--
Cassandra Claire : I respect your position, Professor, he said. I just
don't share it.
Continue reading on narkive:
Loading...