[Dovecot] Postfix, dovecot and sieve - no response from sieve
Os : Linux Debian Etch Version : 1.0.rc15
Config :
# /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S protocols: pop3 imap ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login first_valid_uid: 0 last_valid_uid: 150 first_valid_gid: 0 last_valid_gid: 150 mail_extra_groups: mail mail_location: maildir:/mnt/virtual/mail/%d/%n mail_debug: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: user: vmail verbose: yes passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: static args: uid=vmail gid=mail home=/mnt/virtual/mail/%d/%n userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 511 user: vmail group: mail
My problem is the following : I can't get sieve script running but sieve script compile well automatically (i.e the file .dovecot.sieve compile in a file named .dovecot.sievec). I have followed the installation of sieve, postfix, dovecot under a Debian via apt-get. The program deliver is used correctly by Postfix (master.cf).
With a reject script I have the following trace (user h.henoch@testisc84.org send to test@testisc84.org which have a sieve "reject" script), the mail seems to be rejected but I have no notification for the sender. This script run under a old postfix, cyrus installation
Feb 12 11:55:33 vsmail deliver(h.henoch@testisc84.org):
msgid=dovecot-1202813723-606909-0@vsmail.isc84.org*: rejected*
Feb 12 11:55:33 vsmail postfix/cleanup[26150]: C810F174DA7:
message-id=dovecot-1202813728-750522-0@vsmail.isc84.org
Feb 12 11:55:33 vsmail postfix/pipe[26151]: ADDDC174DA8:
to=h.henoch@testisc84.org, relay=dovecot, delay=5.2,
delays=0.1/0/0/5.1, dsn=2.0.0, status=sent (delivered via dovecot service)
Feb 12 11:55:33 vsmail postfix/qmgr[25852]: ADDDC174DA8: removed
Feb 12 11:55:33 vsmail postfix/qmgr[25852]: C810F174DA7: from=<>,
size=2180, nrcpt=1 (queue active)
*Feb 12 11:55:33 vsmail postfix/qmgr[25852]: C810F174DA7:
to=
The script :
require ["reject"];
reject "
###############################################################################################################################################
### Nous vous informons que XXX ne travaille plus pour YYYY ###
###############################################################################################################################################
";
With a vacation script I have the following trace (same as above), no errors and sieve script seems to be found. This script run under a old postfix, cyrus installation
Feb 12 12:00:42 vsmail postfix/smtpd[26277]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled Feb 12 12:00:43 vsmail postfix/smtpd[26277]: connect from unknown[172.18.101.3] Feb 12 12:00:43 vsmail postfix/smtpd[26277]: 2E1B8174DA6: client=unknown[172.18.101.3] Feb 12 12:00:43 vsmail postfix/cleanup[26280]: 2E1B8174DA6: message-id=47B17C5C.3010203@testisc84.org Feb 12 12:00:43 vsmail postfix/qmgr[25852]: 2E1B8174DA6: from=h.henoch@testisc84.org, size=564, nrcpt=1 (queue active) Feb 12 12:00:43 vsmail postfix/smtpd[26277]: disconnect from unknown[172.18.101.3] Feb 12 12:00:43 vsmail deliver(test@testisc84.org): auth input: test@testisc84.org Feb 12 12:00:43 vsmail deliver(test@testisc84.org): auth input: uid=150 Feb 12 12:00:43 vsmail deliver(test@testisc84.org): auth input: gid=8 Feb 12 12:00:43 vsmail deliver(test@testisc84.org): auth input: home=/mnt/virtual/mail/testisc84.org/test Feb 12 12:00:43 vsmail deliver(test@testisc84.org): Loading modules from directory: /usr/lib/dovecot/modules/lda Feb 12 12:00:43 vsmail deliver(test@testisc84.org): Module loaded: /usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so Feb 12 12:00:43 vsmail deliver(test@testisc84.org): maildir: data=/mnt/virtual/mail/testisc84.org/test Feb 12 12:00:43 vsmail deliver(test@testisc84.org): maildir: root=/mnt/virtual/mail/testisc84.org/test, index=/mnt/virtual/mail/testisc84.org/test, control=, inbox= Feb 12 12:00:43 vsmail deliver(test@testisc84.org): *cmusieve: Using sieve path: /mnt/virtual/mail/testisc84.org/test/.dovecot.sieve* Feb 12 12:00:43 vsmail deliver(test@testisc84.org): msgid=47B17C5C.3010203@testisc84.org: saved mail to INBOX Feb 12 12:00:43 vsmail postfix/pipe[26281]: 2E1B8174DA6: to=test@testisc84.org, relay=dovecot, delay=0.12, delays=0.09/0/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service) Feb 12 12:00:43 vsmail postfix/qmgr[25852]: 2E1B8174DA6: removed
The script :
require ["vacation"];
vacation :addresses ["test@testisc84.org"] :subject "Absences vacances" "Je serais absente du 01 novembre au 25 novembre merci de me contacter plus tard";
Herve probably uses the default Etch package. I don't know who maintains the package: but it certainly is old.
Regards,
Jan -----Oorspronkelijk bericht----- Van: dovecot-bounces+jan.vandenberg=isp.solcon.nl@dovecot.org [mailto:dovecot-bounces+jan.vandenberg=isp.solcon.nl@dovecot.org] Namens Charles Marcus Verzonden: dinsdag 12 februari 2008 13:35 Aan: h.henoch@isc84.org CC: dovecot@dovecot.org Onderwerp: Re: [Dovecot] Postfix, dovecot and sieve - no response from sieve
On 2/12/2008, Hervé Hénoch (h.henoch@isc84.org) wrote:
Version : 1.0.rc15
Upgrade...
This is very old...
--
Best regards,
Charles
On 12.02.2008 16:07, Jan van den Berg wrote:
Herve probably uses the default Etch package. I don't know who maintains the package: but it certainly is old.
Regards,
Jan -----Oorspronkelijk bericht----- Van: dovecot-bounces+jan.vandenberg=isp.solcon.nl@dovecot.org [mailto:dovecot-bounces+jan.vandenberg=isp.solcon.nl@dovecot.org] Namens Charles Marcus Verzonden: dinsdag 12 februari 2008 13:35 Aan: h.henoch@isc84.org CC: dovecot@dovecot.org Onderwerp: Re: [Dovecot] Postfix, dovecot and sieve - no response from sieve
On 2/12/2008, Hervé Hénoch (h.henoch@isc84.org) wrote:
Version : 1.0.rc15
Upgrade...
This is very old...
We probably should write FAQ for Debian users to upgrade using backports version. I see question with such old version quite often in this mailing list.
participants (4)
-
Charles Marcus
-
Hervé Hénoch
-
Jan van den Berg
-
Nikolay Shopik