Page 1 of 1

Sender address rejected: not owned by user

Posted: Wed Mar 23, 2016 6:33 pm
by mrdebian
Hi,

I've got serverA using smtp auth via serverB which is the Zimbra server.
User details are fine and I've setup my app to use same user auth and FROM field but I'm always getting the following error:

Code: Select all

zimbra1 postfix/smtps/smtpd[10242]: NOQUEUE: reject: RCPT from mydomain.com[my ip]: 553 5.7.1 <support@mydomain.com>: Sender address rejected: not owned b
y user clientportal@mydomain.com; from=<support@mydomain.com> to=<mygmail@gmail.com> proto
=ESMTP helo=<mydomain.com>


I'm using latest stable Zimbra.

Any help is much appreciated.

Re: Sender address rejected: not owned by user

Posted: Wed Mar 23, 2016 11:34 pm
by quanah
Your own code shows the auth user is clientportal@mydomain.com, while the From is support@mydomain.com. Those do not appear to match to me.

Re: Sender address rejected: not owned by user

Posted: Thu Jul 13, 2017 1:42 pm
by ict4u
Hello I have this same issue,

Code: Select all

Jul 13 15:27:44 mail postfix/smtps/smtpd[14188]: NOQUEUE: reject: RCPT from unknown[41.202.219.64]: 553 5.7.1 <user@mydomain.com>: Sender address rejected: not owned by user user@mydomain.com; from=<user@mydomain.com> to=<dest_user@somedomain.com> proto=ESMTP helo=<[10.185.235.32]>

Any solution ?

Re: Sender address rejected: not owned by user

Posted: Thu Jul 13, 2017 3:23 pm
by DualBoot
clientportal@mydomain.com is this address a distribution list or an alias ?

Re: Sender address rejected: not owned by user

Posted: Thu Jul 13, 2017 3:35 pm
by ict4u
DualBoot wrote:clientportal@mydomain.com is this address a distribution list or an alias ?

In my case it is a regular email address. I can send mails from webmail client, but from Outlook I will receive that error message

Re: Sender address rejected: not owned by user

Posted: Thu Jul 13, 2017 4:04 pm
by DualBoot
Regular webmail address does not mean your address supply in the from field is own by the user address used with SMTP authentication.

Re: Sender address rejected: not owned by user

Posted: Thu Jul 13, 2017 4:39 pm
by ict4u
I have fix my problem for now by removing "reject_sender_login_mismatch" from "/opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf"

Re: Sender address rejected: not owned by user

Posted: Thu Dec 06, 2018 7:16 pm
by rojoblandino
ict4u wrote:I have fix my problem for now by removing "reject_sender_login_mismatch" from "/opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf"


zmcontrol -v
Release 8.7.11.GA.1854.UBUNTU16.64 UBUNTU16_64 FOSS edition.

I have a development enviroment to move the configs to production but i am getting a problem on second step:

1st step) Setting a split domain:
https://wiki.zimbra.com/wiki/Split_Domain

No problem in this step, all working fine.

2nd step) For avoiding a user's password compromised to relay emails using a different email address than the one uses to authenticate with smtp:
https://wiki.zimbra.com/wiki/Enforcing_ ... ername_8.5

Then I got following error:

Dec 6 13:02:27 mail1 postfix/smtpd[48259]: NOQUEUE: filter: RCPT from mail1.test.tt[x.x.x.x]: <admin@mail1.test.tt>: Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from=<admin@mail1.test.tt> to=<user1@test.tt> proto=ESMTP helo=<mail1.test.tt>
Dec 6 13:02:27 mail1 postfix/smtpd[48259]: NOQUEUE: reject: RCPT from mail1.test.tt[x.x.x.x]: 553 5.7.1 <admin@mail1.test.tt>: Sender address rejected: not logged in; from=<admin@mail1.test.tt> to=<user1@test.tt> proto=ESMTP helo=<mail1.test.tt>

I am still looking for a solution to make both steps to work, there is any way to exclude an account from being check on the second steps that live out side of the server on split domain?

Re: Sender address rejected: not owned by user

Posted: Mon Aug 19, 2019 11:34 am
by wineresp
Still got this error. Got a zimbra server and an app needs to send an email with another mail account. For ex:

The user Juan (Juan@mail.com) needs to send with the account of information technology (it@mail.com) a mail and its shows this error.



┬┐Can some1 help me?

Thanks !