powerhouse has asked for the wisdom of the Perl Monks concerning the following question:

Ok, I cannot remember why this is doing this. I am using Mail::Sendmail and when I have my script send an email, everyone, is getting this message(I have it put the error in the html):

Error: RCPT TO: error (550-Verification failed for )
Log:Mail::Sendmail v. 0.79 - Thu Sep 1 12:21:26 2005
Date: Thu, 1 Sep 2005 12:21:26 -0400
Server: localhost Port: 25
From: verification@ChangedTheDomain.WhatEver

That even happend with my email address being the TO email addy. can someone tell me what this means?

thx,
Richard

Replies are listed 'Best First'.
Re: RCPT TO invalid? Help, please
by grinder (Bishop) on Sep 01, 2005 at 17:03 UTC

    Try telnetting to port 25 and sending a raw test message. If you get the same error, it's not Mail::Sendmail that's causing the problem.

    For I doubt this is not so much a Perl question, rather more of a question on how your MTA is configured. I would look to its logfiles for more information. The fact that it's a class 500 error, rather than 400, means that the problem is permanent, not just temporary. This would tend to rule out transient DNS errors (e.g. nameserver not responding).

    If it's DNS, it could be ChangedTheDomain.WhatEver has been zapped in the DNS, either lacking MX or A records, or a firewall was reconfigured over-strictly, or someone is playing with stuff like RMX or SPF.

    - another intruder with the mooring in the heart of the Perl

Re: RCPT TO invalid? Help, please
by Ultra (Hermit) on Sep 01, 2005 at 17:54 UTC

    In short, there are a lots of reasons why you get "550-Verification failed for".

    One reason for this behavior is that your domain is banned on the MTA server. Maybe your MTA does reverse DNS checks and it turns out you're host.foo.bar and try to send messages as tuxie@goro.foo

    Some MTA's do checks for Sender's validity (the existence of that user) in case they relay mails for you.

    etc. etc.

    Either you're not using well the MTA, or it isn't properly configured.

    Dodge This!