[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim4 authentication in etch?



On Fri, 03 Oct 2008 14:10:53 -0400
"Thomas H. George" <lists@tomgeorge.info> wrote:

> Chris Davies wrote:
> > Thomas H. George <lists@tomgeorge.info> wrote:
> >   
> >> I wiped the hard drive, did a clean installation of etch, configured 
> >> exim4, put the user:password in /etc/exim4/passwd.client and tried to 
> >> send a message. [...]
> >>     
> >
> > "man exim4_passwd_client" says
> >
> >     The file should contain lines of the form
> >
> >     target.mail.server.example:login-user-name:password
> >
> >     which will cause exim to use login-user-name and password
> >     when sending messages to a server with the canonical host name
> >     target.mail.server.example.
> >
> > It goes on to warn that the target must be the rDNS entry for the mail
> > server and offers suggestions how to get that right. It also warns about
> > setting the routing correctly (I assume that a smarthost would override
> > this, for example), but I haven't tried it myself. Yet.
> >
> > Chris
> >   
> The line I put in passwd.client is, 
> "outgoing.verizon.net:my-user-name:my-password", which is my 
> understanding of the man page instructions.  I am attaching the tail of 
> the mainlog entries which show exim4 obtained an IP address for 
> outgoing.verizon.net.

That looks right, but this can be a pretty tricky business.  Basically,
IIUC, exim will refuse to use your authorization credentials if it's
not happy with the server name, in which case it will fail with the
'550 Authentication Required' message that you're seeing.  Some
potential problems are discussed in the man page, as you have noted,
but they don't seem to apply here, so apparently something else is
going wrong.  A couple of troubleshooting suggestions to possibly track
down the problem:

Try replacing your MX name with a '*'
Try configuring exim to use a different smarthost, e.g. Gmail

>  Tom

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: