Ok, I tried authtest from the courier sources.  Unfortunately there was
no manpage for authtest so I'm not sure if I'm executing it right but
here's what I tried.  I have the esmtpd service running and I believe
the init script that comes with courier starts the imapd service for me.

I tried:
/path/to/courier/authtest -s esmtp couriertest
/path/to/courier/authtest -s imap couriertest
/path/to/courier/authtest couriertest

I noticed there is a -m to input what, I assume, is the authentication
module (though I don't know what exactly it wants).  So I also tried:
/path/to/courier/authtest -s imap -m authmysql couriertest
/path/to/courier/authtest -s esmtp -m authmysql couriertest
/path/to/courier/authtest -m authmysql couriertest

And they all fail.

I tried sending an email to [EMAIL PROTECTED] and interestingly
enough it bounced with this:

----- The following addresses had permanent fatal errors -----
<[EMAIL PROTECTED]>
    (reason: 513 Relaying denied.)

----- Transcript of session follows -----
... while talking to mail.mydomain.com.:
>>> RCPT To:<[EMAIL PROTECTED]>
<<< 513 Relaying denied.
554 5.0.0 <[EMAIL PROTECTED]>... Service unavailable

I then read-up on "man courier" and realized I need to add an entry to
esmtpacceptmailfor (which, I assume, goes in esmtpdaccpetmailfor.dir). 
I restarted courier and esmptd and sent a message and got the same
thing.

Oh, and I can't even find mysql-query-log on my filesystem. Am I really
close or are things really fubar?

--Tony

On Fri, 2002-01-18 at 11:02, Roland Schneider wrote:
> --Tony Bibbs wrote on 18.01.2002 10:31 -0600:
> 
> > 250-hostname1 Ok.
> [...]
> > RCPT TO:<[EMAIL PROTECTED]>
> > 550 User unknown.
> > 
> > I have a user called courierusers who's home directory holds the maildir
> > for couriertest and I have the couriertest user in the MySQL database
> > just fine.  Any ideas?
> 
> Check with 'authtest' from the sources, try sending mail
> to 'couriertest@hostname1', use an fqdn like 'mydomain.com'
> instead of 'hostname1', make shure 'mydomain.com' does not
> appear in hosteddomains or aliases, put 'mydomain.com' into
> locals or change 'couriertest' to  [EMAIL PROTECTED]
> in mysql, check the mysql-query-log to see which username
> authdaemon tries to select.
> 
> Roland
> 
> 
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to