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.

Sender verify failed

Discussion in 'E-mail Discussions' started by Highroller, Sep 7, 2015.

  1. Highroller

    Highroller Registered

    Joined:
    Sep 7, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norway
    cPanel Access Level:
    Root Administrator
    Hello, i have a VPS where i host 4 different sites.
    Each site has its own deidcated IP adress (and ssl) and its own cpanel account.

    I have a problem with 550 sender verify failed, the error occours when i am sendeing mail from my wordpress site (sucuri plugin) and when i send mail to an gmail account.

    I notise that when i am adding my email account to clients like outokk it wont discover my mailserver as mail.receiver.no but mail.server.hostname.no.

    Here is the error message:


    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    Code:
    mail@receiver.no
    (ultimately generated from mail@sender.no)
    host receiver.no [91.229.xxx.xx]
    SMTP error from remote mail server after RCPT TO:<mail@receiver.no>:
    550-Verification failed for <mail@server.hostname.no>
    550-The mail server could not deliver mail to mail@server.hostname.no. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
    550 Sender verify failed
    
    
    So i own both of the domains (both sender and receiver)
    The receiver.no domain is hosted on a shared webhotell with its own mailserver, the sender.no domain is on my vps.

    Any tips to what i am doing wrong?
     
    #1 Highroller, Sep 7, 2015
    Last edited by a moderator: Sep 7, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you post an example of one of these messages from your /var/log/exim_mainlog file so we can better understand the issue? EX:

    Code:
    exigrep user@gmail /var/log/exim_mainlog
    Thank you.
     
  3. Highroller

    Highroller Registered

    Joined:
    Sep 7, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norway
    cPanel Access Level:
    Root Administrator
    Like this?

    - Removed -
     
    #3 Highroller, Sep 8, 2015
    Last edited by a moderator: Sep 8, 2015
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Please remove any real details (email address etc) from output like that and wrap it in code tags.
     
  5. Highroller

    Highroller Registered

    Joined:
    Sep 7, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norway
    cPanel Access Level:
    Root Administrator
    Thank you for pointing that out :)

    Here is the edited version
    Code:
    2015-09-07 18:17:42 cwd=/home/USERNAME/public_html 3 args: /usr/sbin/sendmail -t -i
    2015-09-07 18:17:42 1ZZ0z8-0003Av-SS <= USERNAME@server.hostname.no U=USERNAME P=local S=1282 id=4ee251ba6e772358329802b39fa03e97@sender.no T="Sucuri Alert, domainname, Failed Login" for USERNAME@sender.no
    2015-09-07 18:17:42 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ZZ0z8-0003Av-SS
    2015-09-07 18:17:43 1ZZ0z8-0003Av-SS SMTP connection outbound 1441649863 1ZZ0z8-0003Av-SS sender.no mail@receiver.no
    2015-09-07 18:17:43 1ZZ0z8-0003Av-SS => sender <mail@sender.no> R=virtual_user T=virtual_userdelivery
    2015-09-07 18:17:43 1ZZ0z8-0003Av-SS ** mail@receiver.no (mail@sender.no) <mail@sender.no> R=lookuphost T=remote_smtp H=receiver.no [91.229.142.41] X=TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256: SMTP error from remot$
    2015-09-07 18:17:43 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1ZZ0z8-0003Av-SS
    2015-09-07 18:17:43 1ZZ0z9-0003B2-Be <= <> R=1ZZ0z8-0003Av-SS U=mailnull P=local S=2541 T="Mail delivery failed: returning message to sender" for username@server.hostname.no
    2015-09-07 18:17:43 1ZZ0z8-0003Av-SS Completed
    2015-09-07 18:17:43 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ZZ0z9-0003B2-Be
    2015-09-07 18:17:43 1ZZ0z9-0003B2-Be => knustiphone <username@server.hostname.no> R=localuser T=local_delivery
    2015-09-07 18:17:43 1ZZ0z9-0003B2-Be Completed
    
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I suggest enabling SMTP authentication in the script you are sending email from so that it sends from a authenticated email account instead of from "user@$hostname". Otherwise, the remote mail server may reject messages coming directly from the server's hostname.

    Thank you.
     
  7. Highroller

    Highroller Registered

    Joined:
    Sep 7, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norway
    cPanel Access Level:
    Root Administrator
    Thank you for your reply. I forgot to mention that the plugin (sucuri security) is sending emails to a mail account on my domain, and i have set up mail forwarding from that account to the account named mail@receiver.no i my log.

    So the error occours when the mail i is forwarded.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Right, it's still an issue because the original mail is coming from user@hostname per the bounced message. Is it possible to use SMTP authentication in your script?

    Thank you.
     
Loading...

Share This Page