Thanks.
The log is really useful ;-)
deliver(info@lda.net4all.ch): Fatal: Running as root isn't permitted
So it's not possible acutally to use LDA to deliver mail with different UID/GID
So I need the change all the owner for my mail storage ... update the DB and restart the service ... it's bad !!! I need a lots of downtime to change the owner of 80Go data storage.
So beafore that, I need to test the dovecot-sieve plugin from CVS. Next month a lot of my customer are in holiday and the need auto responders ;-)
I try the dovecot-sieve plugin from the CVS and I have this error when i start make (configure as no error):
libsieve.a(script.o)(.text+0xa23): In function sieve_script_load': /usr/src/dovecot-sieve/src/libsieve/script.c:435: undefined reference to
map_refresh'
libsieve.a(script.o)(.text+0xaf0): In function sieve_script_unload': /usr/src/dovecot-sieve/src/libsieve/script.c:462: undefined reference to
map_free'
libsieve.a(sieve.o)(.text+0x1e6e): In function verify_flag': /usr/src/dovecot-sieve/src/libsieve/sieve.y:951: undefined reference to
imparse_isatom'
collect2: ld returned 1 exit status
make[3]: *** [sievec] Erreur 1
make[3]: Leaving directory /usr/src/dovecot-sieve/src/libsieve' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory
/usr/src/dovecot-sieve/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/src/dovecot-sieve'
make: *** [all-recursive-am] Erreur 2
I have the same error last week when I try to build dovecot-lda with sieve script support from the CVS.
I use Debian Sarge. I think the macro imparse_isatom is from the cyrus-imapd project. I try to install cyrus-dec and cyrus21-dev with apt-get ... but always the same error.
Do you have a idea ?
Le vendredi 16 juin 2006 à 10:44 -0400, My BSD a écrit :
On Fri, 16 Jun 2006 14:44:51 +0200 Dominique Feyer dfeyer@net4all.ch wrote:
I have only postfix log (in syslog mail facility), no dovecot log from the LDA deliver binary (with mail_debug = yes), this is strange ...
Jun 16 14:37:58 mail2 postfix/pickup[6014]: 5407F7FF3: uid=0 from=<root> Jun 16 14:37:58 mail2 postfix/cleanup[6073]: 5407F7FF3: message-id=20060616123758.5407F7FF3@mail2.clm.net4all.ch Jun 16 14:37:58 mail2 postfix/qmgr[6015]: 5407F7FF3: from=root@localhost.localdomain, size=326, nrcpt=1 (queue active) Jun 16 14:37:58 mail2 postfix/pipe[6076]: 5407F7FF3: to=info@lda.net4all.ch, relay=dovecot, delay=0, status=bounced (Command died with status 89: "/usr/local/dovecot-1.0-beta9/libexec/dovecot/deliver")
Can i activate log for the LDA in the configuration file or deliver command argument in master.cf ?
...
My dovecot setup logs to a file, settings below:
mail_debug = yes log_path = /var/log/dovecot/dovecot info_log_path = /var/log/dovecot/dovecot.info
Make sure that the socket user has write access to the file, otherwise it won't work (and thinking of it, also make sure that the socket user also has access to the socket itself -- that was one of my biggest problems before I got it to work).
You may also want to add the following until you get it working:
auth_verbose = yes auth_debug = yes auth_debug_passwords = yes
Good luck!
-- Dominique Feyer Administrateur Système Ch. de la Colline 5bis CH-1007 Lausanne dfeyer@net4all.ch