[Dovecot] Sendmail + Deliver as an LDA

2009-06-11 Thread Natan Vermeersch
> Some question that may help to choose the best recipe: > 1) How many virtual mailboxes do you support? for the moment only 40 (that's because our users don't like procmail -> too complicated - hence the reason for switching to "deliver") > 2) Do you keep dovecot's userdb in plain text fil

Re: [Dovecot] Sendmail + Deliver as an LDA

2009-06-10 Thread Andrzej Adam Filip
Natan Vermeersch wrote: > "deliver" is working fine. > > /usr/libexec/dovecot/deliver -d t...@domain1 < testmail > > creates the virtual-mailbox. (uid,gid,mail,home through passwd sql) > > Currently we have a virtualusertable > (FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl)

Re: [Dovecot] Sendmail + Deliver as an LDA

2009-06-10 Thread Patrick Domack
of the > virtualusertable and to be able to deliver into the virtual-mailbox? > > Regards, > Natan > >> To: dovecot@dovecot.org >> From: andrzej.fi...@gmail.com >> Date: Wed, 10 Jun 2009 19:19:21 +0200 >> Subject: Re: [Dovecot] Sendmail + Deliver as an LDA

Re: [Dovecot] Sendmail + Deliver as an LDA

2009-06-10 Thread Patrick Domack
of the > virtualusertable and to be able to deliver into the virtual-mailbox? > > Regards, > Natan > >> To: dovecot@dovecot.org >> From: andrzej.fi...@gmail.com >> Date: Wed, 10 Jun 2009 19:19:21 +0200 >> Subject: Re: [Dovecot] Sendmail + Deliver as an LDA

[Dovecot] Sendmail + Deliver as an LDA

2009-06-10 Thread Natan Vermeersch
he virtualusertable and to be able to deliver into the virtual-mailbox? Regards, Natan > To: dovecot@dovecot.org > From: andrzej.fi...@gmail.com > Date: Wed, 10 Jun 2009 19:19:21 +0200 > Subject: Re: [Dovecot] Sendmail + Deliver as an LDA > > Natan Vermeersch wrote: >

Re: [Dovecot] Sendmail + Deliver as an LDA

2009-06-10 Thread Andrzej Adam Filip
Natan Vermeersch wrote: > 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.doveco

[Dovecot] Sendmail + Deliver as an LDA

2009-06-10 Thread Natan Vermeersch
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 sendm

Re: [Dovecot] Sendmail + Deliver as an LDA probs

2009-02-21 Thread ben
all is working fine, we fixed it by adding our own auth mechanism in mbdb.c (sendmail)... he looks up user/pass instead of /etc/passwd in /opt/dovecot/etc/passwd.dovecot now alias file = empty virtusertable = empty mailertable = empty for more info look at the book sendmail performance tuning...

Re: [Dovecot] Sendmail + Deliver as an LDA probs

2009-02-19 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 19 Feb 2009, ben wrote: you need to make sure first, which way to go (see below). Also check out post by "[pl>en Andrew] Andrzej Adam Filip" in comp.mail.sendmail about Dovecot, he is good :) aliases file = empty and rebuilded virtusertable

Re: [Dovecot] Sendmail + Deliver as an LDA probs

2009-02-19 Thread ben
couple of tests : r...@test:/etc/mail# sendmail -Am -bv b...@testdomain.com Notice: -bv may give misleading output for non-privileged user t...@testdomain.com... deliverable: mailer esmtp, host testdomain.com., user t...@testdomain.com . # echo '$={w}' | sendmail -bt ADDRESS TEST MODE (rul

Re: [Dovecot] Sendmail + Deliver as an LDA probs

2009-02-19 Thread ben
Ok, aliases file = empty and rebuilded virtusertable = empty + rebuilded sendmail.cw = emtpy added testdomain.com --> relay-domains I also removed my MAILER(dovecot)dnl entry and adjusted my sendmail.mc to : DOMAIN(`testdomain')dnl MODIFY_MAILER_FLAGS(`LOCAL', `-f')dnl FEATURE(`local_procmail',

Re: [Dovecot] Sendmail + Deliver as an LDA probs

2009-02-19 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 19 Feb 2009, ben wrote: aliases/aliases.db : blaatuser | /opt/dovecot/libexec/dovecot/deliver -d $u In my eyes, there are two problems here: 1) This line should read blaatuser: "| /opt..." 2) you cannot use $u in aliases Also, deliver

[Dovecot] Sendmail + Deliver as an LDA probs

2009-02-19 Thread ben
Hi, I'm having trouble setting up sendmail to be able to use dovecot deliver as an LDA... I don't want to be able to deliver mail locally, everything should go via deliver (virtual user setup)... And i'm confused about all the procmail/lda entry's in different sendmail config files... When using