Re: Support of Dovecot LDA for local delivery

2014-11-01 Thread Denis Fondras
Hi Eric,

 I'm running a Mail server based on Dovecot and Postfix for 2 years now
 without problem and would like to try OpenSMTPD instead of Sendmail.
 Where can I find an user documentation?

The best documentation you will find is man smtpd.conf. You may find
some tricks on the mailing-list archive.

 It is possible for OpenSMTPD to support a MDA like LDA from Dovecot?
 

Yes, it is :

-8-
table local_user_list passwd:/usr/local/etc/dovecot/users.db
table local_domain_list { mydomain.tld, myotherdomain.tld }
table local_address_list /etc/mail/address.list

[...]

accept from any for domain local_domain_list virtual
local_address_list userbase local_user_list deliver to lmtp
/var/spool/smtpd/dovecot-lmtp
-8-


-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Support of Dovecot LDA for local delivery

2014-11-01 Thread Eric Kom


On 01/11/2014 10:30, Denis Fondras wrote:

Hi Eric,

Hi Denis,



I'm running a Mail server based on Dovecot and Postfix for 2 years now
without problem and would like to try OpenSMTPD instead of Sendmail.
Where can I find an user documentation?

The best documentation you will find is man smtpd.conf. You may find
some tricks on the mailing-list archive.

Thanks, May you give me the link for the mailing list archive?

It is possible for OpenSMTPD to support a MDA like LDA from Dovecot?


Yes, it is :

-8-
table local_user_list passwd:/usr/local/etc/dovecot/users.db
table local_domain_list { mydomain.tld, myotherdomain.tld }
table local_address_list /etc/mail/address.list

[...]

accept from any for domain local_domain_list virtual
local_address_list userbase local_user_list deliver to lmtp
/var/spool/smtpd/dovecot-lmtp
-8-


I will try it


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Support of Dovecot LDA for local delivery

2014-11-01 Thread Denis Fondras
 Thanks, May you give me the link for the mailing list archive?

http://marc.info/?l=opensmtpd-misc



-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Support of Dovecot LDA for local delivery

2014-11-01 Thread Adam Thompson

On 14-11-01 02:27 AM, Eric Kom wrote:

Good day all,
I'm running a Mail server based on Dovecot and Postfix for 2 years now 
without problem and would like to try OpenSMTPD instead of Sendmail.

Where can I find an user documentation?
It is possible for OpenSMTPD to support a MDA like LDA from Dovecot?


Absolutely.

In smtpd.conf, use something like:
delivery = mda \/usr/local/libexec/dovecot/dovecot-lda -a %{rcpt} -d 
%{user.username} -e -f %{sender} -m INBOX\

then:

accept from local for local alias aliases deliver to $delivery

(etc.)

RTFM: man smtpd.conf

--
-Adam Thompson
 athom...@athompso.net


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org