From owner-freebsd-mobile Thu Mar 27 09:46:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA00787 for mobile-outgoing; Thu, 27 Mar 1997 09:46:25 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA00759 for ; Thu, 27 Mar 1997 09:46:17 -0800 (PST) Received: from tfd.com (tfd.com [206.205.61.2]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id IAA04889 for ; Thu, 27 Mar 1997 08:57:51 -0800 (PST) Received: from sneezy (sneezy.tfd.com [10.9.200.10]) by tfd.com (8.7.4/8.7.3) with SMTP id LAA16482 for ; Thu, 27 Mar 1997 11:58:01 -0500 (EST) Received: by sneezy id AA13189 (5.65b/IDA-1.4.3 for freebsd-mobile@freebsd.org); Thu, 27 Mar 97 11:56:33 -0500 Date: Thu, 27 Mar 97 11:56:33 -0500 From: Kent Hauser Message-Id: <9703271656.AA13189@sneezy> To: freebsd-mobile@freebsd.org Subject: sendmail & the roving laptop Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk How does one go about setting up sendmail to work with a travelling laptop? What I want is to be able to send mail to `foo@x.org' & have it queued for uucp transmission. I also want mail to `kent@tfd.com' and `kent' to be locally delivered. For extra credit I would like mail to `co-worker@tfd.com' and/or `co-worker' to be queued for uucp transmission. I have run into two main classes of problems: 1) sendmail refuses to *not* do a dns lookup even when the "no dns" option is specified. While my laptop nameserver has all of the local records, it can't do a real lookup while travelling. This causes sendmail to hang & not send the mail. 2) all mail is either locally delivered or queued. If mail to a co-worker is queued for uucp xmission, then my mail is also queued. If mail to me is locally delivered, then co-worker mail is also & bounces. [[ I experimented with the above while connected to the local ethernet to get around problem number 1. ]] As this must be a common problem, I hope someone can help me out. Thanks, Kent ======== For what it's worth, it's a piece of cake to get the mail server to forward a copy of all mail to the laptop via uucp. All you need is this entry in the `.forward' file & the following shell script. .forward: \kent, "|rsh uucp-host rmail-kent" rmail-kent: #!/bin/sh exec uux -p -n 'kent!rmail kent'