liorm
Verified User
- Joined
- Feb 2, 2012
- Messages
- 28
Hey All,
I noticed that our mail server hits blacklists often, and decided to test relaying through the server.
Upon testing, it appears that relaying is possible on a specific method, somehow, not sure how.. this is why I am posting, to get a direction.
I am able to to send a message from a foreign domain, to a local domain on the DA server.. so far that is expected, however, if I add a foreign domain recipient to the same SMTP session, that is passed through to the server's "remote_smtp" - relaying
Sending syntax:
on the rcpt to: [email protected] <space> <mailbox@localdomain>
Obviusly, the server should not accept this message and pass onto smtp server, as it is sending to a gmail mailbox in addition to a local domain one.
Server log:
2019-02-04 10:37:01 H=(L--N) [xx.xx.xx.xx] incomplete transaction (RSET) from <[email protected]> for mailbox@localdomain
2019-02-04 10:37:01 1gqZkT--GE <= [email protected] H=(L--N) [xx.xx.xx.xx] P=esmtp S=818 id=d40e2b.xx T="Test from SMTP Diag Tool" from <[email protected]> for mailbox@localdomain
2019-02-04 10:37:01 1gqZkT--GE => mailbox <mailbox@localdomain> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=932
2019-02-04 10:37:02 1gqZkT--GE =>[email protected] <mailbox@localdomain> F=<[email protected]> R=smart_route T=remote_smtp S=851 H=x.x.x.x [x.x.x.xx] C="250 2.0.0 Ok: queued as DF23C5A"
exim.conf:
smart_route:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = "${perl{check_limits}}"
transport = remote_smtp
route_list = * smtpserver.xx.com
no_more
Hope this is clear
Any ideas?
Thx!
I noticed that our mail server hits blacklists often, and decided to test relaying through the server.
Upon testing, it appears that relaying is possible on a specific method, somehow, not sure how.. this is why I am posting, to get a direction.
I am able to to send a message from a foreign domain, to a local domain on the DA server.. so far that is expected, however, if I add a foreign domain recipient to the same SMTP session, that is passed through to the server's "remote_smtp" - relaying
Sending syntax:
on the rcpt to: [email protected] <space> <mailbox@localdomain>
Obviusly, the server should not accept this message and pass onto smtp server, as it is sending to a gmail mailbox in addition to a local domain one.
Server log:
2019-02-04 10:37:01 H=(L--N) [xx.xx.xx.xx] incomplete transaction (RSET) from <[email protected]> for mailbox@localdomain
2019-02-04 10:37:01 1gqZkT--GE <= [email protected] H=(L--N) [xx.xx.xx.xx] P=esmtp S=818 id=d40e2b.xx T="Test from SMTP Diag Tool" from <[email protected]> for mailbox@localdomain
2019-02-04 10:37:01 1gqZkT--GE => mailbox <mailbox@localdomain> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=932
2019-02-04 10:37:02 1gqZkT--GE =>[email protected] <mailbox@localdomain> F=<[email protected]> R=smart_route T=remote_smtp S=851 H=x.x.x.x [x.x.x.xx] C="250 2.0.0 Ok: queued as DF23C5A"
exim.conf:
smart_route:
driver = manualroute
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
condition = "${perl{check_limits}}"
transport = remote_smtp
route_list = * smtpserver.xx.com
no_more
Hope this is clear
Any ideas?
Thx!