LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-22-2003, 09:20 AM   #1
bigdogg
Member
 
Registered: Oct 2003
Distribution: Fedora Core 1
Posts: 80

Rep: Reputation: 15
Postfix Problem


I hope I'm posting in the right area I'm a newbie so bare with me! I'm running Red Hat 9 with postfix and squirrel mail. I have port 25 open to the server and I can telet to the address so my public mx record is correct. I can send mail out and I can send mail to each other on my linux server but I can not receive mail? Here is what I'm using so far in my main.cf:

queue_directory = /var/spool/postfix
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = (domainname).com (Which is also my host name)
mydomain = mail (The MX record is to mail.domain.com)
myorigin = $myhostname
inet_interfaces = all (this is also my router too)
mydestination = $myhostname, localhost.$mydomain
alias_maps = hash:/etc/postfix/aliases
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
mailq_path = /usr/bin/mailq.postfix
mailq_path = /usr/bin/mailq.postfix
mailq_path = /usr/bin/mailq.postfix
alias_database = hash:/etc/postfix/aliases

Well that's it! Please HELP!! Now the thing is this is great if this is just for my domain. But I'm going to be hosting three domain so how to I set it up so I can receive mail for those domain also?

Time to cry now

Thanks in Advanced
BiG
 
Old 10-22-2003, 10:33 AM   #2
bigdogg
Member
 
Registered: Oct 2003
Distribution: Fedora Core 1
Posts: 80

Original Poster
Rep: Reputation: 15
Weird is started working. But this still does not help my issue when I run mutple websites? How will I configure the main.cf to accept mail from 3 or 4 domains? Any help would be greatly appreciated.

Thanks,
BiG
 
Old 10-23-2003, 12:26 PM   #3
sirjosi
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
this might be what youre looking for.

http://www.redhat.com/support/resou...HOWTO/x368.html

Im using sendmail now and you have to edit the Local-host files and add the different domains. Then you have to add it to virtusertable, which I believe Postfix also uses. It's all in this url I sent you.

Im trying to migrate to Postfix. If you can tell me how you made it work, it will be much appreciated.
 
Old 10-23-2003, 12:45 PM   #4
robartes
Member
 
Registered: Oct 2003
Location: Mechelen, BE
Distribution: Mandrake as base, most software hand rolled
Posts: 80

Rep: Reputation: 15
Quote:
Originally posted by bigdogg
Weird is started working. But this still does not help my issue when I run mutple websites? How will I configure the main.cf to accept mail from 3 or 4 domains? Any help would be greatly appreciated.

Thanks,
BiG
That's what mydestination is for. Add the domains to that:

mydestination=localhost.localdomain,domain1,domain2,domain3

Any mail to user@domain1 (or 2 or 3) get's deliverd to the mailbox for user on the postfix box. You can throw the mail around to other destinations using the aliases file or using a recipient_canonical_maps table.
 
Old 10-23-2003, 12:47 PM   #5
sirjosi
LQ Newbie
 
Registered: Oct 2003
Posts: 24

Rep: Reputation: 15
http://www.redhat.com/support/resour...OWTO/x368.html

sorry the link got shortened
 
Old 10-23-2003, 03:49 PM   #6
bigdogg
Member
 
Registered: Oct 2003
Distribution: Fedora Core 1
Posts: 80

Original Poster
Rep: Reputation: 15
thanks I will keep ya posted and my progress
 
  


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
Postfix Problem wfernley Linux - Newbie 3 08-24-2005 10:22 AM
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 09:12 PM
postfix problem meblost Linux - Software 4 08-31-2004 10:51 PM
postfix problem zzero Linux - Software 13 03-20-2004 12:39 AM
Postfix Problem JimKyle Linux - Networking 5 01-19-2002 03:32 PM


All times are GMT -5. The time now is 08:15 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