SRS not functioning properly
Hello folks, I'm at a loss here.
We have switched to an external smarthost as emailservice, maintaining our own emailserver and dealing with blacklisting and such became too much of a hassle, so since our vps provider offered their own mailservice, we started using that. However, they give no support whatsoever on SRS and since we've got quite a few forwarders, this proved to be quite a big problem.
I dont quite get how SRS is supposed to work, it combines the accountname from one emailadress with the domain of another, is this supposed to work like that?
Mail sent from account_a@hotmail.com[/EMAIL] to account_b@domain_b.com (which is on our vps, vps.example.nl) which has a forwarder set up to account_c@gmail.com[/EMAIL], this is what happens:
So mainly this part: SMTP>> MAIL FROM: SIZE=8219 Is it supposed to mix those accounts/domains? Anyway, it still think its coming from hotmail, instead of our server, and it gets bounced, even though SRS is enabled. This happens for all forwarded mail on our server. Pleas help! What am i supposed to do? Theres very little documentation to be found on the matter, in cpanel its just a checkbox to enable, possibly more could be done in the advanced editor, but like i said, i cant find anything on it. So please advice! The sooner the better, we got a lot of complaining clients here Thanks in advance
LOG: MAIN
cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1brj80-0001h1-Dr
delivering 1brj80-0001h1-Dr
Connecting to vps.transip.email [149.210.xxx.xxx]:587 ... connected
SMTP<< 220 submission4.mail.transip.nl ESMTP
SMTP>> EHLO vps.example.nl
SMTP<< 250-submission4.mail.transip.nl
250-PIPELINING
250-SIZE 37033449
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
SMTP>> STARTTLS
SMTP<< 220 2.0.0 Ready to start TLS
SMTP>> EHLO vps.example.nl
SMTP<< 250-submission4.mail.transip.nl
250-PIPELINING
250-SIZE 37033449
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
SMTP>> AUTH LOGIN
SMTP<< 334 VXNlcm5hbWU6
SMTP>> ************************************
SMTP<< 334 UGFzc3dvcmQ6
SMTP>> ************************
SMTP<< 235 2.7.0 Authentication successful
SMTP>> MAIL FROM: SIZE=8219
SMTP>> RCPT TO:
SMTP>> DATA
SMTP<< 250 2.1.0 Ok
SMTP<< 250 2.1.5 Ok
SMTP<< 354 End data with .
SMTP>> writing message and terminating "."
SMTP<< 421 4.7.0 No valid 'x-transip-mail-auth' DNS record found for 'hotmail.com'. Please see https://www.transip.eu/question/110000764 for more information. (3spttD4k0BznTWf)
SMTP>> QUIT
LOG: MAIN
== account_c@gmail.com (account_b@domain_b.com) R=remoteserver_route T=remoteserver_relay defer (-46) H=vps.transip.email [149.210.149.126]: SMTP error from remote mail server after end of data: 421 4.7.0 No valid 'x-transip-mail-auth' DNS record found for 'hotmail.com'. Please see https://www.transip.eu/question/110000764 for more information. (3spttD4k0BznTWf)
So mainly this part: SMTP>> MAIL FROM: SIZE=8219 Is it supposed to mix those accounts/domains? Anyway, it still think its coming from hotmail, instead of our server, and it gets bounced, even though SRS is enabled. This happens for all forwarded mail on our server. Pleas help! What am i supposed to do? Theres very little documentation to be found on the matter, in cpanel its just a checkbox to enable, possibly more could be done in the advanced editor, but like i said, i cant find anything on it. So please advice! The sooner the better, we got a lot of complaining clients here Thanks in advance
-
Theres also another problem with system mails sent from the server itself (at the moment, these are mainly information about the other mails being bounced) that wont be sent. The system mails are also sent over the smarthost and thus expect spf/dkim on the hostname (which cant be easily done on cpanel and is discouraged to do) so they also get bounced. Is there a way to make sure that system and php mail function are excluded from the smarthost, and let the server itself handle it? 0 -
so since our vps provider offered their own mailservice, we started using that.
Hello, Could you provide some more details about this? Are you using a custom mail server on another server, or does it integrate with cPanel in some way? Thank you.0 -
Hi, i'm using the same mail service and also having the same problem. Mail forwarding is not working due to SPF issues. To enable the transip mail service we needed to do the following: set smarthost support to: * vps.transip.email add following rules to the advanced exim editor: ROUTERSTART remoteserver_route: driver = manualroute transport = remoteserver_relay domains = !+local_domains route_list = * vps.transip.email TRANSPORTSTART remoteserver_relay: driver = smtp port = 587 hosts_require_auth = $host_address hosts_require_tls = $host_address AUTH remoteserver_login: driver = plaintext public_name = LOGIN hide client_send = : XXXXXXXXXXXXXX 0
Please sign in to leave a comment.
Comments
4 comments