[SOLVED] How I Can change SMTPD Banner IN ZCS 8.7

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
razmik
Posts: 19
Joined: Mon Aug 21, 2017 6:28 pm

[SOLVED] How I Can change SMTPD Banner IN ZCS 8.7

Post by razmik »

I do this but after reload postfix nothing result
zimbra@mail:~$ postconf -e smtpd_banner='$myhostname ESMTP Kukariku'
zimbra@mail:~$ postconf smtpd_banner
smtpd_banner = $myhostname ESMTP Kukariku
zimbra@mail:~$ postfix reload
/postfix-script: refreshing the Postfix mail system
zimbra@mail:~$ postconf smtpd_banner
smtpd_banner = $myhostname ESMTP $mail_name


Please Help me
Regards,
Razmik
vdagost-fr
Posts: 43
Joined: Mon Apr 11, 2016 11:59 am

Re: How I Can change SMTPD Banner IN ZCS 8.7

Post by vdagost-fr »

Hello,

You should edit main.cf.in because the main.cf file you are modifyng with postconf is overwritten while zimbra restart.

Regards,
Victor
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: How I Can change SMTPD Banner IN ZCS 8.7

Post by phoenix »

How about this:

Code: Select all

zmprov gcf zimbraMtaSmtpdBanner
That will display your current banner, you can modify it by using "zmprov mcf zimbraMtaSmtpdBanner [your modified entry]" - obviously put your modified banner in there.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
razmik
Posts: 19
Joined: Mon Aug 21, 2017 6:28 pm

Re: How I Can change SMTPD Banner IN ZCS 8.7

Post by razmik »

phoenix wrote:How about this:

Code: Select all

zmprov gcf zimbraMtaSmtpdBanner
That will display your current banner, you can modify it by using "zmprov mcf zimbraMtaSmtpdBanner [your modified entry]" - obviously put your modified banner in there.

Thank you this is right answer!!!!!!! ;) ;) ;) ;)
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: How I Can change SMTPD Banner IN ZCS 8.7

Post by phoenix »

razmik wrote:Thank you this is right answer!!!!!!! ;) ;) ;) ;)
You're welcome, you'll have to edit the title but please mark this thread as "Solved".
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
mohanjoy
Posts: 2
Joined: Thu Feb 10, 2022 7:35 am

Re: How I Can change SMTPD Banner IN ZCS 8.7

Post by mohanjoy »

phoenix wrote:How about this:

Code: Select all

zmprov gcf zimbraMtaSmtpdBanner
That will display your current banner, you can modify it by using "zmprov mcf zimbraMtaSmtpdBanner [your modified entry]" - obviously put your modified banner in there.

Hi

Thanks for your answer it is working fine.
Post Reply