TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mail relaying




Ok, I'm having the sendmail process on my box at home zip mail off to
atlas.socsci.umn.edu to be sent, as I do not have a FQDN. I was getting sick
of mail getting bounced back to me. 

My question is: is there anything about the way I've done this that would
make sendmail drop a message from MAILER DAEMON in my inbox every
so often saying that it could not send a recent message I wrote for one day,
and that it will keep trying for 5 days? I'm sure most of you have seen
these messages, but I know for a fact that my messages are getting where
they're going, because I get replies. :)  It seems to be that if I get
these, it should be because the messages did not get to atlas (the relay). 

I'm including my /etc/mailrelay.mc that I feed into m4 to generate the
sendmail.cf here:

# mail relaying (maybe)

divert(0)
include(`/usr/lib/sendmail-cf/m4/cf.m4')
VERSIONID(`@(#)mailrelay.mc  8.9.3 ')
OSTYPE(`linux')dnl
define(`confDEF_USER_ID',``8:12'')
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')
FEATURE(masquerade_envelope)dnl
FEATURE(genericstable, hash -o /etc/mail/genericstable.db)
FEATURE(local_procmail)
GENERICS_DOMAIN(londinium) 
GENERICS_DOMAIN(londinium.chelseafc.net)   
GENERICS_DOMAIN(chelseafc.net) 

dnl # Defer Delivery to "expensive" mailers until next time the
dnl # queue is processed using "O HoldExpensive=True" and make
dnl # sure smtp mailers are "expensive".
dnl # (See original "sendmail" book Chapter 30: Options,
dnl # "Oc - Don't connect to expensive mailers", or
dnl # 2nd Edition "sendmail" book Chapter 34.8.29,
dnl # "HoldExpensive (c), Queue for expensive mailers".)
dnl #                           / Leif Erlingsson 

define(`confCON_EXPENSIVE', `True')
define(SMTP_MAILER_FLAGS, e)
define(`confTO_QUEUEWARN', `24h')
define(`SMART_HOST', `atlas.socsci.umn.edu')

MAILER(procmail)dnl
MAILER(local)dnl
MAILER(smtp)dnl

## end file

As far as I can tell from the mail-relaying FAQ that I picked up somewhere,
most of my config files are okey-dokey (such as /etc/mail/genericstable and
related stuff). 

Thanks for any ideas.

Cheers,

Joel

-- 
=======================================================================
Joel A. Koepp <jkoepp@atlas.socsci.umn.edu>	University of Minnesota
77 Bedford St. SE, Apt. 2			Department of Geography
Minneapolis, MN 55414-3553			M.A. Program
Tel: 612.378.4812				PGP/GPG keys on req.