CPAN::Forum
Mail-Sender - mail scripts break if sent to unconfigured email address or domain name
| Posted on Fri Jun 29 17:45:04 2007 by certifieduser |
| mail scripts break if sent to unconfigured email address or domain name |
|
my tech level - between novice and medium
os - knoppix 5.0
script - perl
module - mail-sender
here is the issue
the same script worked fine without no change while i wrote with knoppix 4.2 thru 4.4
in the past it just used to email all the email address
the script worked fine if the email address was right example johndoe@abc.com
script would only faily if the email address is wrong example johndoe.com
but now after upgrading to knoppix 5.0 and installing cpan mail-sender using automatic method found on cpan web site i am experiencing some issues.
it would be only email if - i think - it does a hand shake and find the mailbox on the remote destination host.
the email script would stop working if it dont find the destination mail box - if the email address dont exist or the destination domain is not yet registered.
so what happens is i have to baby sit in front of the screen to delete the bad email where it stops and restart the script - the script is not an issue so we try not to dig into it.
is there any tweaks i need to do with send mail or any thing else to just push out the email irrespective of whether the desitnation mail box or domains exisits or not.
here is exact error message when script stops
Cannot send mail: Local user "username@domainname.com" unknown on host "localhost"
regards.
|
| Direct Responses: 5844 | Write a response |
(5)
]