Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
Eric B. ebe...@hotmail.com wrote in message news:hcupsk$b8...@ger.gmane.org... Victor Duchovni victor.ducho...@morganstanley.com wrote in message news:20091104232940.gi27...@np305c2n2.ms.com... On Wed, Nov 04, 2009 at 06:16:56PM -0500, Eric B. wrote: Is there no way to direct Postfix to a

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Daniel L'Hommedieu
On Nov 5, 2009, at 15:52, Eric B. wrote: Eric B. ebe...@hotmail.com wrote in message news:hcupsk$b8...@ger.gmane.org... Victor Duchovni victor.ducho...@morganstanley.com wrote in message news:20091104232940.gi27...@np305c2n2.ms.com... On Wed, Nov 04, 2009 at 06:16:56PM -0500, Eric B. wrote:

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
Daniel L'Hommedieu dlhommed...@gmail.com wrote in message news:670a051c-1871-4e2e-82d8-187324ef1...@gmail.com... On Nov 5, 2009, at 15:52, Eric B. wrote: Eric B. ebe...@hotmail.com wrote in message news:hcupsk$b8...@ger.gmane.org... Victor Duchovni victor.ducho...@morganstanley.com wrote in

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 03:52:00PM -0500, Eric B. wrote: I definitley have chroot set to Y in my master.cf file, and have done a postfix restart. I do get a warning on restart that What row in the table has the chroot set to y? -- Viktor. Disclaimer: off-list followups get on-list

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
Victor Duchovni victor.ducho...@morganstanley.com wrote in message news:20091105212519.gz27...@np305c2n2.ms.com... On Thu, Nov 05, 2009 at 03:52:00PM -0500, Eric B. wrote: I definitley have chroot set to Y in my master.cf file, and have done a postfix restart. I do get a warning on restart

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Wietse Venema
Daniel L'Hommedieu: I definitley have chroot set to Y in my master.cf file, and have done a postfix restart. I do get a warning on restart that Run LSOF and see what it says for the process root directory (indicated with the rtd field). Wietse

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 04:40:49PM -0500, Eric B. wrote: Victor Duchovni victor.ducho...@morganstanley.com wrote in message news:20091105212519.gz27...@np305c2n2.ms.com... On Thu, Nov 05, 2009 at 03:52:00PM -0500, Eric B. wrote: I definitley have chroot set to Y in my master.cf file, and

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
Daniel L'Hommedieu dlhommed...@gmail.com wrote in message news:9a3f9786-0cb4-41a7-8462-4c49445a4...@gmail.com... On Nov 5, 2009, at 16:12, Eric B. wrote: Daniel L'Hommedieu dlhommed...@gmail.com wrote in message news:670a051c-1871-4e2e-82d8-187324ef1...@gmail.com... On Nov 5, 2009, at 15:52,

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
Victor Duchovni victor.ducho...@morganstanley.com wrote in message news:20091105214246.gd27...@np305c2n2.ms.com... On Thu, Nov 05, 2009 at 04:27:33PM -0500, Daniel L'Hommedieu wrote: Your postfix server will use DNS to query for the MX record for example.com, which will return

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 05:12:28PM -0500, Eric B. wrote: Much easier to just use a transport(5) table entry. If one is willing to implement static overrides (rather than redirect DNS queries to an alternate source), the transport(5) table is by far the simplest choice. I did get the

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
Wietse Venema wie...@porcupine.org wrote in message news:20091105214748.ad1b71f3...@spike.porcupine.org... Daniel L'Hommedieu: I definitley have chroot set to Y in my master.cf file, and have done a postfix restart. I do get a warning on restart that Run LSOF and see what it says for

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 05:34:46PM -0500, Eric B. wrote: pickup5509 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix qmgr 5510 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix So it seems as though Postfix is not

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
Victor Duchovni victor.ducho...@morganstanley.com wrote in message news:20091105225922.gi27...@np305c2n2.ms.com... On Thu, Nov 05, 2009 at 05:34:46PM -0500, Eric B. wrote: pickup5509 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix qmgr 5510 postfix

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
Victor Duchovni victor.ducho...@morganstanley.com wrote in message news:20091106004615.gn27...@np305c2n2.ms.com... On Thu, Nov 05, 2009 at 06:36:28PM -0500, Eric B. wrote: smtp 7886 postfix rtd DIR 253,0 4096 1762695 /var/spool/postfix The smtp(8) delivery

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 11:11:30PM -0500, Eric B. wrote: Not necessarily. They may have already opened all the files they need and loaded all the libraries they need before they chroot. Postfix processes chroot themselves, after they initialize and just before they drop privs, they are

How to override an MX value for a particular domain only?

2009-11-04 Thread Eric B.
Hi, I'm running postfix on an internal network with an internal DNS. My internal DNS is configured for my particular domain (ie: mydomain.com). I have an MX pointer that points to my postfix machine so any email being generated for mydomain.com from the internal network ends up at the

Re: How to override an MX value for a particular domain only?

2009-11-04 Thread Martijn de Munnik
On Nov 4, 2009, at 10:52 PM, Eric B. wrote: Hi, I'm running postfix on an internal network with an internal DNS. My internal DNS is configured for my particular domain (ie: mydomain.com). I have an MX pointer that points to my postfix machine so any email being generated for

Re: How to override an MX value for a particular domain only?

2009-11-04 Thread Wolfgang Zeikat
Martijn de Munnik wrote: On Nov 4, 2009, at 10:52 PM, Eric B. wrote: How can I instruct Postfix on that server to ignore the MX record being served by the internal DNS and actually query an external DNS server for the MX pointer instead? I looked through the main.cf config file, but can't

Re: How to override an MX value for a particular domain only?

2009-11-04 Thread Eric B.
Wolfgang Zeikat wolfgang.zei...@desy.de wrote in message news:4af201f9.8060...@desy.de... Martijn de Munnik wrote: On Nov 4, 2009, at 10:52 PM, Eric B. wrote: How can I instruct Postfix on that server to ignore the MX record being served by the internal DNS and actually query an external

Re: How to override an MX value for a particular domain only?

2009-11-04 Thread Seth Mattinen
Eric B. wrote: Is there no way to direct Postfix to a different DNS server (as opposed to the ones specified in resolve.conf) either for a particular domain, or for all domains altogether? No, that's outside of the purview of Postfix. You could probably do something with BIND views

Re: How to override an MX value for a particular domain only?

2009-11-04 Thread Victor Duchovni
On Wed, Nov 04, 2009 at 06:16:56PM -0500, Eric B. wrote: Is there no way to direct Postfix to a different DNS server (as opposed to the ones specified in resolve.conf) either for a particular domain, or for all domains altogether? If you chroot-jail the smtp(8) delivery agent, it will use

Re: How to override an MX value for a particular domain only?

2009-11-04 Thread Kenneth Marshall
On Wed, Nov 04, 2009 at 03:26:07PM -0800, Seth Mattinen wrote: Eric B. wrote: Is there no way to direct Postfix to a different DNS server (as opposed to the ones specified in resolve.conf) either for a particular domain, or for all domains altogether? No, that's outside of the