Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2019-04-19 Thread Tom Sommer via dovecot
On 2019-04-19 15:26, Aki Tuomi via dovecot wrote: Unfortunately we have quite long list of things to do, so sometimes even trivial things can take a long time. Not to hijack the thread, but perhaps you could elaborate on what has changed within Dovecot? Timo seems to be put in the backgro

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2019-04-19 Thread Aki Tuomi via dovecot
Unfortunately we have quite long list of things to do, so sometimes even trivial things can take a long time. Aki On 18 April 2019 16:53 Tanstaafl via dovecot < dovecot@dovecot.org> wrote: Sadly, I guess not...

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2019-04-18 Thread Tanstaafl via dovecot
Sadly, I guess not... I'm not sure what to make of this, seeing as both Wietse and Timo said it was almost a trivial thing to fix. On Fri Apr 12 2019 12:17:22 GMT-0400 (Eastern Standard Time), Tanstaafl via dovecot wrote: > I'm resurrecting this again because I'm getting pretty close to possibly

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2019-04-12 Thread Tanstaafl via dovecot
I'm resurrecting this again because I'm getting pretty close to possibly being ready to install a brand new dovecot server (finally), but I still need for dovecots LMTP to add the x-original-to header. So... was this completed quietly, or is support for it still not there? Thanks, Charles On Tu

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2015-04-28 Thread Charles Marcus
On 4/28/2015 1:40 PM, Tobias Franzén wrote: > On 2014-01-08 14:32, Charles Marcus wrote: >> On 2012-04-09 8:53 AM, Timo Sirainen wrote: >>> On 9.4.2012, at 15.50, Charles Marcus wrote: > LMTP adds a new Delivered-To: header when there is > a single RCPT TO. You can force a single RCPT TO

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2015-04-28 Thread Tobias Franzén
On 2014-01-08 14:32, Charles Marcus wrote: On 2012-04-09 8:53 AM, Timo Sirainen wrote: On 9.4.2012, at 15.50, Charles Marcus wrote: LMTP adds a new Delivered-To: header when there is a single RCPT TO. You can force a single RCPT TO from Postfix side by setting lmtp_destination_recipient_limit

Re: [Dovecot] dovecot: lda(foo): Error: User foo doesn't have home dir set, disabling duplicate database

2014-06-02 Thread Christian Hoffmann
Hello, some config-trys later: I have to set allow_all_users=yes in the userdb with driver=static: |userdb { args = home=/var/mail/%u uid=Debian-exim gid=Debian-exim|||allow_all_users=yes| driver = static }| Have a good time Christian || Am 31.05.2014 17:04, schrieb Christian Hoffmann:

Re: [Dovecot] dovecot: lda(foo): Error: User foo doesn't have home dir set, disabling duplicate database

2014-05-31 Thread Christian Hoffmann
Am 31.05.2014 19:57, schrieb Christian Hoffmann: Am 31.05.2014 19:50, schrieb Pascal Volk: On 05/31/2014 05:35 PM Christian Hoffmann wrote: Hello Pascal, but I didn't configure a userdb with driver=ldap. There is only one userdb with driver=static and I assumed, that every user gets the same

Re: [Dovecot] dovecot: lda(foo): Error: User foo doesn't have home dir set, disabling duplicate database

2014-05-31 Thread Christian Hoffmann
Am 31.05.2014 19:50, schrieb Pascal Volk: On 05/31/2014 05:35 PM Christian Hoffmann wrote: Hello Pascal, but I didn't configure a userdb with driver=ldap. There is only one userdb with driver=static and I assumed, that every user gets the same uid, gid and a valid home directory. Are there som

Re: [Dovecot] dovecot: lda(foo): Error: User foo doesn't have home dir set, disabling duplicate database

2014-05-31 Thread Pascal Volk
On 05/31/2014 05:35 PM Christian Hoffmann wrote: > Hello Pascal, > > but I didn't configure a userdb with driver=ldap. There is only one > userdb with driver=static and I assumed, that every user gets the same > uid, gid and a valid home directory. > > Are there some circumstances, that differe

Re: [Dovecot] dovecot: lda(foo): Error: User foo doesn't have home dir set, disabling duplicate database

2014-05-31 Thread Christian Hoffmann
Hello Pascal, but I didn't configure a userdb with driver=ldap. There is only one userdb with driver=static and I assumed, that every user gets the same uid, gid and a valid home directory. Are there some circumstances, that different passdb-drivers treated in special relation to userdb-driv

Re: [Dovecot] dovecot: lda(foo): Error: User foo doesn't have home dir set, disabling duplicate database

2014-05-31 Thread Pascal Volk
On 05/31/2014 03:04 PM Christian Hoffmann wrote: > Hello everyone, > > I have a small problem with dovecot installed on ubuntu-13.10. I use > dovcot as LDA with a LDAP-passdb and a pam-passdb. The userdb is static. > A mail to LDAP-user 'foo' is delivered with the error-message > > dovecot: lda

