----- Original Message ----- From: "Federico Sevilla III" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 22, 2002 9:33 PM Subject: Re: [plug] postfix problem
> On Mon, 21 Jan 2002 at 18:48, Chris G Haravata wrote: > > unable to find primary mail relay for domain.edu.net > > Hard quoting all the relevant parts but here are my thoughts: > > 1. If apc.edu.ph, mail.apc.edu.ph, and cerveza.apc.edu.ph are really just > one box, why do you have three MX entries for them, with two of these MXs > sharing one IP? Why don't you, for simplicity, have one MX > (mail.apc.edu.ph), and then have mail.apc.edu.ph point to the various IP > addresses of cerveza (note: DO NOT USE CNAMEs)? uhhh...because doing so will negate the advantages of prioritized MX servers? i assume you're talking abt multiple A records here for mail.apc.edu.ph. let's say SOURCE1 sends email to IP1 of cerveza. IP1 is down but IP2 is up. SOURCE1 gets the IP address of cerveza and your dns gave him IP1. it's down...since there's no other MX or A listed, it says failed already, unless SOURCE1's MTA supports multiple A records. as far as i know, the rfc for smtp (forgot the number) only checks MX records for redundant mail servers. note that doing all of these on a single machine negates part of the redundancy of your mail system, if your different ip addresses belong to different ISPs; and totally if all of the IPs belong to a single ISP. kasi, pag bagsak ng mail server mo, wala ring mapupuntahan yung messages mo kahit temporarily. that's why we have projects like perdition-postfix-ldap/mysql by william yu et al. > 2. In my experience, you do not need to set up explicit transport rules > for the more common situations. There is only one common situation I know > of where you need them: when you have a relay_host setting but do not want > to send all mail through this relay_host (ie: a particular domain must be > handled locally). this i need to be enlightened with. me need other ppl's experience. the question is, if you have multiple MX servers for a domain and a single mail store (POP/IMAP), how do you tell the MX where to send the messages it received for the domain? let's say i have MX1, MX2 and MX3, and MAIL1 which hosts the mail store. the users are local to MAIL1. i know you can make MX1-3 accept mail for your domain by relay_domains, or mydestination...but, how do you make them forward the messages to MAIL1? assume all postfix servers are in use. i was able to do this by telling MX1-3 to deliver mail for domain to MAIL1 via smtp using the transport maps. if there's any other way to do this i'm all ears. note that this IS a common setup for redundant and prioritized MX hosts. > 6. Will it be possible for you to make available online your main.cf? I > don't think this should contain anything confidential, and if you've > isolated that things still don't work having gone through my previous > thoughts, you may want to show this to us so we can see if we can find > anything wrong. i think this would help a lot. along with "ifconfig -a", "netstat -na | grep LISTEN", and preferably a snippet of your maillog for a sample message which has this problem. --vince. _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]