Differences between version 13 and predecessor to the previous major change of EximSmtpAuth.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 13 | Last edited on Thursday, February 3, 2005 6:16:12 pm | by CraigBox | Revert |
Older page: | version 8 | Last edited on Wednesday, June 23, 2004 3:13:41 pm | by DanielLawson | Revert |
@@ -1,6 +1,7 @@
+How I set up exim(8) [SMTP] Auth under Debian, in two parts: the server and the client.
+
!! Server Setup
-How I set up exim(8) [SMTP] Auth under Debian.
First make sure exim is working correctly doing everything but relaying.
Then create a /etc/pam.d/exim with:
@@ -41,9 +42,9 @@
Now restart exim and type
exim -bh localhost
try the commands
- EHELO
localhost
+ EHLO
localhost
exim should produce at least one line saying
AUTH LOGIN PLAIN
then type
AUTH LOGIN
@@ -102,6 +103,12 @@
client_send = ": <your username> : <your password>"
You probably also want to be using STARTTLS to encrypt the connection, otherwise your password is sent in plaintext. Under debian you need to make sure you have the exim-tls package installed.
+!!Server Prompts
+
+Some clients respond poorly to server prompts that don't match what they consider "correct". This problem will manifest itself by some clients being able to auth, and others not. to be safe, set
+
+ server_prompts="Username:: : Password::"
----
An alternative way of achieving a similar end (allowing hosts to relay through you for a set period of time) is to use [POPbeforeSMTP]
+See also [SMTPBestPractises]