[Dovecot] dovecot: lda(foo): Error: User foo doesn't have home dir set, disabling duplicate database

2014-05-31 Thread Christian Hoffmann
Hello everyone, I have a small problem with dovecot installed on ubuntu-13.10. I use dovcot as LDA with a LDAP-passdb and a pam-passdb. The userdb is static. A mail to LDAP-user 'foo' is delivered with the error-message dovecot: lda(foo): Error: User foo doesn't have home dir set, disabling

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2014-01-08 Thread Charles Marcus
On 2012-04-09 8:53 AM, Timo Sirainen wrote: On 9.4.2012, at 15.50, Charles Marcus wrote: LMTP adds a new Delivered-To: header when there is a single RCPT TO. You can force a single RCPT TO from Postfix side by setting lmtp_destination_recipient_limit=1. LMTP doesn't add/remove/change X-Origina

Re: [Dovecot] Dovecot LDA

2013-08-24 Thread LuKreme
On 23 Aug 2013, at 18:19 , Pascal Volk wrote: > On 08/24/2013 02:12 AM LuKreme wrote: >> OK, I did read but it doesn't answer the >> question I have since it doesn't tell me what I can do with -o, exactly. > > -o is used to override settings, as documented in >

Re: [Dovecot] Dovecot LDA

2013-08-23 Thread Pascal Volk
On 08/24/2013 02:12 AM LuKreme wrote: > OK, I did read but it doesn't answer the > question I have since it doesn't tell me what I can do with -o, exactly. -o is used to override settings, as documented in dovecot-lda(1)/http://wiki2.dovecot.org/Tools/DovecotLDA >

[Dovecot] Dovecot LDA

2013-08-23 Thread LuKreme
OK, I did read but it doesn't answer the question I have since it doesn't tell me what I can do with -o, exactly. What I would like to do is be able to call dovecot-lda and pass along '\\Seen', is that possible? -- Up the airy mountains, down the rushy glen...

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2013-08-09 Thread will moura
uot; It´s funny because, this problem occur only in my domain, no to external domains. Before I was with this problem with permissions, I solved, but now happen this. Thanks. -- View this message in context: http://dovecot.2317879.n4.nabble.com/execvp-usr-local-libexec-dovecot-dovecot-lda-

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2013-08-07 Thread Axel Luttgens
Le 7 août 2013 à 16:32, will moura a écrit : > Hi Edward Carraro, > > I see you got your goal. > So I have same trouble and don´t solved. > I used the three scenarios you used. > > based in http://wiki.dovecot.org/LDA/%VirtualUsers > > And tried using the lmtp, but too don´t worked to delivery

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2013-08-07 Thread will moura
://dovecot.2317879.n4.nabble.com/execvp-usr-local-libexec-dovecot-dovecot-lda-Permission-denied-tp9592p43756.html Sent from the Dovecot mailing list archive at Nabble.com.

Re: [Dovecot] dovecot-lda not logging if dovecot runs under daemontools

2013-07-30 Thread Roberto Puzzanghera
Thank you, Jost. The lda output is actually logged on qmail-send's log regards, Roberto Puzzanghera Il 30.07.2013 12:35 Jost Krieger ha scritto: On Fri Jul 26 14:51:30 2013, Roberto Puzzanghera wrote: Hi Jost, thanks for your reply. Il 26.07.2013 13:11 Jost Krieger ha scritto: >Dovecot-l

Re: [Dovecot] dovecot-lda not logging if dovecot runs under daemontools

2013-07-30 Thread Jost Krieger
On Fri Jul 26 14:51:30 2013, Roberto Puzzanghera wrote: > > Hi Jost, thanks for your reply. > > Il 26.07.2013 13:11 Jost Krieger ha scritto: > >Dovecot-lda runs under qmail, so you'll find the output in qmail's > >logs. If you run, say, doveadm manually, the output will be on your > >terminal. >

Re: [Dovecot] dovecot-lda not logging if dovecot runs under daemontools

2013-07-30 Thread Jost Krieger
On Fri Jul 26 12:49:08 2013, Roberto Puzzanghera wrote: > I have dovecot running under daemontools and I can't see dovecot-lda > in action when I read the logs. I've set the logs to /dev/stderr > because daemontools redirects /dev/stderr to > /var/log/dovecot/current. Dovecot-lda runs under qma

[Dovecot] dovecot-lda not logging if dovecot runs under daemontools

2013-07-26 Thread Roberto Puzzanghera
Hello all, I have dovecot running under daemontools and I can't see dovecot-lda in action when I read the logs. I've set the logs to /dev/stderr because daemontools redirects /dev/stderr to /var/log/dovecot/current. The dovecot server works fine and I know that dovecot-lda is actually doing th

