Am 04.03.2014 09:59, schrieb Marcus MERIGHI:
> [email protected] (benoitc), 2014.03.04 (Tue) 09:41 (CET):
>> I am looking for some examples or guidance on how to configure =
>> opensmtpd and dovecot with mlmmj. Possibly using virtual hosting ( i =
>> have different domain to host with the users maintained in simple =
>> files). Is there any howto somewhere about it?
>
> this is [email protected] so there is only the info how to get from
> opensmtpd to mlmmj/dovecot.
>
> opensmtpd -> mlmmj:
>
> 1) Inbound mail to mailinglist (ML) gets redirected to a user via
> aliases:
> <email> <username>
> foobar-info: foobar-info
>
> 2) That user has a .forward of following content:
> |/usr/local/bin/mlmmj-recieve -L \
> /path/to/home/directory/of/<username>
>
> 3) Do not forget the cronjob for <username>:
> 9 */2 * * * /usr/local/bin/mlmmj-maintd -F -L \
> /path/to/home/directory/of/<username>
>
>
> opensmtpd -> dovecot:
> opensmtpd can deliver to maildirs where dovecot picks it up
It's better to either deliver via LMTP to dovecot or via dovecot's
delivery binary because this will keep the indexes intact that dovecot
needs to work efficiently.
in smtpd.conf:
accept ... deliver to lmtp "/var/run/dovecot/lmtp"
in dovecot.conf:
protocols = lmtp imap
service lmtp {
unix_listener lmtp {
# user = _smtpd
# group = _smtpd
# mode = 0600
mode 0666
}
}
Note that I tried to explicitly set the UNIX domain permissions for
/var/run/dovecot/lmtp to _smtpd:_smtpd, but this doesn't work as it
shows "smtpd: cound't establish connection: Permission denied". I am
not sure which user/group this should be!
Regards,
Michael
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]