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

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

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

Postby razmik » Wed Oct 18, 2017 7:51 am

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: 38
Joined: Mon Apr 11, 2016 11:59 am

Re: How I Can change SMTPD Banner IN ZCS 8.7

Postby vdagost-fr » Wed Oct 18, 2017 8:26 am

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: 25085
Joined: Fri Sep 12, 2014 9:56 pm

Re: How I Can change SMTPD Banner IN ZCS 8.7

Postby phoenix » Wed Oct 18, 2017 8:47 am

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

If you'd like to see this implement in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
razmik
Posts: 10
Joined: Mon Aug 21, 2017 6:28 pm

Re: How I Can change SMTPD Banner IN ZCS 8.7

Postby razmik » Wed Oct 18, 2017 1:16 pm

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: 25085
Joined: Fri Sep 12, 2014 9:56 pm

Re: How I Can change SMTPD Banner IN ZCS 8.7

Postby phoenix » Wed Oct 18, 2017 1:18 pm

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

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implement in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 21 guests