[lug] Sendmail config

John Karns jkarns at csd.net
Tue Jul 17 11:23:50 MDT 2001


I am anxious to get sendmail working a little more smoothly on my
machines.  Generally it works, but not without a bit of hassle.
Specifically, receiving mail is now a two step process.  After POP'ing my
ISP mbox, the mail sits in /var/spool/mqueue until I manually issue
"sendmail -q" to flush it out and into my personal mailbox file.  (There
was a thread here a while back referring to this problem, but the answer
was pretty specfific to RH, and I couldn't translate it to generic
sendmail or SuSE.)

With my previous installations, this was one step.  From my mail.log:


Fetchmail / POP:

Jul 16 22:08:39 jkInsp8000 sendmail[1080]: f6H38dM01080:
from=<lug-admin at lug.boulder.co.us>, size=3327, class=-60, nrcpts=1,
msgid=<5.1.0.14.2.20010716203946.01eb1568 at 192.168.2.40>, proto=ESMTP,
daemon=MTA, relay=localhost [127.0.0.1]


'sendmail -q':

Jul 16 22:14:14 jkInsp8000 sendmail[1161]: f6H38dM01080:
to=<jkarns at localhost>,
delay=00:05:35, xdelay=00:00:00, mailer=local, pri=231327, dsn=2.0.0,
stat=Sent

My setup is just dialup (SuSE 7.1), although I use a psuedo-domain.  Some
of the sendmail config options as they are presently set
(/etc/mail/sendmail.rc.config):

#
# sendmail assumes the following space-separated host-names to be
# the local host (this must just be used for names differrent to the
# hostname, for e.g. aliases like www.nowhere.com)
#
SENDMAIL_LOCALHOST="localhost"

SENDMAIL_ARGS="-bd -om"

SENDMAIL_EXPENSIVE="yes"

SENDMAIL_NOCANONIFY="yes"

SENDMAIL_NODNS="no"

#
# let sendmail deliver local mails in defer (postpone) mode.
# This also sets some entries to avoid dialups.  A correct
# FQHOSTNAME for the local host is required.
#
SENDMAIL_DIALUP="yes"

#
# in addition to the local domains, these domains can be changed
# in /etc/mail/genericstable
#
SENDMAIL_GENERICS_DOMAIN=""

#
# this is useful if you have several domains with disjoint namespaces
# hosted on the same machine.
#
MASQUERADE_DOMAINS=""


----------------------------------------------------------------
John Karns                                        jkarns at csd.net





More information about the LUG mailing list