Hi Javier,
It seems to me it is not a script issue. It is more likely your sendmail configuration or your spam assasin configuration (if you have it installed). By the way, you do not use
/usr/sbin/sendmail -t -oi
instead of using net::SMTP or something else.
so it is like this
my $sendmail = "/usr/sbin/sendmail -t -oi";
open MAIL, "|$sendmail" or die "cannot pipe $sendmail:$!";
print MAIL "To:[EMAIL PROTECTED]";
...
close MAIL;
"Moreno, Javier" <[EMAIL PROTECTED]> wrote:
Hi all,
I have an issue. I am using sendmail.pm and it works for any local email addresses. As soon as I try to send email to any external email address, I get the following:
RCPT TO: error (550 5.7.1 Unable to relay for [EMAIL PROTECTED])
Anyone has any ideas?
Javier Moreno
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
