Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: SMTP and Authentication

by Anonymous Monk
on Mar 09, 2001 at 14:24 UTC ( [id://63220]=note: print w/replies, xml ) Need Help??


in reply to SMTP and Authentication

My answer has little to do with Perl, but I ran into the same
problem a while ago with a customers ISP and their mail list.
The ISP wanted to "authorize" the sender before it would send
(this ISP was XO if you are interested)

I couldn't figure out a way either without resulting to a clumbsy
"expect" routine or something of that nature. What I found though
was if I checked for mail first, and logged in that way, then
I was authorized on the send directly afterwards. So, that's
the way the script is written, it checks for mail,
with useing account name and password first and then starts sending
the weekly news letter.

your milage may vary.

Replies are listed 'Best First'.
Re: Re: SMTP and Authentication
by mdog (Pilgrim) on Mar 09, 2001 at 22:05 UTC
    Yeah, that means that the way that ISP is doing authentication is through a process called: POP-before-SMTP. There is another form of authentication called SMTP AUTH that won't work with this... Hopefully, this info will help someone else, though. Thanks!
      If your ISP is using POP-before-SMTP as a way of closing their SMTP servers to unauthorized relaying, you may have a slight latency problem if the POP server isn't on the same box as the SMPT server. My ISP (pair.com) usually takes 2-3 seconds, but sometimes takes upwards of 10 seconds to relay the right message from their POP to their SMPT server.

      It takes all of one line of script to work around this. The annoyance was mostly in discovering this behavior.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://63220]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found