[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim configuration for Laptop



On Tue, Nov 12, 2002 at 03:48:30PM -0600, Jamin W. Collins wrote:
| I've been wondering how best to configure Exim for use on a Laptop.  How
| are other Debian users configuring it?

My recommendation is to use a smarhost, one way or another.  Are you
the admin of some mail server on the Internet or do you have shell
access to one?  Here are the ways I can think of to set this up :

1)  Configure SMTP AUTH on your permanent mail server.  Configure the
    laptop to always use that machine (and authenticate) for relaying.
    Using AUTH allows you to avoid being an open relay and at the same
    time allows authorized users from any location to relay.

2)  On the laptop use a pipe to
        ssh $host '/usr/sbin/exim -bS'
    for delivery.  Also set up public key authentication (with a null
    passphrase) between the machines.  This will let you use ssh as a
    tunnel to the permanent machine.  That machine will accept mail on
    stdin and deliver it to its destination (regardless of domain).
    The remote mail server will not know the difference between this
    config and a local process (eg mutt) doing the same thing.

3)  Use ssh to tunnel a TCP connection to the permanent machine and
    use localhost as the smarthost.  This requires that the permanent
    machine relays for 127.0.0.1.

    To set up the ssh tunnel, use this command :
        ssh -C -L 2525:localhost:25 $host
    With that tunnel, use
        route_list = "* 127.0.0.1:2525 byname"
    as the smarthost in exim.conf.

HTH,
-D

-- 
Emacs is a nice operating system, it lacks a decent editor though
 
http://dman.ddts.net/~dman/

Attachment: pgpiYbooJt15J.pgp
Description: PGP signature


Reply to: