[lug] Sendmail config
Harris, James
James_Harris at maxtor.com
Tue Jul 17 13:20:28 MDT 2001
You could also add a -q5m (or whatever time interval) to the SENDMAIL_ARGS
in that config file you included if you don't feel like mucking with the cf.
It looks like you're probably already running as a daemon, but your interval
is probably so long in the cf that you're having to wait for the flush.
-----Original Message-----
From: Chip Atkinson [mailto:catkinson at circadence.com]
Sent: Tuesday, July 17, 2001 13:10
To: lug at lug.boulder.co.us
Subject: Re: [lug] Sendmail config
Try sendmail -bd which will run it as a daemon. Then set the
queue_run_delay in sendmail.cf. The alternative is to set up a cron job
to flush the queue every n minutes.
Chip
John Karns wrote:
> 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
>
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list