Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 1996 21:47:50 +0200 (MET DST)
From:      Wilko Bulte <wilko@yedi.iaf.nl>
To:        FreeBSD-hackers@freebsd.org (FreeBSD hackers list)
Subject:   using mailertables with uucp
Message-ID:  <199607221947.VAA02221@yedi.iaf.nl>

next in thread | raw e-mail | index | archive | help
Hi there 

This might be a bit inappropriate for -hackers, I'll take it
offline when I get responses:

I want to built:

Internet ----- <mailhub.tcja.nl>   .......... <dontpanic.tcja.nl>

mailhub has Internet connectivity. The .... is an dialup (once every
few days) PPP link. dontpanic uses UUCP over TCP/IP to get the
mail from mailhub (dontpanic has an changing IP address from the ISP).

My idea was to the following to do incoming mail: have a mailertable
on mailhub that sez:

.tcja.nl        uucp-dom:dontpanic

Then mailhub would uucp queue all mail, waiting for dontpanic to 
dialin and grab things using uucp.

I built this idea (short of the Internet link to mailhub) at home.
But for some reason mailhub does not seem to understand that it should
do a uucp queue when it receives mail for .tcja.nl:

bash# mailq
                Mail Queue (1 request)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
VAA00735       12 Mon Jul 22 21:26 wilko
                 (Deferred: Name server: blurk.tcja.nl: host name lookup
failu)
                                   root@blurk.tcja.nl

I can understand that sendmail cannot deliver when DNS is not up, but 
I expected it not to bother with DNS and just dump the received mail into
the uucp queue.

Below is the .mc file, some comments indicated with !!!

bash# cat mailhub.mc
include(`../m4/cf.m4')
VERSIONID(`mailhub_tcja.mc   (wilko) 22/7/1996')dnl
OSTYPE(bsd4.4)

FEATURE(nodns)dnl
!!! tried this, but no difference !!!

# !!! ORDER is important !!!
MAILER(local)
MAILER(smtp)
MAILER(uucp)

FEATURE(always_add_domain)

# need a mailertable to get the mail to dontpanic
FEATURE(mailertable, `dbm -o /usr/local/etc/mailertable.db')

define(`confCOPY_ERRORS_TO', `Postmaster')dnl
# for new sendmail on FreeBSD 2.0
#define(`confPRIVACY_FLAGS', `authwarnings,noexpn,noreceipts')dnl
define(`confPRIVACY_FLAGS', `authwarnings,noexpn')dnl

# 14 day timeout before returning to sender
define(`confMESSAGE_TIMEOUT', `14d')dnl

Insights are appreciated. I did some rtfm on the O'Reilly Sendmail book
but mailertables are just very briefly described

Thanks

Wilko
_     ____________________________________________________________________
 |   / o / /  _   Wilko Bulte             email: wilko@yedi.iaf.nl
 |/|/ / / /( (_)  Private FreeBSD site  - Arnhem - The Netherlands
--------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607221947.VAA02221>