Linux - NetworkingThis 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.
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.
I am having a problem with postfix, I get this error everytime I attempt to send an email.
Quote:
A configuration error in the e-mail system caused the message to bounce between two servers or to be forwarded between two recipients. Contact your administrator.
< cbv-gateway #5.4.6 X-Postfix; mail for CBVillage.org loops back to myself
Now you might see that I don't have a mydestination line in main.cf. The way I have it setup is relay_recipient_maps to an .db file which a perl script creates after it queries the exchange server and writes all the email addresses from the exchange server to a file called exchange_recipients. Instead of mydestinations I have relay_domains. Is this breaking postfix?
relaying is for mail passing *through* the machine, whilst mydestination defines what is for the server itself. so the mail in question just keeps passing itself round in circles, relaying to itself. only set up relay domains for mail that is *not* for you, but is trusted etc...
to be honest I'm not clear on that architecture you're trying to put together there... if it is meant to be passing that email on, then this postfix box needs to have a better MX record for that domain than itself. presumably if you look up the mx record on the box for this cbvillage.org domain then the best possible next hop as far as postfix is concerned is presumably to be itself. if this has gone off-net and just on a private LAN, then unless you specifically push those domains onwards to the exchange box then you would address your internal DNS to have better MX records relating to exchange over the box itself.
I apologize for being vague about the configuration. My box is indeed just a forwarding box, or at least it should be. Its running postfix/spamassassin and squid, and I would like to have it just forward the mail to the exchange server. Now I know postfix uses dns to do this, so I've been doing some investigating with the MX records and dns. I think this is the problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.