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

Re: [cobalt-users] Relaying denied problem



OK so here we go again. I have never understood why my raq4 does
and in the past - when I have followed the thread - i never seem to get anywhere. so here goes.

a. I have a virtual site -----      abc.com
b. I have a user           -           principal
c. The user does NOT have any aliases , e.g. @www.abc.com - all we have is "principal"

I go to an email account totally outside of my blue washing machine and send a message to principal@xxxxxxx

I get back 550 5.7.1 relaying denied ... check your mail first or restart your mail session.

Do you have "abc.com" entered in the Mail Server Alias field in the Site Settings? If not, the RaQ will only accept email that's addressed to "user@xxxxxxxxxxx"...

It was designed to work that way by default in case you were hosting two or more hostnames in the same domain on one server.

By forcing hostnames into the default acceptance address, you could have host1.example.com and host2.example.com on the same server, each set up to receive their own email independently, but each separate host would not try to grab all the mail for example.com.

So add just "example.com" in the mail server alias field and you should be ok.

The relaying error is happening (I think) because of the way the address 'rewriting' is taking place, and sendmail thinks you're actually trying to relay mail to a different server because it doesn't know it should be accepting mail for example.com.

I probably didn't do a good job explaining that...