SMTP Setup
M.W. Chang
mwchang
Mon May 17 11:59:47 PDT 2004
> What programs do I need to setup on my server host so that it will handle
> incoming mail correctly? I have tried to setup sendmail (see bottom) but
> wasn't sure if that was what was required.
Sendmail will do. Just don't turn it into an open relay. Set up
/etc/mail/access properly or use SMTP AUTH.
> define(`confDEF_USER_ID',``8:12'')dnl
above line probably not needed.
> define(`confTRUSTED_USER', `smmsp')dnl
above line probably not needed.
> define(`UUCP_MAILER_MAX', `2000000')dnl
suspect that you should use confMAX_MESSAGE_SIZE
> define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
what does this line do?
> define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
> define(`confAUTH_OPTIONS', `A')dnl
you may need two more lines for SMTP AUTH:
define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
hmm.. you also need to set /usr/lib/sasl/Sendmail.conf
> FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
if you are not familiar with sendmail, don't use smrsh. Or you should
read the linux-sxs article on setting up smrsh.
> FEATURE(always_add_domain)dnl
may not be needed
> FEATURE(`allmasquerade')
> MASQUERADE_DOMAIN(`mydomain.com.')dnl
> MASQUERADE_DOMAIN(mydomain.com)dnl
You may want to disable these lines for your first run. And add them later.
--
.~. http://toylet.homeip.net
/ v \ Linux 2.4.22-xfs
/( _ )\ 9:22pm up 3:05 1 user
^ ^ 1.06 1.02
More information about the Linux-users
mailing list