Discussion:
Not owned by user
(too old to reply)
y***@gmail.com
2013-12-10 15:58:20 UTC
Permalink
I think I'm missing a setting somewhere, I've got several domains aliased, and listed in mydestinations, but still get the following error when submitting emails:

The server response was: ***@domain.com: Sender address rejected: not owned by user bob

I'm wondering if I need to run a postmap command rather than postfix reload, or whether I just need an additional param somewhere?

(Debian Wheezy / Dovecot / Postfix / local system passwd authentication)
y***@gmail.com
2013-12-12 14:28:25 UTC
Permalink
Dovecot working fine with sasl for imap btw.

Output of postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = ipv4
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = mail.domain2.com domain2.com domain1.com mail.domain3.com localhost.domain3.com localhost domain3.com
myhostname = mail.domain2.com
mynetworks = 10.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = domain2.com
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = @domain3.com, @domain2.com, @domain1.com
smtpd_sender_restrictions = permit_mynetworks, permit
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/server.pem
smtpd_tls_key_file = /etc/ssl/private/mail.key
smtpd_use_tls = yes
virtual_alias_domains = domain2.com domain3.com domain1.com
Lemat
2013-12-23 10:43:25 UTC
Permalink
+
reject_sender_login_mismatch - which is nowhere to be found in your config.

smtpd_sender_login_maps is a map, not a list of domains
and the map should look like this:

***@domain.com bob

Continue reading on narkive:
Loading...