Re: [Dovecot] LDA vs. LMTP

2013-07-30 Thread Reindl Harald
Am 29.07.2013 22:38, schrieb Martin Burgraf: Well, the background process is hogging CPU why should it do that if it is idle? and RAM while it basically does nothing. guess what takes more RAM one long-running prcoess or 5 LDA processes because you get 5 messages at the same time and

Re: [Dovecot] constant Log synchronization error's

2013-07-30 Thread Timo Sirainen
On 14.7.2013, at 13.18, Kim Bisgaard kim+dove...@alleroedderne.adsl.dk wrote: 11:45:57 Y dovecot: imap(X): Error: Log synchronization error at seq=6,offset=156 for /var/mail/X/mdbox/mailboxes/Junk/dbox-Mails/dovecot.index: Extension header update points outside header size .. # 2.2.4:

Re: [Dovecot] Dovecot v2.2.4 (ebbe00999da8) doveadm crash

2013-07-30 Thread Timo Sirainen
On 16.7.2013, at 20.07, e-frog e-f...@gmx.de wrote: Current Dovecot v2.2 HG crashes using the following command: $ doveadm mailbox status -A -t unseen 'virtual/unread' #0 i_stream_next_line (stream=0x0) at istream.c:382 382 istream.c: No such file or directory. (gdb) bt full #0

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 qmail,

Re: [Dovecot] 2.2.4 - quota-status changing the user it is running as

2013-07-30 Thread Timo Sirainen
On 14.7.2013, at 19.54, Axel Luttgens axelluttg...@swing.be wrote: and messages for that user are correctly rejected by lmtp: dovecot[4989]: lmtp(5069, john@example.com): QWSWLgrP4lF7FAAA5Q0ykw: msgid=20130714161643.9085DF176F2@ALMba.local: save failed to INBOX: Quota exceeded

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. I

Re: [Dovecot] Dovecot v2.2.4 (ebbe00999da8) doveadm crash

2013-07-30 Thread e-frog
On 30.07.2013 12:10, wrote Timo Sirainen: On 16.7.2013, at 20.07, e-frog e-f...@gmx.de wrote: Current Dovecot v2.2 HG crashes using the following command: $ doveadm mailbox status -A -t unseen 'virtual/unread' #0 i_stream_next_line (stream=0x0) at istream.c:382 382 istream.c: No such

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] Calling dovecot-lda correctly from exim for virtual user setup

2013-07-30 Thread Frerich Raabe
Hi, I'm running Dovecot 2.1.7 on Debian. Exim is the MTA. I was recently made aware of the fact that the way in which Exim invokes dovecot-lda is prone to code injection: dovecot_virtual_delivery: driver = pipe command = HOME=/home/vmail/\$local_part /usr/lib/dovecot/dovecot-lda -f

Re: [Dovecot] Calling dovecot-lda correctly from exim for virtual user setup

2013-07-30 Thread Frerich Raabe
On 2013-07-30 14:55, Frerich Raabe wrote: Now, the reason I invoked dovecot like that is to pass a plausible value for the HOME environment variable, so that dovecot-lda can determine where the Maildir directory of the recipient is. ...for the sake of completeness: this stems from the fact

[Dovecot] Postfix aliases with quota-status service

2013-07-30 Thread Thomas Leuxner
The latest HG commits seem to have fixed some underlying problems with the 'quota-status' service. Now doing some quick tests I wonder if this can be used with aliases on the Postfix side. Appears the 'check_policy_service' used in the example below will query existing users via Dovecot's Auth

Re: [Dovecot] 2.2.4 - quota-status changing the user it is running as

2013-07-30 Thread Axel Luttgens
Le 30 juil. 2013 à 12:28, Timo Sirainen a écrit : On 14.7.2013, at 19.54, Axel Luttgens wrote: [...] Going on with our telnet session: recipient=john@example.com size=1 action=OK Hmmm... OK, this may be a config problem of mine which may require further

Re: [Dovecot] Unable to use dovecot-antispam plugin

2013-07-30 Thread Xavier Claude
Le lundi 29 juillet 2013 08:51:17 Steffen Kaiser a écrit : On Sat, 27 Jul 2013, Xavier Claude wrote: 2.1.7), but it's not working, each time I put a mail in the Spam Turn on logging and the mail_log plugin: http://wiki2.dovecot.org/Logging http://wiki2.dovecot.org/Plugins/MailLog

Re: [Dovecot] LDA vs. LMTP

2013-07-30 Thread Joseph Tam
Martin Burgraf writes: I don't know why you would consider a background process inferior to a run-on-demand executable. Well, the background process is hogging CPU and RAM while it basically does nothing. Hogging CPU and memory is putting it strongly, as it is basically suspended while

Re: [Dovecot] LDA vs. LMTP

2013-07-30 Thread Ben Morrow
At 3PM -0700 on 30/07/13 you (Joseph Tam) wrote: Martin Burgraf writes: And when it's running as root there is always the danger of privilege escalation. LDA only runs when it's needed and since it uses only user rights it shoudbe more harmless. I didn't contest the privilege