Re: [Dovecot] dovecot-lda - dovecot: quota-warning: Error: lda: Fatal: Unknown argument

2013-06-24 Thread Ben Johnson
> #!/bin/sh > PERCENT=$1 > MAILBOX=$2 > DOMAIN=$3 > cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o > "plugin/quota=dict:user::file:/var/vmail/%d/%n/.quotausage" > From: postm

[Dovecot] dovecot-lda - dovecot: quota-warning: Error: lda: Fatal: Unknown argument

2013-06-24 Thread Ben Johnson
Hi, everyone, I'm attempting to configure automated quota warnings for users and have hit a snag. The script I'm using is as follows: - #!/bin/sh PERCENT=$1 MAILBOX=$2 DOMAIN=$3 cat << EOF | /usr/lib/doveco

Re: [Dovecot] Dovecot LDA LDAP lookups on samba4 server ends very often in timeouts (Christian Wiese)

2013-02-21 Thread Marco Carcano
Dear Christian thank you very much - you got it at the very first shot: modified /etc/ openldap/ldap.conf adding REFERRALS off en everything works without issues now many thanks Marco Carcano

Re: [Dovecot] Dovecot LDA LDAP lookups on samba4 server ends very often in timeouts

2013-02-20 Thread Christian Wiese
Hi Marco, try to check if LDAP REFERRALS are enabled. I had a similar issue some time ago when trying to authenticate against an AD, which didn't worked (long timeouts) as long as I switched off REFERRALS in the systems ldap.conf. (more info you might get by 'man ldap.conf') Cheers, Chris Am W

Re: [Dovecot] Dovecot LDA LDAP lookups on samba4 server ends very often in timeouts

2013-02-20 Thread marco
just to complete the informations of this thread, here is the log of a mail delivered succesfully (trailing and leading spaces of AT charcater has been added by me) ## MAIL SUCCEFFULLY DELIVERED LOG # Feb 19 17:41:01 sng

[Dovecot] Dovecot LDA LDAP lookups on samba4 server ends very often in timeouts

2013-02-20 Thread marco
I hope that someone will be so kind to help me into solving this really strange thing (don't know if it is a bug or not) I have a samba4 server and want to use postfix+dovecot - dovecot version is 2.0.11 as for the postfix side everything is OK (all the LDAP lookups works without any error

Re: [Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-19 Thread Joseph Tam
Timo Sirainen writes: Date: Wed, 19 Dec 2012 12:59:54 +0200 Could you send me those files? Would be the easiest and quickest way to get it fixed :) Date: Wed, 19 Dec 2012 15:02:25 +0200 Okay, fixed: http://hg.dovecot.org/dovecot-2.1/rev/32ce915e046a Yes it is does, and it stops crashing fo

Re: [Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-19 Thread Timo Sirainen
On 19.12.2012, at 12.59, Timo Sirainen wrote: > On 19.12.2012, at 12.47, Joseph Tam wrote: > >>> Can you still reproduce this in any way? >> >> Yes, I have 6 sets of user INBOX index caches that will crash dovecot-lda. >> The actual content of the INBOX is irrelevant (crash probably happens >>

Re: [Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-19 Thread Timo Sirainen
On 19.12.2012, at 12.47, Joseph Tam wrote: >> Can you still reproduce this in any way? > > Yes, I have 6 sets of user INBOX index caches that will crash dovecot-lda. > The actual content of the INBOX is irrelevant (crash probably happens > before INBOX is opened). Could you send me those files?

Re: [Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-19 Thread Joseph Tam
Timo Sirainen writes: Can you still reproduce this in any way? Yes, I have 6 sets of user INBOX index caches that will crash dovecot-lda. The actual content of the INBOX is irrelevant (crash probably happens before INBOX is opened). I found two bugs, would be nice to know if they solve it:

Re: [Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-18 Thread Timo Sirainen
On Thu, 2012-12-13 at 03:56 -0800, Joseph Tam wrote: > We uograded our dovecot from version 2.1.10 -> 2.10.12, but within > the first hour of use, dovecot-lda would segfault during delivery. > This left a lock file lying around causing the user's mail readers to > hang; much hilarity ensues. All f

[Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-13 Thread Joseph Tam
We uograded our dovecot from version 2.1.10 -> 2.10.12, but within the first hour of use, dovecot-lda would segfault during delivery. This left a lock file lying around causing the user's mail readers to hang; much hilarity ensues. All further deliveries to the same user will result in a crash.

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to

2012-11-16 Thread Thufir
On Fri, 16 Nov 2012 19:58:55 -0600, /dev/rob0 wrote: Judging from your previous post where deliver tried to write to /root/Maildir/, I suppose your mail will be found in ~thufir/Maildir/new/ . Now Postfix is fine, Dovecot seems to be fine also. Your remaining issue is with "mail". If it's old

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to

2012-11-16 Thread /dev/rob0
On Fri, Nov 16, 2012 at 05:32:16PM -0800, Thufir wrote: > On Fri, 16 Nov 2012 16:09:54 -0600, /dev/rob0 wrote: > >The fix to this is simply not to deliver mail to root. You > >should have aliased root to a mortal user. Postfix will not > >invoke a mailbox_command as root. > > Ah, thank you. Not d

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to

2012-11-16 Thread Thufir
On Fri, 16 Nov 2012 16:09:54 -0600, /dev/rob0 wrote: The fix to this is simply not to deliver mail to root. You should have aliased root to a mortal user. Postfix will not invoke a mailbox_command as root. In broader terms, you should only use root for actual system administration, and not for

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information.

2012-11-16 Thread /dev/rob0
On Fri, Nov 16, 2012 at 10:15:24PM +, Ben Morrow wrote: > postfix's local(8) will not allow you to deliver mail as root. Strictly speaking it will deliver to/as root, but not if invoking commands, which is what the OP was doing. -- http://rob0.nodns4.us/ -- system administration and consul

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information.

2012-11-16 Thread Ben Morrow
At 12PM -0800 on 16/11/12 you (Thufir) wrote: > I ran dovecot -a and the blizzard of data seemed ok to my limited > knowledge. Is there another log I should look into to trace this error > down? > > Nov 16 12:30:52 dur dovecot: lda(root): Error: chdir(/root/) failed: > Permission denied (euid

Re: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information.

2012-11-16 Thread /dev/rob0
On Fri, Nov 16, 2012 at 12:47:52PM -0800, Thufir wrote: > I ran dovecot -a and the blizzard of data seemed ok to my limited > knowledge. Is there another log I should look into to trace this > error down? It's actually a Postfix problem. Postfix is invoking your Dovecot LDA with wrong permission

[Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information.

2012-11-16 Thread Thufir
I ran dovecot -a and the blizzard of data seemed ok to my limited knowledge. Is there another log I should look into to trace this error down? Dovecot and system info: thufir@dur:~$ thufir@dur:~$ dovecot --version 2.0.19 thufir@dur:~$ thufir@dur:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTR

Re: [Dovecot] dovecot-lda not correct folder

2012-11-07 Thread tony . blue . mailinglist
Am 07.11.2012 16:23, schrieb Timo Sirainen: On 30.10.2012, at 7.33, tony.blue.mailingl...@gmx.de wrote: -m optionalfolder, without the dot. Also you may need to set lda_mailbox_autocreate=yes if it doesn't already exist. Thanks Timo, that was the solution of my problem.

Re: [Dovecot] dovecot-lda not correct folder

2012-11-07 Thread Timo Sirainen
On 30.10.2012, at 7.33, tony.blue.mailingl...@gmx.de wrote: > ZUSATZORDNER="$DELIVERMAIL -e -d $LOGNAME -m .optionalfolder" > ... > > dovecot-lda puts the mails for the optionalfolder always in the .cur (INBOX). > > What´s the correct dovecot-lda parameter to put the mails in the > optionalfold

[Dovecot] dovecot-lda not correct folder

2012-10-29 Thread tony . blue . mailinglist
usr/lib/dovecot/dovecot-lda" IMAP="$DELIVERMAIL -e -d $LOGNAME -m INBOX" ZUSATZORDNER="$DELIVERMAIL -e -d $LOGNAME -m .optionalfolder" ... dovecot-lda puts the mails for the optionalfolder always in the .cur (INBOX). What´s the correct dovecot-lda parameter to put the mails in the optionalfolder? Thank you! Tony

Re: [Dovecot] dovecot lda - Permission denied

2012-10-29 Thread Timo Sirainen
On 26.10.2012, at 14.44, tony.blue.mailingl...@gmx.de wrote: > Oct 25 23:37:13 gustav dovecot: lda: Error: userdb lookup: > connect(/var/run/dovecot/auth-userdb) failed: Permission denied > (euid=501(andy) egid=100(users) missing +w perm: > /var/run/dovecot/auth-userdb, dir owned by 0:0 mode=07

Re: [Dovecot] dovecot-lda delivery to Maildir/cur as 'seen'?

2012-10-26 Thread Dennis Guhl
On Fri, Oct 26, 2012 at 01:27:00PM +0200, Dale Gallagher wrote: > Hi [..] > The problem now, is that the Sent folder shows the mail as unread, > which MUAs flag (and notify, in the case of some). I've searched the Use Sieve [1] with Imap4flags (RFC 5232) to mark the email as read. Dennis [1]

[Dovecot] dovecot lda - Permission denied

2012-10-26 Thread tony . blue . mailinglist
Hallo, please excuse my bad english. But I am not a native speaker. I changed my cyrus to dovecot (alltogehter: fetchmail - procmail - exim4 - dovecot). But I get (I think from /usr/lib/dovecot/deliver) the following error-message in my syslog: ... Oct 25 23:37:13 gustav dovecot: lda: Error:

[Dovecot] dovecot-lda delivery to Maildir/cur as 'seen'?

2012-10-26 Thread Dale Gallagher
Hi I've added a server-side feature where authenticated customers sending through our SMTP server have their outbound mail copied to their Sent folder (like Gmail does). The delivery script called by qmail calls dovecot-lda to deliver it to the user's Sent folder. The problem now, is that the Sen

Re: [Dovecot] Dovecot LDA message save logging

2012-10-22 Thread Alessio Cecchi
Il 22/10/2012 01:08, Dominic Malolepszy ha scritto: Hi, Is there any option in Dovecot that enables logging the full path of where a message is saved in the backend? Dominic With mail_debug=yes you can see it. -- Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> ht

[Dovecot] Dovecot LDA message save logging

2012-10-21 Thread Dominic Malolepszy
Hi, Is there any option in Dovecot that enables logging the full path of where a message is saved in the backend? Dominic

Re: [Dovecot] dovecot-lda setting quota rules

2012-08-03 Thread Lazy
it works great. thank You again Regards, Michal Grzedzicki 2012/8/3, Timo Sirainen : > On 3.8.2012, at 2.13, Lazy wrote: > >>> dovecot-lda -o plugin/quota_rule=*:storage=1G >>> >> >> thank You ! >> >> This is simple and elegant. >> >> Sill I need this to be taken from environment, I produced a s

Re: [Dovecot] dovecot-lda setting quota rules

2012-08-02 Thread Timo Sirainen
On 3.8.2012, at 2.13, Lazy wrote: >> dovecot-lda -o plugin/quota_rule=*:storage=1G >> > > thank You ! > > This is simple and elegant. > > Sill I need this to be taken from environment, I produced a simple > patch adding one '-o' from an environment variable. You can also set environment: PLU

Re: [Dovecot] dovecot-lda setting quota rules

2012-08-02 Thread Lazy
2012/7/31 Timo Sirainen : > On 18.7.2012, at 4.33, Lazy wrote: > >> I wan't it to stay that way. The problem is that it dosn't update the >> quota rules in Maildir when quota is changed in userdb. >> I have the rules avaiable in qmail-lda's environment, but I need an >> idea on how to feed the quot

Re: [Dovecot] dovecot-lda setting quota rules

2012-07-31 Thread Timo Sirainen
On 18.7.2012, at 4.33, Lazy wrote: > I wan't it to stay that way. The problem is that it dosn't update the > quota rules in Maildir when quota is changed in userdb. > I have the rules avaiable in qmail-lda's environment, but I need an > idea on how to feed the quota rule string to quota plugin wit

[Dovecot] dovecot-lda setting quota rules

2012-07-17 Thread Lazy
Hi, in my setup dovecot-lda reads user and home from environment, and dosn't perform userdb lookup Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Effective uid=300, gid=300, home=/vmail/la/lazytest_test Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Quota root: name=User q

Re: [Dovecot] Dovecot LDA, Offlineimap and Sieve

2012-06-22 Thread Johnny
Hi Stephan, Stephan Bosch writes: > On 6/22/2012 1:28 AM, Johnny wrote: >> Hi, >> >> I am trying to st up Offlineimap to use Dovecots LDA to be able to use >> Sieve for mail filtering, but am not sure how to get this working. I >> think the right way would be to use 'preauthtunnel' in .offlinei

Re: [Dovecot] Dovecot LDA, Offlineimap and Sieve

2012-06-22 Thread Stephan Bosch
On 6/22/2012 1:28 AM, Johnny wrote: Hi, I am trying to st up Offlineimap to use Dovecots LDA to be able to use Sieve for mail filtering, but am not sure how to get this working. I think the right way would be to use 'preauthtunnel' in .offlineimaprc and try the setup below, which doesn't work.

[Dovecot] Dovecot LDA, Offlineimap and Sieve

2012-06-21 Thread Johnny
Hi, I am trying to st up Offlineimap to use Dovecots LDA to be able to use Sieve for mail filtering, but am not sure how to get this working. I think the right way would be to use 'preauthtunnel' in .offlineimaprc and try the setup below, which doesn't work. ,.offlineimaprc | [Repository Loca

[Dovecot] Dovecot-lda - 100% cpu

2012-05-29 Thread For@ll
Hello, On my MTA server where I have installed postfix+mysql+dovecot(2.0.19), when server receives e.g 1000 e-mails and postfix start 10 threads dovecot-lda then my load is growing up. Disk for e-mails is connected through with iSCSI protocol. Any idea why this is happening?

Re: [Dovecot] dovecot LDA error

2012-04-27 Thread Hadi Salem
Hi Timo Sirainen, It’s working with me fine. With no problem. After I configured my MTA (sendmail) to run dovecot-lda as root with chmod 4750 /local/user/libexce/dovecot/dovecot-lda. And create group called secmail. I had to change dovecot-lda group to secmail. And then added mail to

Re: [Dovecot] dovecot LDA with sendmail

2012-04-25 Thread Joseph Tam
Timo, in response to Hadi, wrote: Apr 24 20:25:46 lda(ja...@example.com): Fatal: setgid(5000(vmail) from userdb lo okup) failed with euid=8(mail), gid=12(mail), egid=12(mail): Operation not permi tted (This binary should probably be called with process group set to 5000(vmail )

Re: [Dovecot] dovecot-lda error

2012-04-25 Thread Timo Sirainen
0:00, xdelay=00:00:00, mailer=dovecot, > pri=120359, relay=dovecot, dsn=4.0.0, stat=Deferred: dovecot mailer > (/usr/local/libexec/dovecot/dovecot-lda) exited with EX_TEMPFAIL What do the Dovecot logs say about this? > protocol lda { > info_log_path = /var/log/dovecot-lda.log > l

Re: [Dovecot] dovecot LDA error

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 20.41, Hadi Salem wrote: > Apr 24 20:25:46 lda(ja...@example.com): Fatal: > setgid(5000(vmail) from userdb lo > > okup) failed with > euid=8(mail), gid=12(mail), egid=12(mail): Operation not per

[Dovecot] dovecot-lda error

2012-04-25 Thread Hadi Salem
=dovecot, pri=120359, relay=dovecot, dsn=4.0.0, stat=Deferred: dovecot mailer (/usr/local/libexec/dovecot/dovecot-lda) exited with EX_TEMPFAIL im using sendmail. [root@host1 conf.d]# doveconf -n # 2.0.20: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.18-164.el5 x86_64 CentOS release 5.4

[Dovecot] dovecot LDA error

2012-04-24 Thread Hadi Salem
Hi, My dovecot version is , # 2.0.20: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.18-164.el5 x86_64 CentOS release 5.4 (Final) auth_debug = yes auth_debug_passwords = yes auth_verbose = yes auth_verbose_passwords = plain debug_log_path = /var/log/dovecot.log disable_plaintext_au

Re: [Dovecot] dovecot LDA with sendmail

2012-04-21 Thread Joseph Tam
: dovecot mailer (/usr/local/libexec/dovecot/dovecot-lda) exited with EX_TEMPFAIL Any logs for dovecot? Same sendmail configs as before or did you try the extra flag I suggested? Joseph Tam

Re: [Dovecot] dovecot LDA with sendmail

2012-04-21 Thread Hadi Salem
=, ctladdr= (0/0), delay=00:00:00, xdelay=00:00:00, mailer=dovecot, pri=120292, relay=dovecot, dsn=4.0.0, stat=Deferred: dovecot mailer (/usr/local/libexec/dovecot/dovecot-lda) exited with EX_TEMPFAIL > Date: Fri, 20 Apr 2012 07:07:57 -0400 > From: cmar...@media-brokers.com > To

Re: [Dovecot] dovecot LDA with sendmail

2012-04-20 Thread Charles Marcus
On 2012-04-19 9:45 PM, Joseph Tam wrote: Hadi Salem writes: Im configuring sendmail with dovecot for virtual users using password file and file for user name. on centos. dovecot-1.0.7-7.el5 Maybe I can beat Charles Marcus to the punch and recommend you upgrade to the latest version, otherwi

Re: [Dovecot] dovecot LDA with sendmail

2012-04-19 Thread Joseph Tam
Hadi Salem writes: Im configuring sendmail with dovecot for virtual users using password file and file for user name. on centos. dovecot-1.0.7-7.el5 Maybe I can beat Charles Marcus to the punch and recommend you upgrade to the latest version, otherwise you'll run into bugs that have alrea

[Dovecot] dovecot LDA with sendmail

2012-04-19 Thread Hadi Salem
Hi, Im configuring sendmail with dovecot for virtual users using password file and file for user name. on centos. dovecot-1.0.7-7.el5 sendmail-8.13.8-2.el5 dovecot –n # 1.0.7: /etc/dovecot.conf base_dir: /var/run/dovecot/ log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Charles Marcus
On 2012-04-09 8:53 AM, Timo Sirainen wrote: I guess X-Original-To is the same address as what Postfix sees as the original RCPT TO address before alias expansion and such? In that case, see my today's mail in Postfix list. Yep... and hoping that you and Wietse can work out some way to support

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Timo Sirainen
On 9.4.2012, at 15.50, Charles Marcus wrote: >> LMTP adds a new Delivered-To: header when there is >> a single RCPT TO. You can force a single RCPT TO from Postfix side by >> setting lmtp_destination_recipient_limit=1. LMTP doesn't >> add/remove/change X-Original-To: header. > > Ok, thanks Timo.

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Charles Marcus
On 2012-04-09 3:33 AM, Timo Sirainen wrote: On 5.4.2012, at 15.59, Charles Marcus wrote: Does anyone know if the use of LMTP (or even the dovecot LDA) still loses the x-original-to header that the postfix vda adds and that I rely heavily on (since I use a lot of aliases), and if it does, is th

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Timo Sirainen
On 5.4.2012, at 15.59, Charles Marcus wrote: > Does anyone know if the use of LMTP (or even the dovecot LDA) still loses the > x-original-to header that the postfix vda adds and that I rely heavily on > (since I use a lot of aliases), and if it does, is there any solution to get > the original

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-08 Thread Daniel L. Miller
On Sat, 7 Apr 2012 14:30:38 -0400, Jerry wrote: > On Sat, 07 Apr 2012 11:06:48 -0700 > Daniel L. Miller articulated: > >> Unfortunately, the docs for the ltmp agent http://www.postfix.org/lmtp.8.html [1] don't say anything about adding these headers. I tried asking on the Postfix list - didn

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-07 Thread Jerry
On Sat, 07 Apr 2012 11:06:48 -0700 Daniel L. Miller articulated: > Unfortunately, the docs for the ltmp agent > http://www.postfix.org/lmtp.8.html don't say anything about adding > these headers. I tried asking on the Postfix list - didn't get much > of an answer. I may be wrong; however, from

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-07 Thread Daniel L. Miller
On 4/6/2012 1:00 PM, Charles Marcus wrote: On 2012-04-06 2:53 PM, Daniel L. Miller wrote: I'm currently using Postfix 2.7, Dovecot 2.1, and the Dovecot LDA. I have a pure virtual user environment stored in LDAP. My messages include X-Original-To and Delivered-To headers. Well that is great ne

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-06 Thread Charles Marcus
On 2012-04-06 2:53 PM, Daniel L. Miller wrote: I'm currently using Postfix 2.7, Dovecot 2.1, and the Dovecot LDA. I have a pure virtual user environment stored in LDAP. My messages include X-Original-To and Delivered-To headers. Well that is great news... at least I'll be able to use the LDA,

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-06 Thread Daniel L. Miller
On 4/5/2012 5:59 AM, Charles Marcus wrote: On 2012-04-05 4:18 AM, Thomas Leuxner wrote: > Also with 2.x you may want to use LMTP rather than the LDA Piping. > > http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I am preparing to convert my main client's postfix_courier-imap setup to dovecot 2.

[Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-05 Thread Charles Marcus
On 2012-04-05 4:18 AM, Thomas Leuxner wrote: > Also with 2.x you may want to use LMTP rather than the LDA Piping. > > http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I am preparing to convert my main client's postfix_courier-imap setup to dovecot 2.1, which currently just uses the postfix vir

[Dovecot] Dovecot LDA breaking .qmail forwarding?

2012-03-12 Thread Wouter van der Schagt
Good morning all, I've a problem, I'm using the Dovecot LDA in my .qmail file: |/var/qmail/bin/preline -f /usr/local/libexec/dovecot/deliver -d $EXT@$USER However when I add a forward, such as: |/var/qmail/bin/preline -f /usr/local/libexec/dovecot/deliver -d $EXT@$USER

[Dovecot] Dovecot lda parameters

2012-02-16 Thread Клименко Николай
hi all I have the following scheme. Postfix with virtual users with dovecot LDA. AD as database. Dovecot and Postfix get the following Idap attributes from AD: sAMAccountName, mail and mail_alias. The problem is that I can’t make dovecot lda move the user’s mail to the folder with the name from

Re: [Dovecot] Dovecot LDA and address extensions - folders flood

2012-01-11 Thread Charles Marcus
On 2012-01-11 2:05 PM, huret deffgok wrote: On Wed, Jan 11, 2012 at 7:04 PM, Charles Marcus wrote: On 2012-01-11 1:00 PM, huret deffgok wrote: This post is slightly OT, I hope no one will take offense. I was following the wiki on using dovecot LDA with postfix and implemented, for our future ma

Re: [Dovecot] Dovecot LDA and address extensions - folders flood

2012-01-11 Thread huret deffgok
On Wed, Jan 11, 2012 at 7:04 PM, Charles Marcus wrote: > On 2012-01-11 1:00 PM, huret deffgok wrote: > >> Hi list, >> >> This post is slightly OT, I hope no one will take offense. >> I was following the wiki on using dovecot LDA with postfix and >> implemented, >> for our future mail server, the

Re: [Dovecot] Dovecot LDA and address extensions - folders flood

2012-01-11 Thread Charles Marcus
On 2012-01-11 1:00 PM, huret deffgok wrote: Hi list, This post is slightly OT, I hope no one will take offense. I was following the wiki on using dovecot LDA with postfix and implemented, for our future mail server, the address extensions mechanism: an email sent to "validuser+foldern...@mydoma

[Dovecot] Dovecot LDA and address extensions - folders flood

2012-01-11 Thread huret deffgok
Hi list, This post is slightly OT, I hope no one will take offense. I was following the wiki on using dovecot LDA with postfix and implemented, for our future mail server, the address extensions mechanism: an email sent to "validuser+foldern...@mydomain.com" will have dovecot-lda automagically cre

Re: [Dovecot] dovecot-lda error

2012-01-05 Thread e-frog
On 05.01.2012 08:45, wrote Wesley M.: Hi, Hi, I use Dovecot 2.0.13 on OpenBSD 5.0 When i try to send emails i have the following error in /var/log/maillog Jan 5 11:23:49 mail50 postfix/pipe[29423]: D951842244C: to=, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=5.3.0, status=bounce

[Dovecot] dovecot-lda error

2012-01-04 Thread Wesley M.
Hi, I use Dovecot 2.0.13 on OpenBSD 5.0 When i try to send emails i have the following error in /var/log/maillog Jan 5 11:23:49 mail50 postfix/pipe[29423]: D951842244C: to=, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=5.3.0, status=bounced (command line usage error. Command output: d

Re: [Dovecot] dovecot-lda quota rule

2011-12-01 Thread Micah Anderson
micah anderson writes: > On Wed, 16 Nov 2011 11:09:12 -0500, micah anderson wrote: >> On Tue, 15 Nov 2011 22:27:20 +0200, Timo Sirainen wrote: >> > On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote: >> > > I really like the feature where you can define quota rules with percents >> > > whi

Re: [Dovecot] dovecot-lda quota rule

2011-11-29 Thread micah anderson
On Wed, 16 Nov 2011 11:09:12 -0500, micah anderson wrote: > On Tue, 15 Nov 2011 22:27:20 +0200, Timo Sirainen wrote: > > On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote: > > > I really like the feature where you can define quota rules with percents > > > which trigger off of the default v

Re: [Dovecot] dovecot-lda quota rule

2011-11-16 Thread micah anderson
On Wed, 16 Nov 2011 18:27:20 +0200, Timo Sirainen wrote: > On Wed, 2011-11-16 at 11:09 -0500, micah anderson wrote: > > > protocol lda { > > > plugin { > > > quota_rule2 = INBOX:storage=200% > > > } > > > } > > > > Aha! Just what I was looking for. I presume the number following > > 'quot

Re: [Dovecot] dovecot-lda quota rule

2011-11-16 Thread Timo Sirainen
On Wed, 2011-11-16 at 11:09 -0500, micah anderson wrote: > > protocol lda { > > plugin { > > quota_rule2 = INBOX:storage=200% > > } > > } > > Aha! Just what I was looking for. I presume the number following > 'quota_rule' must be an unique number across all quota_rules in my > config? No

Re: [Dovecot] dovecot-lda quota rule

2011-11-16 Thread micah anderson
On Tue, 15 Nov 2011 22:27:20 +0200, Timo Sirainen wrote: > On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote: > > I really like the feature where you can define quota rules with percents > > which trigger off of the default values[0] (so you can set the Trash to > > allow for 10% more of the

Re: [Dovecot] dovecot-lda quota rule

2011-11-15 Thread Timo Sirainen
On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote: > I really like the feature where you can define quota rules with percents > which trigger off of the default values[0] (so you can set the Trash to > allow for 10% more of the user's quota for example). > > What I would really love in dove

[Dovecot] dovecot-lda quota rule

2011-11-10 Thread Micah Anderson
I really like the feature where you can define quota rules with percents which trigger off of the default values[0] (so you can set the Trash to allow for 10% more of the user's quota for example). What I would really love in dovecot would be for the ability to configure a quota rule for dovecot

Re: [Dovecot] DoveCot LDA prefetch fails with LDA, works with POP client

2011-08-05 Thread Zhou, Yan
> -Original Message- > From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] > On Behalf Of Zhou, Yan > Sent: Friday, August 05, 2011 4:24 PM > To: dovecot@dovecot.org > Subject: [Dovecot] DoveCot LDA prefetch fails with LDA, works with POP > client

[Dovecot] DoveCot LDA prefetch fails with LDA, works with POP client

2011-08-05 Thread Zhou, Yan
Hi there, I am using DoveCot 1.0.7. I know it is real old, but we have to work with it. I have configured LDAP lookup with password prefetch in DoveCot. I can successfully receive emails through DoveCot, thus proving my password prefetch and user authentication are good. The problem is when I us

Re: [Dovecot] DoveCot LDA/Postfix deliver by address

2011-06-21 Thread Tom Hendrikx
On 21/06/11 19:34, Zhou, Yan wrote: > Hi there, > > I am using DoveCot 1.0.7 and virtual users. We want to integrate with > Postfix 2.3.3 to use DoveCot LDA to deliver messages to user mailbox. > All users are stored in LDAP. DoveCot looks up user by LDAP access. > > Our user name is not necessa

  1   2   3   >