Differences between version 4 and previous revision of LMTPNotes.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Wednesday, August 23, 2006 6:55:02 pm | by CraigBox | Revert |
Older page: | version 3 | Last edited on Wednesday, August 23, 2006 6:18:15 pm | by CraigBox | Revert |
@@ -13,13 +13,26 @@
<pre>
cyrus_lmtp:
driver = smtp
protocol = lmtp
- hosts = localhost
+ hosts = your.host.name
allow_localhost
</pre>
-In /etc/cyrus.conf, uncomment the lmtp line, and change the command line from <tt>lmtpd</tt> to <tt>lmtpd -a</tt>.
+
+
In /etc/cyrus.conf, uncomment the lmtp line, and change the command line from <tt>lmtpd</tt> to <tt>lmtpd -a</tt>. Copy that line, and bind it to your.host.name as well.
+
+__WARNING:__ this means anyone who can connect to your machine on 2003/tcp can deliver it mail. Firewall it.
+
+Test with <tt>exim4 -bhc ip.ad.re.ss</tt>.
+
+You cannot put <tt>hosts = localhost</tt>, else you will get:
+
+<verbatim>
+>>> accept: condition test deferred
+451 Could not complete recipient verify callout
+LOG: H=(fosdf) [202.49.46.2] F=<foosg@dsgsg> temporarily rejected RCPT sdgg@hs.net.nz: Could not complete recipient verify callout
+</verbatim>
See [Cyrus IMAP at the Exim wiki|http://www.exim.org/eximwiki/CyrusImap].
!! Sample [LMTP] session