Koozali.org: home of the SME Server

smtp banner

mitch1234

smtp banner
« on: June 24, 2004, 01:53:43 AM »
Hello,

Could someone please tell me how to change the smtp banner for sme 6.

Thanks
Mitch

romst

how to fake mailfront banner?
« Reply #1 on: June 26, 2004, 11:06:39 AM »
does anybody know how to fake mailfront banner? (to M$ Exchange for sample) :)
only with patching of source code, or not?

schirrms

smtp banner
« Reply #2 on: June 30, 2004, 10:18:51 PM »
Hi,

After some search on my own SME (6.0.1) :
incomming SMTP connections are not handled directly by qmail, but by a frontend : frontmail.

To change the greeting message, create a new file named
SMTPGREETING in the /service/smtpfront-qmail/env dir

Write everything you want in the file

do a
Code: [Select]
service smtpfront-qmail restart
and try to connect to your local SMTP server :
Code: [Select]
telnet 127.0.0.1 25

That's all, I think.

HTH,

mitcheos

smtp banner
« Reply #3 on: July 01, 2004, 02:40:55 PM »
Thanks for the info, but im a newbie,

Could you please tell me the commands to create files and what extension etc..
Shouldnt we just edit an existing file?

Thanks for you help

Regards
mitch

schirrms

smtp banner
« Reply #4 on: July 01, 2004, 10:22:16 PM »
Oups,

This is not exactly a newbee operation...

Anyway :You have to create a new file
(by default, the file does not exist)
The file name is exactly that :
Code: [Select]
SMTPGREETING

The file must be in the directory
Code: [Select]
/service/smtpfront-qmail/env

I'm sorry, but as a old Unix player, I only use vi to edit any file, and i'm not very familiar with the very nice editors.
You should try to use mc
(just type mc in a root session)
this is a cool interface to manage file

Just be careful : mail is a fairly silent process (even if it goes wrong)
So, after creating your SMTPGREETING file and restarting smtpfront-qmail service

do the two following steps :
1) check if the greeting is as you want
do a
Code: [Select]
telnet 127.0.0.1 25 from your root session on SME.
You should see your Greeting on screen.
Just type
Code: [Select]
QUIT to close the telnet

2) Send mail to your SME Box, from your local network and from Internet (if your SME Box is to receive Internet mail), and double check that everything's going well

If you encounter some troubles, just suppress the GRETTINGS file and restart again the smtpfront-qmail service.

HTH,
Pascal

mitcheos

smtp banner
« Reply #5 on: July 07, 2004, 03:01:47 PM »
Hello Pascal, thankyou so much for your help :)
It is all working fine

Best Regards,
Mitch