LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   postfix hostname parameter for multiple domains? (https://www.linuxquestions.org/questions/linux-server-73/postfix-hostname-parameter-for-multiple-domains-485177/)

paddyjoy 09-20-2006 12:24 AM

postfix hostname parameter for multiple domains?
 
What parameter should I use for myhostname in my postfix conf file when I'm hosting multiple domains? Currently I'm using:

Code:

myhostname = localhost
but some mail servers are rejecting my mail with the following message


Code:

host mail0.ozhosting.com[203.30.164.229] said: 451 <localhost>: Helo command rejected: Please change your hostname to a valid host (localhost is not acceptable) (in reply to RCPT TO command)
Any ideas?

Thanks,
Paddy

trickykid 09-20-2006 05:05 AM

You configure your main mail server or default in the main.cf conf file. Then add your virtual or other domains in transport and virtual conf files.

Child of Wonder 09-20-2006 11:23 AM

You need to set up virtual accounts.

Here's how:

http://www.linuxquestions.org/questi...d.php?t=474576

paddyjoy 09-21-2006 04:58 PM

Quote:

Originally Posted by trickykid
You configure your main mail server or default in the main.cf conf file. Then add your virtual or other domains in transport and virtual conf files.

Thanks worked like a charm!

Paddy


All times are GMT -5. The time now is 04:48 AM.