summaryrefslogtreecommitdiffstats
path: root/README.remote-auth
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-04 02:32:40 +0100
committermanuel <manuel@mausz.at>2013-02-04 02:32:40 +0100
commit8514473287c9594137c6fbc39f5619672ebc2430 (patch)
treea5b965d8c7b60dee396bf8ebe25dd3eddfaa6753 /README.remote-auth
parent35ddb916045abafaa4ae2c778b9383059fa06726 (diff)
downloadqmail-8514473287c9594137c6fbc39f5619672ebc2430.tar.gz
qmail-8514473287c9594137c6fbc39f5619672ebc2430.tar.bz2
qmail-8514473287c9594137c6fbc39f5619672ebc2430.zip
[PATCH] qregex-starttls-2way-auth-20060423-mm
Diffstat (limited to 'README.remote-auth')
-rw-r--r--README.remote-auth31
1 files changed, 31 insertions, 0 deletions
diff --git a/README.remote-auth b/README.remote-auth
new file mode 100644
index 0000000..ab91f23
--- /dev/null
+++ b/README.remote-auth
@@ -0,0 +1,31 @@
1Docs for http://www.qmail.org/qmail-remote_authenticated_smtp.patch
2a patch to convince qmail-remote to use Authenticated SMTP when
3talking to certain hosts.
4
5This version of the patch has been modified by Robert Sanders so that
6base64 encoding of usernames and passwords is done automatically by
7qmail-remote.
8
9After applying the patch, the username password go into
10/var/qmail/control/smtproutes like so:
11
12domain:relay username password
13
14The domain:relay part is identical to a normal smtproutes entry (see
15the qmail-remote man page). For sites that require authentication, you
16simply add two space separated fields to the line, where the first
17field is the username, the second is the password. For example:
18
19inside.af.mil:firewall.af.mil:26 johndoe secret
20
21would send mail for inside.af.mil to firewall.af.mil, port 26 using
22username 'johndoe' and password 'secret'
23
24Since smtproutes will contain plain text usernames and passwords
25you might want to make the file owned by qmailr and set its permissions
26to 0600. Of course, the entries are going to go over the wire in the clear
27anyway as part of the SMTP transaction.
28
29Good luck.
30
31j.