OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
553 5.7.1 Sender address rejected: not logged in

From: AlxFrag (alxfraggmail.com)
Date: Thu May 15 2008 - 05:38:42 CDT


Hi,

I've setup postfix as following:

In main.cf:

smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination

smtpd_sender_login_maps=ldap:/etc/postfix/local_recipients.cf

smtpd_sender_restrictions=permit_mynetworks,check_sender_access
hash:/etc/postfix/block_senders,hash:/etc/postfix/my_domains,reject_authenticated_sender_login_mismatch

smtpd_restriction_classes=verify_login

verify_login=reject_sender_login_mismatch

One of my users usermydomain owns another account to an external server
userexternal_domain.

 In that domain he has placed an alias so as every mail sent to
userexternal_domain is redirected to usermydomain.

Whenever i try to send an email from my account postmastermydomain to
userexternal_domain i get the following error:

  ----- The following addresses had permanent fatal errors -----
<usermydomain>
    (reason: 553 5.7.1 <postmastermydomain>: Sender address rejected: not logged in)

   ----- Transcript of session follows -----
... while talking to myserver.:

>>> >>> DATA
>>>
<<< 553 5.7.1 <postmastermydomain>: Sender address rejected: not logged in
550 5.1.1 <usermydomain>... User unknown
<<< 554 5.5.1 Error: no valid recipients

If i try to send the same email from a different account that doesn't belong to mydomain, for example alxfraggmail.com everything is ok and the alias works fine.

Any ideas?

Thanks