From: Nabil Attar [mailto:[EMAIL PROTECTED]
> 
> I'm a newbie to courier.. and I downloaded the latest version and I
> compile it successfully.
> 
  [....]
> 
> BUT
> I have one problem and one question:
> My problem is that I cannot send to an email to
> [EMAIL PROTECTED]  it keep saying error 517 'Domain doesn't
> exist'

What happens when you 'dig redhat.local'?  Can you resolve the
domain?

> note that when I telnet localhost 25  the ESMTP says ESMTP
> redhat.local ready... not mention that it is the courier smtp..  do
> I have to stop sendmail ??  what can I do ??

It doesn't matter what the mailserver calls itself.  That does not
necessarily have anything to do with the domains it answers for.  If
you can't get DNS for the domain, you can't send mail there.  Also, I
believe the default Courier installation will not receive mail from
an email address with a domain that cannot be resolved.

"telnet localhost 25" doesn't tell you anything unless you're trying
to send mail to [EMAIL PROTECTED]

> note that I added my domain to
> /etc/courier/defaultdomain
> /etc/courier/esmtpacceptmailfor
> /etc/courier/hosteddomains
> then
> makesmtpaccess
> makehosteddomains
> makealiases

You also need 'makeacceptmailfor'.

> AND
> my question is :
> how can I authenticate from userdb ??

In /etc/courier/authdaemonrc:
    authmodulelist="authuserdb"

In /etc/courier, edit esmtpd, pop3d, and imapd (I assume, I don't use
imap myself):
    AUTHMODULES="authdaemon"

> is it better to use userdb or mysql as I want to use only virtual
> users...

I use userdb as I don't have that many users (about 900 at the
moment -- many of which are inactive) and I find it easier to deal
with since I am not familiar with mysql.

Bowie



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to