LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2003, 02:52 PM   #1
zdavis
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Rep: Reputation: 15
Postfix / WAN


Having a postfix problem....

I'm using postfix and ipop3 to handle mail. So far, I can send messages to any address without any problems. I can receive messages too, but only if the originate in my domain. So, for example, I can send a message from user1@mydomain.com to user2@mydomain.com. user1@mydomain.com can also send a message to me@yahoo.com. However, user1@mydomain.com cannot receive a message from me@yahoo.com.

Anyone have any ideas what might be causing this?

Thanks!
 
Old 04-12-2003, 03:12 PM   #2
zdavis
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
I hate to be a pest, but does anyone out there have any ideas about this problem? I'm still completely stumped.
 
Old 04-14-2003, 12:22 PM   #3
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
There has to be a recieving restriction in the main.cf file or in an associated table. I would check some of the tutorials for limiting reciepts.
 
Old 04-14-2003, 02:00 PM   #4
osfestus
Member
 
Registered: Feb 2003
Posts: 92

Rep: Reputation: 15
zdavis, sounds like a Redhat 8.0 install to me. The really important parameters for your main.cf file that pertain to your domain are the following.

myhostname = somename.yourdomainnamehere.com
mydomain = yourdomainnamehere.com
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, $mydomain
relay_domains = $mydomain (be careful if you add anything else here)

and then

masquerade_domains = $mydomain

With a standard redhat installation of postfix, those should be enough to get you going.
 
Old 04-14-2003, 02:26 PM   #5
zdavis
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks

That did it --

I didn't have the relay line in main.cf. I think I understand what that does, but I'm not sure what the masquerade_domains line does. I searched for documentation on it in main.cf, and didn't find any. What does it do?

Thanks again for your help.
 
Old 04-14-2003, 02:40 PM   #6
osfestus
Member
 
Registered: Feb 2003
Posts: 92

Rep: Reputation: 15
What masquerade_domains does is to hide the hostname from a fully qualified email address. Let's say your domain is mydomain.com and the box that runs the email and holds the user mailboxes is called mailman. You add a user/box called fred. Fred's email address is now fred@mailman.mydomain.com. What the masquerade_domains parameter does is to remove the hostname and send outgoing mail from fred as fred@mydomain.com.
 
  


Reply



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 send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
The WAN and X WeNdeL Linux - Security 5 08-08-2005 02:46 PM
FreeS/Wan Vs. OpenS/Wan Vs. StrongS/Wan bkankur Linux - Security 1 03-01-2005 09:27 AM
WAN : unable to ping to WAN ckl Linux - Networking 0 11-18-2004 01:56 AM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration