PDA

View Full Version : Courier SMTP Unknown User Problem


gbarnha1
04-18-2005, 10:10 PM
When Anyone Tries to send email to an address on the server it is being rejected with the following message coming back:

UNDELIVERABLE MAIL

Your message to the following recipients cannot be delivered:

<glen@blueoceanweb.net>:
blueoceanweb.net [66.219.101.93]:
>>> RCPT TO:<glen@blueoceanweb.net>
<<< 550 User unknown.

The domain is blueoceanweb.net.
glen@blueoceanweb.net has a mail account

Any ideas what might cause this?

Please be specific.. I've never used or configured courier.

Thanks..

LeeJ
04-19-2005, 06:02 AM
send us a support request and we will take a look. support AT zervex.com

LeeJ
04-19-2005, 02:26 PM
The machine name was the same as the domain that he was trying to send to. Courier was looking for a physical system account to deliver the mail to. We changed the hostname of the server to xxx.xxxxx.com and cleared the problem up.

viewport
01-17-2006, 07:37 AM
Does that mean I can STILL specify a hostname of mydomain.com in /etc/sysconfig/network, and STILL be able to get Courier to deliver to a local mailbox for user say someuser@mydomain.com?

I get the same "550 User Unknown" problem.

Does it mean that changing /etc/hosts to include "127.0.0.1 mydomain.com" will hint to Courier to deliver all mails to @mydomain.com to local mailboxes?

LeeJ
01-17-2006, 07:43 AM
You just need to change the name of your machine to something.yourdomain.com instead of simply yourdomain.com. Yes you would use the hostname command as well as change the /etc/sysconfig/network file so that when the machine is rebooted it takes on the new name.

Also, be sure to restart courier.

viewport
01-17-2006, 10:04 AM
Yes, I've seen that being done. But why? I'm curious. Do you mind explaining why my machine's name cannot be just plain mydomain.com rather than something.mydomain.com? Is it a Courier quirk or DSM issue?

LeeJ
01-18-2006, 07:53 AM
It is the way courier virtual hosts are implemented.