Dnia 29.01.2026 o godz. 15:01:50 Tim Harman via Postfix-users pisze: > My mailserver is really small (~10 users, 3 domains), mail is > delivered to /home/<user>/Maildir or just forwarded (with SRS) to > other email addresses. > Currently that's done by Postfix with "mailbox_command = > /usr/bin/procmail" and a global procmailrc with > DEFAULT=$HOME/Maildir/ > > I'm fully aware of how old, out of date and unsupported procmail is, > so I wish to move away from it. I am currently considering (and > have pretty much decided) using Dovecot's LMTP to do delivery to > user's Maildirs. This means I can then also use sieve - this seems > like an easy-win best practice to me.
If you deliver mail to users' Maildirs, I think still the most natural way to do it is to use Postfix's regular local(8) delivery agent. You can combine it with procmail by calling it via .forward file in user's home directory, it's the "old fashioned" method of calling procmail (and in fact the basic one mentioned in procmail documentation), but still works flawlessly. This is how I still do it, and see no reason to change this. > My only real hesitation is that in my current setup, I can shut > Dovecot down and mail is still delivered just fine. With my > proposed setup, mail would be queued in Postfix but not actually > delivered until Dovecot was running again. The flipside of course > is, why would I be shutting down Dovecot? If you can't read mail > what's the point of a mailserver... You can still read mail while Dovecot is down, by ssh'ing to the server and running a mail client (like mutt) locally on the server. This is in fact how I still read most of my mail (and how I'm writing this message now). I have Dovecot running simultaneously and use a GUI mail client on my PC when I need to send or retrieve attachments, but that's about 10-20% of my mail. Dovecot provides only *external* access to mailbox. Locally, you can always access mail regardless of any service running or not. I know my approach may not look "modern", but it *works*, and if something works, why change it? Being "modern" just for sake of being "modern" is not always the best path to follow... -- Regards, Jaroslaw Rafa [email protected] -- "In a million years, when kids go to school, they're gonna know: once there was a Hushpuppy, and she lived with her daddy in the Bathtub." _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
