Thanks rob0,

Thanks for your reply.

I will try route sendmail to postfix, successful will update.

Regards,
Ramesh




________________________________
 From: /dev/rob0 <r...@gmx.co.uk>
To: postfix-users@postfix.org 
Sent: Tuesday, 13 March 2012 6:26 PM
Subject: Re: relaying
 
On Tue, Mar 13, 2012 at 02:08:05PM +0800, Ramesh wrote:
> Is it possible to force sendmail on a remote host to relay
> all messages through server running postfix.
> 
> currently email are sent through postini because domainX MX
> record points to postini, I want sendmail on domainX to send
> directly to remote postfix server and bypass postini.

If you are speaking of the Sendmail MTA, you're asking on the wrong 
list. But I can save you a bit of time by advising you to look at 
setting the "smarthost" option.

If you are speaking of sendmail(1) submission in a Postfix MTA, 
there's no trivial way to distinguish how such mail is routed vs. 
other forms of submission.

If you want to route all mail from that Postfix through a different 
Postfix, it is simple:

main.cf :
relayhost = [different.postfix.hostname.or.IP]

Reference: http://www.postfix.org/postconf.5.html#relayhost

The MX records do not affect sending mail unless you configured a 
non-default setting somewhere.

These two links might help:

http://www.postfix.org/BASIC_CONFIGURATION_README.html#relayhost
http://www.postfix.org/STANDARD_CONFIGURATION_README.html

If you do have a Postfix issue, it usually is best to begin by 
describing the problem and goal in real, non-technical terms. Your 
followup should be made in accordance with these guidelines:

http://www.postfix.org/DEBUG_README.html#mail
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to