Change SMTP Banner

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

the_pc_nerd

Change SMTP Banner

Postby the_pc_nerd » Thu Jun 22, 2006 11:30 pm

I have been looking diligently on google.com and the forums to find a way to customize the SMTP banner that is displayed.

Is it possible to change this banner?
How?
Which configuration file needs to be modified?
Exactly what would be the syntax to change the banner in the configuration file?

Thanks all,

the_pc_nerd

Re: SMTP banner change

Postby the_pc_nerd » Fri Jun 23, 2006 1:09 am

I was able to figure out how to change the SMTP banner. In Scalix community edition version 10 there is a directory called /opt/scalix/newconfig with a file called om_sendmail.cf.

Modify the line in the om_sendmail.cf file of:
#SMTP initial login message
O SmtpGreetingMessage=$j Sendmail $v/$Z; $b

Anything after the equal sign will be shown. I have found that you can use the following syntax and what they mean.

Any alphanumeric character can be used.
$j - hostname of server
$v is the version of Scalix or Sendmail in the above example
\n - is for a new line in the greeting
$b - is for the date and time

After the modifications are complete run the script ./sm_update located in the same directory as om_sendmail.cf. This will then bakcup the om_sendmail.cf file and recreate the /etc/mail/sendmail.cf file.

This does answer the above question that I had. However, I would like to learn more of the syntax that can be used on the greeting line. Post a reply to extend how I could do that.

Thanks all: Scalix is great :)


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests