I have a internal host sendmail host behind my firewall that I have setup to accept mail from other internal hosts that dont have direct access to the internet to send mail.
I have called this box "mailhub.mydomain.com", I have it then configured to send all outgoing mail via a SMART_HOST, of which it scans mail for content, removes viruses, encrypts if needed, and sends it on the internet.
If I send a message through the box from one of the internal hosts that I want to allow, to : address@mydomain.com, it goes out and sends the message and arrives to my inbox as expected.
However, if I send a message to someoneelse@anotherdomain.com, I get this:
Running /var/spool/mqueue/j0PHVuBW010236 (sequence 1 of 2)
<me@anotherdomain.com>... Connecting to mx-101.z108.zixworks.com. via relay...
220 mx.z108.zixworks.com ESMTP
>>> EHLO localhost.localdomain
250-mx.z108.zixworks.com
250-PIPELINING
250-SIZE 20480000
250-ETRN
250 8BITMIME
>>> MAIL From:<internaladdress@mydomain.com> SIZE=2539
250 Ok
>>> RCPT To:<me@anotherdomain.com>
>>> DATA
454 <me@anotherdomain.com>: Recipient address rejected: Relay access denied
<me@anotherdomain.com>... Deferred: 454 <sswenka@fastq.com>: Recipient address rejected: Relay access denied
554 Error: no valid recipients
>>> RSET
250 Ok
I know the address that I am sending to is valid... I know that normally having a uncontrolled relay box is BAD, but this box is not accessible from the outside internet, only internal hosts are allowed to connect to it, and send outbound.
Anyone got any ideas...
I have called this box "mailhub.mydomain.com", I have it then configured to send all outgoing mail via a SMART_HOST, of which it scans mail for content, removes viruses, encrypts if needed, and sends it on the internet.
If I send a message through the box from one of the internal hosts that I want to allow, to : address@mydomain.com, it goes out and sends the message and arrives to my inbox as expected.
However, if I send a message to someoneelse@anotherdomain.com, I get this:
Running /var/spool/mqueue/j0PHVuBW010236 (sequence 1 of 2)
<me@anotherdomain.com>... Connecting to mx-101.z108.zixworks.com. via relay...
220 mx.z108.zixworks.com ESMTP
>>> EHLO localhost.localdomain
250-mx.z108.zixworks.com
250-PIPELINING
250-SIZE 20480000
250-ETRN
250 8BITMIME
>>> MAIL From:<internaladdress@mydomain.com> SIZE=2539
250 Ok
>>> RCPT To:<me@anotherdomain.com>
>>> DATA
454 <me@anotherdomain.com>: Recipient address rejected: Relay access denied
<me@anotherdomain.com>... Deferred: 454 <sswenka@fastq.com>: Recipient address rejected: Relay access denied
554 Error: no valid recipients
>>> RSET
250 Ok
I know the address that I am sending to is valid... I know that normally having a uncontrolled relay box is BAD, but this box is not accessible from the outside internet, only internal hosts are allowed to connect to it, and send outbound.
Anyone got any ideas...