Cambio en fichero de postfix master.cf

Post Reply
lmmartinez
Posts: 2
Joined: Mon Jun 12, 2017 9:24 am

Cambio en fichero de postfix master.cf

Post by lmmartinez »

Necesito hacer el siguiente cambio en el fichero master.cf y que permanezca siempre, ya que al reiniciar zimbra o el servidor, si lo editas a mano lo revierte, tengo la versión community 8.7.0_GA_1659

smtp-other unix - - n - - smtp
-o smtp_helo_name=my.other.helo.name
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Cambio en fichero de postfix master.cf

Post by phoenix »

If this is to change the SMTP Banner or the HELO/EHLO names then read this: http://support.commgate.net/index.php?/ ... ra-v.8.0.9
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
lmmartinez
Posts: 2
Joined: Mon Jun 12, 2017 9:24 am

Re: Cambio en fichero de postfix master.cf

Post by lmmartinez »

Thank you, but the problem is not the same. I have two domain and I need that each domains respond with this hello banner and the unique method that I have seen is add another transport rule...

In 'master.cf':

smtp-other unix - - n - - smtp
-o smtp_helo_name=my.other.helo.name

In 'main.cf':

sender_dependent_relayhost_maps = hash:/etc/postfix/relay_maps

In 'relay_maps':

my.other.domain smtp-other:

And run 'postmap /etc/postfix/relay_maps'

The part of main.cf is perfect, not revert if reset server, but the part of master.cf is the problem.
Post Reply