554 5.7.1 Relay acces s denied;

My users are getting error like this

Jul 16 17:22:29 shs2 postfix/smtpd[15894]: NOQUEUE: reject: RCPT from mail2.olicargo.pt[213.30.12.90]: 554 5.7.1 sippy@sea-airfreightworks.com: Relay acces s denied; from=mario.spencer@olicargo.com to=sippy@sea-airfreightworks.com proto=ESMTP helo=<mail.olicargo.pt> Jul 16 17:22:29 shs2 postfix/smtpd[15894]: disconnect from mail2.olicargo.pt[213.30.12.90]

How to resolve this

Status: 
Active

Comments

And some users are getting errors like this

Jul 16 17:22:22 shs2 postfix/smtpd[15807]: NOQUEUE: reject: RCPT from mail-vb0-f44.google.com[209.85.212.44]: 554 5.7.1 sippy@sea-airfreightworks.com: Rela y access denied; from=sippycr+caf_=sippy=sea-airfreightworks.com@gmail.com to=sippy@sea-airfreightworks.com proto=ESMTP helo=<mail-vb0-f44.google.com> Jul 16 17:22:22 shs2 postfix/smtpd[15807]: disconnect from mail-vb0-f44.google.com[209.85.212.44]

Do your users have SMTP authentication setup in their mail clients? Also, what program are they using to send email (outlook, Thunderbird, squirrel mail, etc)?

They use outlook and enable Outgoing smtp server requires authentication in the Outlook. But still Relay access Denied for some emails

I saw some unusual errors in your mail log that suggested that the saslauthd daemon wasn't working properly, which may have caused the authentication to fail.

I made some changes which will hopefully correct that -- can you try sending an email from Outlook again and see if that works properly?

If you dont mind could you pls share the details how was it fixed. I was working for the past 10 hours to fix that.

And also i have some errors like

Jul 20 17:14:33 shs2 dovecot: pop3-login: Login: user=<nizar.if-ea.com>, method=PLAIN, rip=::ffff:2.89.98.50, lip=::ffff:172.16.1.60 Jul 20 17:14:34 shs2 dovecot: POP3(nizar.if-ea.com): Disconnected: Logged out top=0/0, retr=0/0, del=0/272, size=222446833 Jul 20 17:14:43 shs2 postfix/trivial-rewrite[15677]: table hash:/etc/postfix/virtual(0,lock|fold_fix) has changed -- restarting

Well, I changed a few different things, I'm not quite sure which one it was that fixed it.

However, one of the things I did was to restart the saslauthd service, in case it wasn't working properly, since it was generating "file not found" errors.

The Postfix message you mentioned isn't a problem, and is normal; it simply indicates that new data has been added to the Postfix "virtual" file, and Postfix is re-reading it.

I have one more error Jul 20 18:22:14 shs2 postfix/smtpd[26586]: warning: connect to Milter service inet:localhost:8891: Connection refused Jul 20 18:22:14 shs2 postfix/trivial-rewrite[24248]: warning: do not list domain onyxar.com in BOTH mydestination and virtual_alias_domains Jul 20 18:22:14 shs2 postfix/smtpd[26586]: 8348A8181CF: client=shs2.onyxar.com[127.0.0.1] Jul 20 18:22:14 shs2 postfix/cleanup[26587]: warning: connect to Milter service inet:localhost:8891: Connection refused Jul 20 18:22:14 shs2 postfix/cleanup[26587]: 8348A8181CF: message-id=2ed9c76be306dd1cbba11156f3ab83bb.squirrel@webmail.onyxar.com

how to resolve it

It looks like Postfix has been configured to look for a "Milter" service on port 8891, but there is no Milter service running.

You would either need to start the Milter service that Postfix is looking for, or remove the configuration from Postfix that is looking for it.