On Tue, 23 Nov 1999 20:35:58 -0200, Nicolas Anquetil blurted:
Quote:>I am using qmail 1.03 on a stand alone RH 6.0
>What sendmail to use when you have an intermitent ppp connection ?
>What I mean is that:
>- my line is bad, sometimes the connection cuts off in the middle of
>something (like sending a mail). These "failed" mails are kept
>somewhere by qmail and never sent.
>- I would like to be able to "send" mails without worrying if I am
>connected or not. Qmail should keep the mail in a queue and send them
>as soon a s a connection is establish (which I do every hour with cron).
Maybe this will point you in the right direction,
Check these out in the /etc/sendmail.cf file
# "Smart" relay host (may be null)
DSsmtp:[ISP SMTP Server]
# Hosts that will permit relaying ($=R)
FR-o /etc/mail/relay-domains
# who I masquerade as (null for no masquerading) (see also $=M)
DM[Domain Name]
# avoid connecting to "expensive" mailers on initial submission?
O HoldExpensive=True
# default delivery mode
O DeliveryMode=background
------------------------------------------------------------------------
also, if you are using SuSE (I use 6.2), check out these options in
/etc/rc.config (don't forget to run SuSEconfig after editing it :)
#
# smarthost - this host gets all outgoing email from us
# normally used for uucp-connected sites or for dialup connections
# use "uucp-dom:server.uucp.com" to deliver all email to "server.uucp.com"
#
SENDMAIL_SMARTHOST="smtp:smtpmail.freenetname.co.uk"
#
# 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 dev.summerfieldtechnology.co.uk"
#
# do not deliver any email locally, but send all email to another host
# this can just be used with another system that has the same users on it
# and you probably also want to set the FROM_HEADER to the other host
#
SENDMAIL_RELAY=""
#
# with what parameters should sendmail be started?
# normal sites use "-bd -q30m -om". if you set SENDMAIL_EXPENSIVE and you
# have a dialup ISDN connection, you probably want to set this to
# "-bd -om" and run "sendmail -q" from your crontab.
#
SENDMAIL_ARGS="-bd -q30m -om"
#
# sendmail will only queue email in /var/spool/mqueue and will only start
# to deliver it if "sendmail -q" is run
#
SENDMAIL_EXPENSIVE="yes"
#
# sendmail will not try to canonify hostnames in your email
# so much less DNS-queries are send
# you probably want to enable this on a SENDMAIL_EXPENSIVE system
#
SENDMAIL_NOCANONIFY="yes"
--
Charles Blackburn
Summerfield Technology Limited - Official SuSE Reseller
Sponser Of the Birmingham (UK) Linux User Group
WWW: http://www.summerfieldtechnology.co.uk