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

Re: Help! Exim & verizon.net



On Fri, 13 Dec 2002 15:44:37 -0500
R Ransbottom <rir@attbi.com> wrote:

> On Thu, Dec 12, 2002 at 05:20:55PM -0600, Gerald V. Livingston II
> wrote:
> > 
> > R Ransbottom said:
> > 
> > >
> > > I am trying to set up a debian mail server that
> > > sees the world through incoming.verizon.net and
> > > outgoing.verizon.net.
> 
> > Short reply for now. It can be done. I'm using smarthost with SMTP
> > auth on my home system. I am remote right now on a weak machine so I
> > don't want to ssh to my box to dig through the config. I will be
> > home in a few hours and will post the solution then if no-one else
> > has.
> 
> I would appreciate the info.  I've read the other posts and spec.txt
> chap 35 and think I have a handle on this, but I must be missing
> something basic.

Sorry -- eneded up staying out overnight. Life has been hectic here
the last 3 weeks or so. Here is the relevant section that makes it work
for me. I first set up using the"smarthost" option then dug around on
the net until I found this.

This is for a smarthost that uses "plain" or "NT" SMTP AUTH.

This section is added in its entirety at the very end of the exim.conf
file. Note that the lines that start with "server_condition = " have
wrapped and should be one line all the way out to the " {0}}" ".

Also, the second part, starting with "login:" is not needed. That
section causes *MY* Exim setup to use SMTP AUTH for one particular local
username so I can send mail out through my own mail server (which then
goes out through the smarthost) when I am using another physical machine
since I have all non-local machines restricted from relaying further up
in the exim.conf file. Only that one username can relay mail unless
actually sending from the local machine. I set that up since I quite
often use my laptop on several different networks and discovered I
couldn't use "localhost" as my outgoing mail server. It lets me keep a
similar mail setup on both my laptop and desktop (Sylpheed reading IMAP
folders -- through an ssh tunnel if I'm not local).

Gerald

######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################

# Look in the documentation (in package exim-doc or exim-doc-html for 
# information on how to set up authenticated connections.

# The examples below allow two styles of plain-text authentication
# against an /etc/exim-passwd file which should have user IDs in the
# first column and crypted passwords in the second

 plain:
   driver = plaintext
   public_name = PLAIN
   client_send = ^username^password
   server_condition = "${if
crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim-passwd}{$valu
e}{*:*}}}}}{1}{0}}"   
   server_set_id = $1

 login:
   driver = plaintext
   public_name = LOGIN
   client_send = :localauthorizedusername:password
   server_prompts = "Username:: : Password::"
   server_condition = "${if
crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim-passwd}{$valu
e}{*:*}}}}}{1}{0}}"
   server_set_id = $1

# End of Exim configuration file

-- 
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com



Reply to: