When I want to add a different banner with -o in master.cf for a secondary 
smtpd, this fails

with
<<Dec 28 17:06:46 postfix2/smtpd[23282]: fatal: unexpected command-line 
argument: ESMTP
Dec 28 17:06:47 postfix2/master[23270]: warning: process /usr/lib/postfix/smtpd 
pid 23282 exit status 1
Dec 28 17:06:47 postfix2/master[23270]: warning: /usr/lib/postfix/smtpd: bad 
command startup – throttling
>>

http://www.postfix.org/postconf.5.html#smtpd_banner says <<
smtpd_banner (default: $myhostname ESMTP $mail_name)
The text that follows the 220 status code in the SMTP greeting banner. Some 
people like to see the mail version advertised. By default, Postfix shows no 
version. 
You MUST specify $myhostname at the start of the text. This is required by the 
SMTP protocol. 
Example: 
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)>>

but with -o , this does not work above

also the following variants fail

-o smtpd_banner=mail.dom.com ESMTP abc
-o smtpd_banner=”mail.dom.com ESMTP abc”
-o smtpd_banner=mail.dom.com\ ESMTP\ abc
-o smtpd_banner=’mail.dom.com ESMTP abc’


Any hints?

  Many thanks in advance

     Ralf
-- 
cell: +41 76/381-7760
fax: +41 43/558-8588 

Securely and spam-free via:
https://www.privasphere.com/hau...@acm.org


Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser

Reply via email to