The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SRS not functioning properly

Discussion in 'E-mail Discussions' started by Zoop, Oct 5, 2016.

Tags:
  1. Zoop

    Zoop Member

    Joined:
    Feb 15, 2016
    Messages:
    13
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    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 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, this is what happens:

    Code:
    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:<SRS0=Kpiwu=VX=hotmail.com=account_a@domain_b.com> SIZE=8219
      SMTP>> RCPT TO:<account_c@gmail.com>
      SMTP>> DATA
      SMTP<< 250 2.1.0 Ok
      SMTP<< 250 2.1.5 Ok
      SMTP<< 354 End data with <CR><LF>.<CR><LF>
      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) <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:<SRS0=Kpiwu=VX=hotmail.com=account_a@domain_b.com> 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
     
    #1 Zoop, Oct 5, 2016
    Last edited by a moderator: Oct 5, 2016
  2. Zoop

    Zoop Member

    Joined:
    Feb 15, 2016
    Messages:
    13
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    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?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page