[Dovecot] Sendmail + Deliver as an LDA

Natan Vermeersch natanver at hotmail.com
Wed Jun 10 18:15:14 EEST 2009


Need help with setup/config.

 

Current situation: (dovecot version : 1.1.7)

 

we have system users and virtual users. (with different domains)

Virtual users have procmail as LDA

 

Now we want "deliver" to become the LDA

 

I'm confused reading http://wiki.dovecot.org/LDA/Sendmail

 

sendmail.mc:

 

divert(-1)

divert(0)dnl

include(`/usr/share/sendmail-cf/m4/cf.m4')dnl

VERSIONID(`$Id: sendmail-procmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp $')dnl

OSTYPE(linux)dnl

DOMAIN(generic)dnl

define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl

define(`confDONT_PROBE_INTERFACES',true)dnl

define(`ALIAS_FILE', `/etc/mail/aliases')dnl

dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl

dnl FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl

FEATURE(`local_procmail')dnl

FEATURE(`redirect')dnl

FEATURE(`access_db')dnl

FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl

dnl FEATURE(`mailertable')dnl

FEATURE(`always_add_domain')dnl

FEATURE(`use_ct_file')dnl

FEATURE(`use_cw_file')dnl

FEATURE(`blacklist_recipients')dnl

dnl FEATURE(`relay_entire_domain')dnl

dnl MAILER(local)dnl

MAILER(smtp)dnl

MAILER(procmail)dnl

INPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, T=S:5m;R:5m')dnl

 

 

What setup do we need for both system and virtual users ?

 

Help would be appreciated !

thx
Natan


_________________________________________________________________
Reageer op foto’s van je vrienden en bekijk hun reacties op de jouwe. Gegarandeerd hilariteit! 
http://www.microsoft.com/belux/nl/windows/windowslive/products/photos.aspx


More information about the dovecot mailing list