Re: SMTP Server Authorization
"Jacob Morzinski" <[email protected]>
| Newsgroups | gmane.mail.exmh.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I don't post directly from nmh (I go through sendmail with "spost"), so I regret that I don't have many good ideas. You may want to add the "-saslmech" flag, setting it to match whatever mechanism your .mailrc file is using (perhaps "LOGIN"). You could also try the "-snoop" flag, but if you do, beware that the fourth line that follows "AUTH LOGIN" in the trace contains a easy-to-read version of your password, so never copy-and-paste that line to people. The LOGIN exchange typically has "334 VXNlcm5hbWU6", followed by your username, followed by "334 UGFzc3dvcmQ6", followed by your password. One way to troubleshoot this would be to run mail(nail?) in some mode that lets you record a log of exactly what mail says to the server as you log in. Then, you compare against the output of "send -snoop", and find what is different, such as perhaps different usernames. The nmh-workers list had brief discussion a few years back: http://lists.gnu.org/archive/html/nmh-workers/2003-11/threads.html It's probably worth re-posting your question to one of the nmh lists, to see if they have a more recent answer. -Jacob On 9/12/06, [email protected] <[email protected]> wrote: > set smtp=my.server.com > set smtp-auth-user=thatsme > set smtp-auth-password=1234567 [...] > send -verbose -server my.server.com -user thatsme -password 123456 -sasl > > and it comes back "user unknown"