My ISP is changing its email system to now require SMTP authentication so I
am reconfiguring exim to use SMTP client-side authentication. Several
people use the computer, and each has his own email account with
the ISP. The computer has a DSL connection and runs 24/7. I have not
come across anything in exim's documentation or googling on internet
to explain how to set this up for several people. When I set up
exim.conf's Authentication Configuration section with:
plain:
driver = plaintext
public_name = PLAIN
client_send = "^jracksjr^*********"
The setup works fine for me, but the ISP's outgoing mail server
rejects email from everyone else. After several hours reading through
exim's documentation, I ended up building a file of uid's and
passwords with lines like:
1000: ^username1^password1
1001: ^username2^password2
and lookup function in exim.conf:
client_send = "${lookup{$originator_uid}lsearch{/etc/exim/smtp-passwd}{$value}}
"
This seems to work, but has problems that if the lookup fail, exim stops
running, and all the passwords are now in plain text in a world
readable file.
Is there a better way to do this?
I am using testing distribution with fetchmail/procmail/mutt/exim.
TIA
--
Jerome
Attachment:
pgpnFq1qHqCVs.pgp
Description: PGP signature