Michael Leone on Tue, 7 May 2002 02:20:14 +0200


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

[PLUG] Controlled relaying for roaming users


I've implemented SMTP AUTH and TLS on my Debian postfix server. And it
works well - I have roaming users who make proper authenticated
connections, and can send email.

Here's the part I don't get - so far, all my clients have been Eudora,
or Windows clients, where I can specify that the client needs to make an
SMTP AUTH connection. Now, however, I want to use my laptop with mutt
(and postfix). And I can't quite figure out how to do an SMTP AUTH (or
perhaps a TLS connection would be better?) between the postfix MTA on my
laptop, and the postfix running on my home LAN.

I have the laptop postfix set to relay to my home LAN, and - on the LAN
- it works fine. But what will happen when I go off-site? The IP address
that the laptop will get will not be within $mynetworks. So I need the
SMTP AUTH.

I set "smtp_sasl_auth_enable" to yes on the laptop (I did install
postfix-tls on the laptop). I made a new map, specifying my home domain,
and a valid userid: smtp auth password.

my-domain.com		user:password

(user:password is the same user and password I use for my SMTP AUTH
connections from my Windows clients). Did a postmap on the file, and
reloaded postfix. Yet the logs on my home server do not show a SMTP AUTH
connection. I expected to see something like:

May  6 19:58:11 home-server postfix/smtpd[26058]: 1ED3AA003:
client=xxxx.my-domain.com[xxx.xxx.xxx.xxx], sasl_method=CRAM-MD5,
sasl_username=user

Instead I just see a normal "connect from" message.

What have I missed, to make the laptop postfix make a SASL connection to
home-server postfix?

-- 

PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
PGP public key:
<http://www.mike-leone.com/~turgon/turgon-public-key.gpg>

Conform or be cast out.



______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug