Authentication required for relay
Question asked by Dave Lerner - July 18 at 12:26 PM
Unanswered
Hello.
I have a question that I hope someone here, or smartertools support, can quickly answer. We a SM 15 server that has hundreds of domains hosted. A particular client, whom is also hosted on the server, has a Point Of Sale (POS) system that generates invoices to their clients ...some of whom are also hosted on our server. That POS system is outside our network and addresses the emails as being "from" and email hosted on our server. Obviously, we have added their sending IP addresses to the client's SPF record so it will be delivered. However, the emails all result in an error being sent back to the POS vendor that "authentication is required for relay". I have posted a sample SMTP log for the transaction below. The POS vendor can send to any other mail server just fine ...its only when they try to send the messages to clients that are hosted on our server (regardless of the domain) ...they all bounce with the same message. So the question is this ...since we also host the client, is SmarterMail seeing the address and just assuming we are attempting relay? If the POS vendor switches the email "from" address to their own (and not the client's), all the emails go through just fine. This is a fairly common scenario where outside vendors are using their client's email address to send invoices or receipts, etc, so how can I work around this in Smartermail? Thanks!...the log entries follow...
 
 
[2018.07.16] 11:05:21 [0.0.0.0][4190791] rsp: 220 mail.ourserver.com Mon, 16 Jul 2018 17:05:21 +0000 UTC - Somenetwork
[2018.07.16] 11:05:21 [0.0.0.0][4190791] connected at 7/16/2018 11:05:21 AM
[2018.07.16] 11:05:21 [0.0.0.0][4190791] IP in whitelist
[2018.07.16] 11:05:21 [0.0.0.0][4190791] cmd: EHLO mail.theirserver.com
[2018.07.16] 11:05:21 [0.0.0.0][4190791] rsp: 250-mail.ourserver.com Hello [0.0.0.0]250-SIZE 52428800250-AUTH LOGIN CRAM-MD5250-STARTTLS250-8BITMIME250 OK
[2018.07.16] 11:05:21 [0.0.0.0][4190791] cmd: STARTTLS
[2018.07.16] 11:05:21 [0.0.0.0][4190791] rsp: 220 Start TLS negotiation
[2018.07.16] 11:05:21 [0.0.0.0][4190791] cmd: EHLO mail.theirserver.com
[2018.07.16] 11:05:21 [0.0.0.0][4190791] rsp: 250-mail.ourserver.com Hello [0.0.0.0]250-SIZE 52428800250-AUTH LOGIN CRAM-MD5250-8BITMIME250 OK
[2018.07.16] 11:05:21 [0.0.0.0][4190791] cmd: MAIL From:<email_address_on_our_server@ourserver.com> SIZE=12986
[2018.07.16] 11:05:21 [0.0.0.0][4190791] rsp: 550 Authentication is required for relay
[2018.07.16] 11:05:21 [0.0.0.0][4190791] cmd: RSET
[2018.07.16] 11:05:21 [0.0.0.0][4190791] rsp: 250 OK
[2018.07.16] 11:05:21 [0.0.0.0][4190791] cmd: MAIL From:<> SIZE=14010
[2018.07.16] 11:05:21 [0.0.0.0][4190791] rsp: 250 OK <> Sender ok
[2018.07.16] 11:05:21 [0.0.0.0][4190791] cmd: RCPT To:<email_address_on_our_server@ourserver.com>
[2018.07.16] 11:05:21 [0.0.0.0][4190791] rsp: 250 OK <email_address_on_our_server@ourserver.com> Recipient ok
[2018.07.16] 11:05:21 [0.0.0.0][4190791] cmd: DATA
[2018.07.16] 11:05:21 [0.0.0.0][4190791] rsp: 354 Start mail input; end with <CRLF>.<CRLF>
[2018.07.16] 11:05:22 [0.0.0.0][4190791] rsp: 250 OK
[2018.07.16] 11:05:22 [0.0.0.0][4190791] Data transfer succeeded, writing mail to 131091296.eml
[2018.07.16] 11:05:22 [0.0.0.0][4190791] cmd: QUIT
[2018.07.16] 11:05:22 [0.0.0.0][4190791] rsp: 221 Service closing transmission channel
[2018.07.16] 11:05:22 [0.0.0.0][4190791] disconnected at 7/16/2018 11:05:22 AM
 

Reply to Thread