🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3524

Re: sendmail and queuereturn time length

#3524
From: will kemp
Date: Sun, 03 Aug 2003 08:31
53 lines
2686 bytes
In aus.computers.linux Tim Warnock <timoid@nospam.getonit.net.au> wrote:

> i have added:

> define(`confTO_QUEUERETURN',`10d')dnl

> to sendmail.mc

> hoping to allow one of my servers to be a backup mail exchange.

> however:

> when I run make, it is regenerating the relevant .cf file, but is not
> updating it to 10 days, rather staying at the default of 5 days

that should work. however, *where* have you added that statement? there's 
a "correct" order for statements in the .mc file, if you want it to work 
properly. this is one of the .mc files i've used successfully:

divert(-1)
# sendmail config for dialup system. will 15/9/01
divert(0)
include(`../m4/cf.m4')
VERSIONID(`beer sendmail config')dnl
OSTYPE(linux)dnl
DOMAIN(`generic')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`mailertable')dnl
FEATURE(`virtusertable')dnl
FEATURE(`local_procmail')dnl
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`access_db')dnl
define(`SMART_HOST', `mail.smartchat.net.au')dnl
define(`confTRUSTED_USERS', `will')dnl
define(`confTO_QUEUERETURN', `7d')dnl
define(`confTO_QUEUEWARN', `24h')dnl
MAILER(local)dnl
MAILER(smtp)dnl

"FEATURE"s first, "define"s next, "MAILER"s last. i'm not 100% certain of 
what bits of the order really matter, but it ought to be either in the 
sendmail/cf/README or in the sendmail faq at www.sendmail.org.

the other thing is, you use 'make' to build that file. have you tried:

m4 sendmail.mc > sendmail.cf

? if you haven't got the "include(`../m4/cf.m4')" statement (above) in
sendmail.mc, you'll need:

m4 ../m4/cf.m4 sendmail.m4 > sendmail.mc

will
Technical Details
Message-ID: <bgih9b$1np$3@merki.connect.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!usenet.net.nz!news.iprolink.co.nz!news.syd.connect.com.au!not-for-mail
References: <bgdhrd$71m$1@gnamma.connect.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10de99,3f84f8c477d9b4b3
X-Google-Attributes: gid10de99,public
X-Google-Thread: 102983,3f84f8c477d9b4b3
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 2003-08-03 01:31:40 PST
From: will kemp <will@xxxx.swaggie.net>
Newsgroups: comp.mail.sendmail,aus.computers.linux
Subject: Re: sendmail and queuereturn time length
Date: 3 Aug 2003 08:31:39 GMT
Organization: swaggie.net
Lines: 53
Message-ID: <bgih9b$1np$3@merki.connect.com.au>
References: <bgdhrd$71m$1@gnamma.connect.com.au>
NNTP-Posting-Host: cor1-ppp27.lis.dialup.connect.net.au
X-Trace: merki.connect.com.au 1059899499 1785 210.10.246.27 (3 Aug 2003 08:31:39 GMT)
X-Complaints-To: abuse@connect.com.au
NNTP-Posting-Date: 3 Aug 2003 08:31:39 GMT
User-Agent: tin/1.4.7-20030322 ("Suggestions") (UNIX) (Linux/2.4.18-3 (i686))
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!usenet.net.nz!news.iprolink.co.nz!news.syd.connect.com.au!not-for-mail