On Sun, Jul 22, 2012 at 11:01:20AM +0300, mailing list subscriber
wrote:
> Ok, this¹ has been raised over a few times in the past, but I'm
> not satisfied with the answer (referral to man page of lmtp/smtp
> instead of idiot-proof narrative version like other *_README
> howtos).
> 1. Do the cached file contents still apply to current release
> version of postfix?
> 2. If yes, why is it retired/not present as
> http://www.postfix.org/LMTP_README.html?
> 3. If not, why isn't there the updated version?
>
> Cheers
> ___
> ¹ http://nixforums.org/about29845-lmtp_readme.html
> http://marc.info/?l=postfix-users&m=110442875921891
>
> ² https://www.google.com/search?q=lmtp_readme
As Victor pointed out in the referenced thread, the most similar
document presently supported would be MAILDROP_README. Frankly I'm
not sure that MAILDROP_README is appropriate in Postfix
documentation.[1] Dovecot's "deliver" LDA is probably more widely
used now.
I didn't carefully pick over the retired LMTP_README, but I did see
mention of virtual_maps therein, which gives a clue as to its
vintage, pre-Postfix 2.0.
The big difference between LMTP and Courier Maildrop (or Dovecot LDA)
delivery is that LMTP is a network process, more like
ADDRESS_CLASS_README.html#relay_domain_class , whereas maildrop &
deliver are commands invoked for receipt of mail.
The way I would implement LMTP (which I have not yet done, but I am
sure I'll do eventually, for a customer if not for my own site) is as
a relay domain, with that domain listed in transport_maps:
sqlite = sqlite:$config_directory/query
relay_domains = $sqlite/relay_dom.query
transport_maps = $sqlite/transport.query
$ postmap -q example.net sqlite:/etc/postfix/query/relay_dom.query
example.net
$ postmap -q example.net sqlite:/etc/postfix/query/transport.query
lmtp:example.net.rob0
$ dig +short mx example.net.rob0
0 localhost.
And my LMTP listener on localhost would be configured to accept and
deliver mail for example.net addresses. That part would be out of
scope for Postfix, depending on the LMTP/imapd implementation.
Bottom line: I think LMTP is covered well enough in README documents
as is. If I was to suggest a new README it would be called
TRANSPORT_README, and it would cover the concept of transport(5) in
Postfix. The transport(5) manual is good, but it could be augmented
with some high-level examples and illustrations of the various knobs
available, e.g. transport_* postconf(5) settings. My idea of a
TRANSPORT_README would show transports being used for delivery of
your own mail as well as their use for external sending.
If I had time I would start on a rough draft thereof. :) Lucky for
me, I've had some work lately. (Maybe in the fall I can get to it.)
For the OP, whom I guess is considering LMTP delivery, I would
suggest concentrating on understanding address classes and the
transport(5) manual.
[1] That said, I would hate to see MAILDROP_README go, because it
credits our late friend and list participant, Tonni Earnshaw. :)
--
http://rob0.nodns4.us/ -- system administration and consulting
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: