Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    107

    Default 550 Sender verify failed - errors

    Hey everyone,

    I'm having problems with the above error when trying to send mail from osCommerce, or a formmail TYPE php script. All of the noted settings below were installed on a brand new server with no domains. I then added a test domain, and installed the items which are trying to send mail.

    Here's the current config...

    suexec installed
    phpsuexec installed

    In addiion I have:

    1) Prevent the user 'nobody' from sending out mail to remote addresses

    2)Verify the existance of email senders

    3) Php's open_basedir protection prevents users from opening files outside of their home directory with php

    4) SMTP Tweak - This SMTP tweak will prevent users from bypassing the mail server to send mail (This is a common practice used by spammers). It will only allow the MTA (mail transport agent), mailman, and root to connect to remote SMTP servers

    I checked the exim_mainlog and here is what I get. (changed users/IP's, etc. for privacy)

    2004-04-28 10:33:31 1BIq7v-0004Es-20 <= scubagoo@my.servername.com U=scubagoo P=local S=616
    2004-04-28 10:33:35 1BIq7v-0004Es-20 ** johndoe@mydomain.com R=lookuphost T=remote_smtp: SMTP error from remote mailer after RCPT TO:<johndoe@mydomain.com>: host mydomain.com [209.xxx.xxx.xxx]: 550-Verification failed for <scubagoo@my.servername.com>\n550-Unrouteable address\n550 Sender verify failed
    2004-04-28 10:33:35 1BIq7z-0004F7-FI <= <> R=1BIq7v-0004Es-20 U=mailnull P=local S=1963
    2004-04-28 10:33:35 1BIq7v-0004Es-20 Completed
    2004-04-28 10:33:35 1BIq7z-0004F7-FI => scubagoo <scubagoo@my.servername.com> R=localuser T=local_delivery
    2004-04-28 10:33:35 1BIq7z-0004F7-FI Completed

    I'm trying to determine if it is phpsuexec, or the disallow nobody which is preventing mail from going outbound, or any of the other tweaks.

    All input is appreciated. Anyone suggest where to start? Thanks in advance!

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    First things first:

    Do you have an DNS A record for my.servername.com?

    Have you waited for it to propagate?

    Do you have an rDNS entry for your main IP address?

    If all those are Yes, then I would suggest switching off the SMTP Tweak and trying again.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Sep 2001
    Posts
    107

    Default

    Thanks Chirpy...

    Yes, all items have A records, RDNS, and has propegated. I did try to disable the SMTP tweak, but will check again. I may have missed something.

    What services should be restarted after making that change?

    PS... I followed your mailscanner upgrade, and it worked great w/no problems. Thanks.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Glad your MailScanner upgrade worked

    It may not be necessary to restart anything, though restarting exim wouldn't hurt:
    /etc/init.d/exim restart
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Sep 2001
    Posts
    107

    Default

    Nope, STill the same.

    However I did notice that the mail in this line:
    2004-04-30 13:16:53 1BJbd7-0002jM-RF <= scubagoo@my.servername.com U=scubagoo P=local S=511

    Is being sent from the domain username, but from the server address, not the domain name that the user belongs too. Is this normal?

    I.E. Should the mail be sending from scubagoo@scubagoo_domain.com??

    Thanks.

  6. #6
    Member
    Join Date
    Sep 2001
    Posts
    107

    Exclamation

    OK.... Here's an update!

    It seems the problem only exists when sending to another CPanel server. I was able to send to an AOL address, and to my work address as well with no problems.

    I then tried several addresses of domains on one of my old servers (cPanel) and got the same error as my original post.

    I did find this thread:
    http://forums.cpanel.net/showthread....5&pagenumber=1 here and was wondering what anyone thought I should do before I upgrade/make blind changes.

    Suggestions?

  7. #7
    Member
    Join Date
    Sep 2001
    Posts
    107

    Default

    I found what was causing my error. As you recall my problem was getting scripts to send e-mail to my old cPanel box.

    The domain, which is my hostname on the new machine, had previously been parked on my old server.

    Even though I had removed the park, and made sure the DNS records were correct, There was still a problem.

    What happened is the domain was still listed in the localhosts file. So when my new server tried to send email to the old box, the old box returned an error as it thought the domain was local on that machine.

    After removing the domain from the localhosts file on the "old" server, my problem went away.
    Last edited by knipper; 05-02-2004 at 08:47 PM.

  8. #8
    Member
    Join Date
    Nov 2002
    Posts
    48

    Default

    What is localhost file?

  9. #9
    Member
    Join Date
    Sep 2001
    Posts
    107

    Default

    Opppssss...

    Sorry about that it was the localdomains file. Located in /etc/

    This is a file that shows all domains that reside on the server. Even though I had removed the domain name, and all traces of DNS were gone, the entry was still in the localhosts file.

    So, when my "new" server tried to e-mail my "old" server, the old server said sent an error, as it thought the domain that was sending the mail was still "local".

    Hope that helps.

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2004
    Posts
    6

    Default

    Any time you get 550 sender failed error you need to check your passwd and shadow permissions in /home/username/etc/domain.com they should be 644 and 640 respectively I guarentee they aren't

  11. #11
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by iski4kix
    Any time you get 550 sender failed error you need to check your passwd and shadow permissions in /home/username/etc/domain.com they should be 644 and 640 respectively I guarentee they aren't
    Evidentally not in this case.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  12. #12
    Member
    Join Date
    May 2004
    Location
    new york
    Posts
    98

    Default

    I have had the same problem

    One server could not send mail to the other.
    Server A could not send mail from PHP apps to server B
    But server B had no problems sending mail to server A

    The cure was to uncheck Verify the existence of email senders in WHM on the receiving server.

    Somehow I think there is a problem on server B since I think this is not a fix but at least we have mail both ways now

    Vin

  13. #13
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Hi Vin,

    Whenever I've seen this it's been due to one or other server not having their hostname A record setup correctly in the authoratitive zone file for the domain that it is on.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. 550 Sender verify failed Question
    By Tom Pyles in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-16-2009, 08:00 AM
  2. Help: 550 Sender verify failed
    By Stretsh in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 10-27-2007, 11:45 AM
  3. 550 Sender verify failed because of Incorrect Hostname
    By Bradl3y in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-25-2007, 01:35 PM
  4. 550 Sender verify failed
    By Spokuz in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-26-2007, 07:14 AM
  5. 550 Sender verify failed - eMail - Not send and received.
    By jonyzinho in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-24-2005, 08:54 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube