Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

master.cf

Status
Not open for further replies.

rig108

Technical User
Jul 27, 2006
5
GB
If i place this entry in bottom section of master.cf(see below)




repserver unix - n n - - pipe flags=FR user=repserver argv=/home/repserver/repserv -d $recipient

is it neccesary to place a corresponding line in the top section of the master.cf? (see below)

smtp inet n - y - - smtpd -o content_filter=repserver:dummy



what I want to do is this:

in main.cf


relay_domain = rep.robin.net


in master.cf

repserver unix - n n - - pipe flags=FR user=repserver argv=/home/repserver/repserv -d $recipient
 
Hi,

If you set relay_domains = xyz.com all that means is your postfix server will accept email for xyz.com and relay it to it's destination. If this is what you want to do (eg relay to another host) you need to edit /etc/postfix/transport and add an entry for xyz.com. For example:

xyz.com smtp:[ip.address]

You don't need an entry in master.cf to achieve this if relaying is what you are trying to do?

millap
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top