Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-10-2003, 02:52 PM
|
#1
|
LQ Newbie
Registered: Mar 2003
Posts: 28
Rep:
|
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!
|
|
|
04-12-2003, 03:12 PM
|
#2
|
LQ Newbie
Registered: Mar 2003
Posts: 28
Original Poster
Rep:
|
I hate to be a pest, but does anyone out there have any ideas about this problem? I'm still completely stumped.
|
|
|
04-14-2003, 12:22 PM
|
#3
|
Senior Member
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Rep:
|
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.
|
|
|
04-14-2003, 02:00 PM
|
#4
|
Member
Registered: Feb 2003
Posts: 92
Rep:
|
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.
|
|
|
04-14-2003, 02:26 PM
|
#5
|
LQ Newbie
Registered: Mar 2003
Posts: 28
Original Poster
Rep:
|
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.
|
|
|
04-14-2003, 02:40 PM
|
#6
|
Member
Registered: Feb 2003
Posts: 92
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|