in reply to Re^2: Sendmail issue
in thread Sendmail issue

This is not a Perl problem. It is a networking problem. SMTP is blocked to keep you or a trojan on your system from spamming from Comcast's IP ranges.

Check to see if you can instead use the SMTP submission port (587) which is meant for new message submissions. That may be blocked as well.

If you must use a local MTA (which you shouldn't need to do) then remember that SMTP is not a direct peer-to-peer protocol. It is a store and forward protocol that can use any number of servers along the path. The proper thing to do would be one of two options. You could connect to the proper designated outbound mail server and authenticate (using Net:SMTP, Net::SMTP::TLS, Mail::Sender, ...) to send mail through the ISP's server. You also could set up your mail server to smart forward and send to Comcast's server (agaiun, with authentication if you're sending to other than their recipients).

I'm not going to give you a lot of free help on configuring your mail server, especially not on Perlmonks. You can totally make your program configurable to send through different servers and accounts as needed, though.

By the way, if your other connection will allow any client machine open access to send SMTP traffic to anywhere in the world then that's a problem. Spam costs billions a year. Don't be a dirty spammer, and don't use companies that make being a dirty spammer easy.

Replies are listed 'Best First'.
Re^4: Sendmail issue
by arete (Initiate) on Aug 08, 2014 at 14:10 UTC

    Thanks for the info. I will try Net::SMTP. And, no, I am not trying to spam anybody. I just want to send some log files to myself. I appreciate your concerns though.