LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-20-2006, 12:24 AM   #1
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Rep: Reputation: 30
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
 
Old 09-20-2006, 05:05 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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.
 
Old 09-20-2006, 11:23 AM   #3
Child of Wonder
Member
 
Registered: Jul 2004
Location: Sioux Falls, SD
Distribution: Debian, Ubuntu, Fedora, Red Hat
Posts: 69

Rep: Reputation: 16
You need to set up virtual accounts.

Here's how:

http://www.linuxquestions.org/questi...d.php?t=474576
 
Old 09-21-2006, 04:58 PM   #4
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple domains for Postfix sbabcock23 Linux - Server 5 12-12-2006 09:37 AM
How to make postfix accept mail from multiple domains Farthom Linux - Newbie 4 09-14-2006 11:13 AM
Sub Domains & Multiple Domains (Apache) lugos Linux - Server 1 09-01-2006 10:22 PM
Postfix multiple domains & mailboxes fatum112 Linux - Software 0 11-21-2005 01:13 PM
Postfix and multiple domains MasterC Linux - Networking 4 07-16-2003 01:19 PM


All times are GMT -5. The time now is 09:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration