Warren Konkel writes:
Hey all...
I've configured a few domains on my machine by adding the domains to /etc/courier/hosteddomains and to /etc/courier/esmtpacceptmailfor.dir and running makehosteddomains and makeacceptmailfor. I'm also using authmysql authentication... The smtpd server running on port 25 accepts the mail for delivery but then I think it somehow doesn't recognize that it's a local account and tries to relay it using the smtp client... which then gives this error:
configuration error: mail loops back to myself (MX problem).
Now the interesting thing is when I watch the mysql logs, it never even queries mysql to see where to deliver the mail. However, if I connect to the pop3 server and try to check mail, it does query the mysql server, and returns with no new messages.
Any ideas why smtpd thinks an e-mail needs to be relayed and doesn't even check mysql to see if it's a local account and what dir to deliver it too???
-Warren
Here are the logs... and r4ppo.com was a domain i configured locally:
Jul 23 02:12:20 everendeavor courieresmtpd: started,ip=[24.194.43.53] Jul 23 02:12:24 everendeavor courieresmtpd: HELO everendeavor.com Jul 23 02:12:37 everendeavor courieresmtpd: MAIL FROM: <[EMAIL PROTECTED]> Jul 23 02:12:42 everendeavor courieresmtpd: RCPT TO: <[EMAIL PROTECTED]>
r4ppo.com is not listed in either the locals or the hosteddomains file.
pgpBjtuSrYjza.pgp
Description: PGP signature
