Sieve plugin (fc17 + sendmail + roundcube)
Hello, I'm trying to configure sieve plugin on my mail server so that people can do mail filtering (and mostly vacation notification) on their account. The mail server is running fine since 5 years and is based on :- sendmail- dovecot- roundcube It serves 2 differents domains. I've recently installed pigeonhole for fc17, and managed to configure managesieve plugin in roundcube successfully. Users can now manage filters from roundcube. The problem is that filters are not applied when new mails arrives. I've modified dovecot.conf to activate sieve plugin, and the configuration is as follow : # dovecot -n# 2.1.16: /etc/dovecot/dovecot.conf# OS: Linux 3.8.13-100.fc17.x86_64 x86_64 Fedora release 17 (Beefy Miracle) log_path = /var/log/dovecot.logmail_debug = yesmail_location = mbox:~/mail:INBOX=/var/spool/mail/%umanagesieve_notify_capability = mailtomanagesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihavembox_write_locks = fcntlnamespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = }passdb { driver = pam}plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve}protocols = imap pop3 lmtp sieveservice imap-login { service_count = 0}service lmtp { executable = lmtp -L}service pop3-login { service_count = 0}ssl_cert = /usr/share/sendmail-cf/m4/cf.m4')dnl VERSIONID(setup for linux')dnl
OSTYPE(linux')dnl define(
confLOG_LEVEL', 15')dnl define(
confDEF_USER_ID', ``8:12'')dnl
define(confTO_CONNECT',
5m')dnl
define(confTRY_NULL_MX_LIST',
True')dnl
define(confDONT_PROBE_INTERFACES',
True')dnl
define(PROCMAIL_MAILER_PATH',
/usr/bin/procmail')dnl
define(ALIAS_FILE',
/etc/aliases')dnl
define(STATUS_FILE',
/var/log/mail/statistics')dnl
define(UUCP_MAILER_MAX',
2000000')dnl
define(confUSERDB_SPEC',
/etc/mail/userdb.db')dnl
define(confPRIVACY_FLAGS',
authwarnings,novrfy,noexpn,restrictqrun')dnl
define(confAUTH_OPTIONS',
A')dnl
define(confMIN_QUEUE_AGE',
15m')dnl
define(confTO_QUEUERETURN',
5m')dnl
define(confMAX_MESSAGE_SIZE',
15000000')dnl
define(confDONT_BLAME_SENDMAIL',
forwardfileingroupwritabledirpath,ForwardFileInUnsafeDirPath,ForwardFileInUnsafeDirPathSafe')dnl
define(confTO_IDENT',
0')dnlFEATURE(no_default_msa',
dnl')dnl
FEATURE(smrsh',
/usr/sbin/smrsh')dnl
FEATURE(mailertable',
hash -o /etc/mail/mailertable.db')dnl
FEATURE(virtusertable',
hash -o /etc/mail/virtusertable.db')dnl
FEATURE(genericstable',
hash -o /etc/mail/genericstable.db')dnlGENERICS_DOMAIN_FILE(/etc/mail/generics-domains')dnlFEATURE(redirect)dnl FEATURE(always_add_domain)dnl FEATURE(use_cw_file) FEATURE(use_ct_file)dnl FEATURE(local_procmail,
', procmail -t -Y -a $h -d $u')dnl FEATURE(
access_db', hash -T<TMPF> -o /etc/mail/access.db')dnl FEATURE(
blacklist_recipients')dnlEXPOSED_USER(root')dnl DAEMON_OPTIONS(
Port=smtp, Name=MTA')dnlFEATURE(accept_unresolvable_domains')dnl FEATURE(
relay_hosts_only')dnl
FEATURE(dnsbl',
ipwhois.rfc-ignorant.org',"550 Mail from " $&{client_addr} " refused. Rejected for bad WHOIS info on IP of your SMTP server - see http://www.rfc-ignorant.org/"') FEATURE(
dnsbl', proxies.blackholes.easynet.nl',
"550 5.7.1 ACCESS DENIED to OPEN PROXY SERVER "$&{client_name}" by easynet.nl DNSBL (http://proxies.blackholes.easynet.nl/errors.html)"', ') FEATURE(
dnsbl', bl.spamcop.net',
"450 Mail from " $'&{client_addr} " refused - see http://spamcop.net/bl.shtml"') FEATURE(
dnsbl',sbl.spamhaus.org',
Rejected - see http://spamhaus.org/')
MAILER(smtp)dnl
MAILER(procmail)dnl I've created a /etc/procmailrc file in /etc to activate dovecot but this doesn't work and users can't get any mails : # cat /etc/procmailrc.old
# file: /etc/procmailrc
# system-wide settings for procmail
DROPPRIVS=YES
SHELL="/bin/bash"
SENDMAIL="/usr/sbin/sendmail -oi -t"
LOGFILE="/var/log/procmail.log"
DELIVER="/usr/libexec/dovecot/deliver"
# fallback:
DEFAULT="$HOME/mail/"
MAILDIR="$HOME/mail/"
:0 w
- ^X-Spam-Status: Yes | $DELIVER -m spam :0 w | $DELIVER As it is a production server, I'm not confident to make modifications in all directions, and would need some help to process safely this update on my mail server. I think I'm missing some parameters somewhere, but the question is... where ? so any help would be appreciated. RegardsFranck.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 24 Jul 2014, Franck CALLEJA wrote:
Date: Thu, 24 Jul 2014 10:50:21 +0200 From: Franck CALLEJA fc193@hotmail.com Reply-To: Dovecot Mailing List dovecot@dovecot.org To: "dovecot@dovecot.org" dovecot@dovecot.org Subject: Sieve plugin (fc17 + sendmail + roundcube)
Hello, I'm trying to configure sieve plugin on my mail server so that people can do mail filtering (and mostly vacation notification) on their account. The mail server is running fine since 5 years and is based on :- sendmail- dovecot- roundcube It serves 2 differents domains. I've recently installed pigeonhole for fc17, and managed to configure managesieve plugin in roundcube successfully. Users can now manage filters from roundcube. The problem is that filters are not applied when new mails arrives. I've modified dovecot.conf to activate sieve plugin, and the configuration is as follow : # dovecot -n# 2.1.16: /etc/dovecot/dovecot.conf# OS: Linux 3.8.13-100.fc17.x86_64 x86_64 Fedora release 17 (Beefy Miracle) log_path = /var/log/dovecot.logmail_debug = yesmail_location = mbox:~/mail:INBOX=/var/spool/mail/%umanagesieve_notify_capability = mailtomanagesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relationa! l regex imap4flags copy include variables body enotify environment mailbox date ihavembox_write_locks = fcntlnamespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = }passdb { driver = pam}plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve}protocols = imap pop3 lmtp sieveservice imap-login { service_count = 0}service lmtp { executable = lmtp -L}service pop3-login { service_count = 0}ssl_cert = /usr/share/sendmail-cf/m4/cf.m4')dnl VERSIONID(setup for linux')dnl OSTYPE(
linux')dnl define(
confLOG_LEVEL',15')dnl define(
confDEF_USER_ID', ``8:12'')dnl define(confTO_CONNECT',
5m')dnl define(confTRY_NULL_MX_LIST',
True')dnl define(confDONT_PROBE_INTERFACES',
True')dnl define(PROCMAIL_MAILER_PATH',
/usr/bin/procmail')dnl define(ALIAS_FILE',
/etc/aliases')dnl define(STATUS_FILE',
/var/log/mail/statistics')dnl define(UUCP_MAILER_MAX',
2000000')dnl define(confUSERDB_SPEC',
/etc/mail/userdb.db')dnl define(confPRIVACY_FLAGS',
authwarnings,novrfy,noexpn,restrictqrun')dnl define(confAUTH_OPTIONS',
A')dnl define(confMIN_QUEUE_AGE',
15m')dnl define(confTO_QUEUERETURN',
5m')dnl define(confMAX_MESSAGE_SIZE',
15000000')dnl define(confDONT_BLAME_SENDMAIL',
forwardfileingroupwritabledirpath,ForwardFileInUnsafeDirPath,ForwardFileInUnsafeDirPathSafe')dnl define(confTO_IDENT',
0')dnlFEATURE(no_default_msa',
dnl')dnl FEATURE(smrsh',
/usr/sbin/smrsh')dnl FEATURE(mailertable',
hash -o /etc/mail/mailertable.db')dnl FEATURE(virtusertable',
hash -o /etc/mail/virtusertable.db')dnl FEATURE(genericstable',
hash -o /etc/mail/genericstable.db')dnlGENERICS_DOMAIN_FILE(/etc/mail/generics-domains')dnlFEATURE(redirect)dnl FEATURE(always_add_domain)dnl FEATURE(use_cw_file) FEATURE(use_ct_file)dnl FEATURE(local_procmail,
',procmail -t -Y -a $h -d $u')dnl FEATURE(
access_db',hash -T<TMPF> -o /etc/mail/access.db')dnl FEATURE(
blacklist_recipients')dnlEXPOSED_USER(root')dnl DAEMON_OPTIONS(
Port=smtp, Name=MTA')dnlFEATURE(accept_unresolvable_domains')dnl FEATURE(
relay_hosts_only')dnl FEATURE(dnsbl',
ipwhois.rfc-ignorant.org',"550 Mail from " $&{client_addr} " refused. Rejected for bad WHOIS info on IP of your SMTP server - see http://www.rfc-ignorant.org/"') FEATURE(
dnsbl',proxies.blackholes.easynet.nl',
"550 5.7.1 ACCESS DENIED to OPEN PROXY SERVER "$&{client_name}" by easynet.nl DNSBL (http://proxies.blackholes.easynet.nl/errors.html)"',') FEATURE(
dnsbl',bl.spamcop.net',
"450 Mail from " $'&{client_addr} " refused - see http://spamcop.net/bl.shtml"') FEATURE(
dnsbl',sbl.spamhaus.org',
Rejected - see http://spamhaus.org/') MAILER(smtp)dnl MAILER(procmail)dnl I've created a /etc/procmailrc file in /etc to activate dovecot but this doesn't work and users can't get any mails : # cat /etc/procmailrc.old # file: /etc/procmailrc # system-wide settings for procmail DROPPRIVS=YES SHELL="/bin/bash" SENDMAIL="/usr/sbin/sendmail -oi -t" LOGFILE="/var/log/procmail.log" DELIVER="/usr/libexec/dovecot/deliver" # fallback: DEFAULT="$HOME/mail/" MAILDIR="$HOME/mail/" :0 w
- ^X-Spam-Status: Yes | $DELIVER -m spam :0 w | $DELIVER As it is a production server, I'm not confident to make modifications in all directions, and would need some help to process safely this update on my mail server. I think I'm missing some parameters somewhere, but the question is... where ? so any help would be appreciated. RegardsFranck.
What are the log messages from the Dovecot LDA? Maybe, add mail_debug=yes
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU9DLHXz1H7kL/d9rAQIP+gf+NsAgryy5RZPl70mtENJRso5A7GBHVtIg j0+QiOnxRuFmkg77jeSsycPlLBYVL0qtc9737bqT/tuvPRv7K1m4/lsQlnWP1rKS HLT7y7BcmQOjJOSAAElfcrilrpmyzQ1Ao7uWZBPlKLWN0sz6/COm5TFl0m3Jmjzd Fy0thv5yVFjTTYiPdWHV4RaTXyE/C1Bn4nbuzCm5FVCeTx5V2cUPXuwahMi7upSK dRHrUYv0e8u5e4b5gPGKy/dlPij3iQrt5RkGJDCd7yos+WFKiumTVcNTPFoEQJ72 04rpouDcB5YCr80b14/Rt5MIVumMZq//0AbVFe27X5+Gpvv1YxHtBA== =+igM -----END PGP SIGNATURE-----
Hello,
Here are the filtered extract from the log file as off 3rd July (the day I made the test), I should give another try if I have some progress on this thread.
Jul 03 16:27:45 lda: Debug: Loading modules from directory: /usr/lib64/dovecot
Jul 03 16:27:45 lda: Debug: Module loaded: /usr/lib64/dovecot/lib90_sieve_plugin.so
Jul 03 16:27:45 lda: Debug: auth input: fcalleja system_groups_user=fcalleja uid=500 gid=100 home=/home/fcalleja
Jul 03 16:27:45 lda(fcalleja): Debug: Effective uid=500, gid=100, home=/home/fcalleja
Jul
03 16:27:45 lda(fcalleja): Debug: Namespace inbox: type=private,
prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes
location=mbox:~/mail:INBOX=/var/spool/mail/fcalleja
Jul 03 16:27:45 lda(fcalleja): Debug: fs: root=/home/fcalleja/mail, index=, control=, inbox=/var/spool/mail/fcalleja, alt=
Jul 03 16:27:45 lda(fcalleja): Debug: none: root=, index=, control=, inbox=, alt=
Jul 03 16:27:45 lda(fcalleja): Debug: Destination address: fcalleja@servfc.audis-consulting.fr (source: user@hostname)
Jul
03 16:27:45 lda(fcalleja): Debug: sieve: include: sieve_global_dir is
not set; it is currently not possible to include :global' scripts. Jul 03 16:27:45 lda(fcalleja): Debug: sieve: using the following location for user's Sieve script: /home/fcalleja/.dovecot.sieve Jul 03 16:27:45 lda(fcalleja): Debug: sieve: opening script /home/fcalleja/.dovecot.sieve Jul 03 16:27:45 lda(fcalleja): Debug: sieve: script
main script' from /home/fcalleja/.dovecot.sieve successfully compiled
Jul 03 16:27:45 lda(fcalleja): Debug: sieve: executing script from /home/fcalleja/.dovecot.sieve
Jul
03 16:27:45 lda(fcalleja): Info: sieve:
msgid=FFA106958F926641804B2465A9966453065D54@FR711WXCHMBA04.zeu.alcatel-lucent.com:
discarding vacation response for implicitly delivered message; no known
(envelope) recipient address found in message headers
(recipient=fcalleja@servfc.audis-consulting.fr, and no
additional :addresses' are specified) Jul 03 16:27:45 lda(fcalleja): Info: sieve: msgid=<FFA106958F926641804B2465A9966453065D54@FR711WXCHMBA04.zeu.alcatel-lucent.com>: stored mail into mailbox 'INBOX' Jul 03 16:30:19 lda: Debug: Loading modules from directory: /usr/lib64/dovecot Jul 03 16:30:19 lda: Debug: Module loaded: /usr/lib64/dovecot/lib90_sieve_plugin.so Jul 03 16:30:19 lda: Debug: auth input: fcalleja system_groups_user=fcalleja uid=500 gid=100 home=/home/fcalleja Jul 03 16:30:19 lda(fcalleja): Debug: Effective uid=500, gid=100, home=/home/fcalleja Jul 03 16:30:19 lda(fcalleja): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mbox:~/mail:INBOX=/var/spool/mail/fcalleja Jul 03 16:30:19 lda(fcalleja): Debug: fs: root=/home/fcalleja/mail, index=, control=, inbox=/var/spool/mail/fcalleja, alt= Jul 03 16:30:19 lda(fcalleja): Debug: none: root=, index=, control=, inbox=, alt= Jul 03 16:30:19 lda(fcalleja): Debug: Destination address: fcalleja@servfc.audis-consulting.fr (source: user@hostname) Jul 03 16:30:19 lda(fcalleja): Debug: sieve: include: sieve_global_dir is not set; it is currently not possible to include
:global' scripts.
Jul 03 16:30:19 lda(fcalleja): Debug: sieve: using the following location for user's Sieve script: /home/fcalleja/.dovecot.sieve
Jul 03 16:30:19 lda(fcalleja): Debug: sieve: opening script /home/fcalleja/.dovecot.sieve
Jul 03 16:30:19 lda(fcalleja): Debug: sieve: script binary /home/fcalleja/.dovecot.svbin is not up-to-date
Jul 03 16:30:19 lda(fcalleja): Debug: sieve: script main script' from /home/fcalleja/.dovecot.sieve successfully compiled Jul 03 16:30:19 lda(fcalleja): Debug: sieve: executing script from /home/fcalleja/.dovecot.sieve Jul 03 16:30:19 lda(fcalleja): Info: sieve: msgid=<FFA106958F926641804B2465A9966453065D6B@FR711WXCHMBA04.zeu.alcatel-lucent.com>: discarding vacation response for implicitly delivered message; no known (envelope) recipient address found in message headers (recipient=<fcalleja@servfc.audis-consulting.fr>, and no additional
:addresses' are specified)
Jul 03 16:30:19 lda(fcalleja):
Info: sieve:
msgid=FFA106958F926641804B2465A9966453065D6B@FR711WXCHMBA04.zeu.alcatel-lucent.com:
stored mail into mailbox 'INBOX'
Jul 03 16:31:21 lda: Debug: Loading modules from directory: /usr/lib64/dovecot
Jul 03 16:31:21 lda: Debug: Module loaded: /usr/lib64/dovecot/lib90_sieve_plugin.so
Jul 03 16:31:21 lda: Debug: auth input: netw-fcalleja system_groups_user=netw-fcalleja uid=529 gid=100 home=/home/netw-fcalleja
Jul 03 16:31:21 lda(netw-fcalleja): Debug: Effective uid=529, gid=100, home=/home/netw-fcalleja
Jul
03 16:31:21 lda(netw-fcalleja): Debug: Namespace inbox: type=private,
prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes
location=mbox:~/mail:INBOX=/var/spool/mail/netw-fcalleja
Jul 03
16:31:21 lda(netw-fcalleja): Debug: fs: root=/home/netw-fcalleja/mail,
index=, control=, inbox=/var/spool/mail/netw-fcalleja, alt=
Jul 03 16:31:21 lda(netw-fcalleja): Debug: none: root=, index=, control=, inbox=, alt=
Jul 03 16:31:21 lda(netw-fcalleja): Debug: Destination address: netw-fcalleja@servfc.audis-consulting.fr (source: user@hostname)
Jul
03 16:31:21 lda(netw-fcalleja): Debug: sieve: include: sieve_global_dir
is not set; it is currently not possible to include :global' scripts. Jul 03 16:31:21 lda(netw-fcalleja): Debug: sieve: using the following location for user's Sieve script: /home/netw-fcalleja/.dovecot.sieve Jul 03 16:31:21 lda(netw-fcalleja): Debug: sieve: opening script /home/netw-fcalleja/.dovecot.sieve Jul 03 16:31:21 lda(netw-fcalleja): Debug: sieve: script
main script' from
/home/netw-fcalleja/.dovecot.sieve successfully compiled
Jul 03 16:31:21 lda(netw-fcalleja): Debug: sieve: executing script from /home/netw-fcalleja/.dovecot.sieve
Jul
03 16:31:21 lda(netw-fcalleja): Info: sieve:
msgid=FFA106958F926641804B2465A9966453065D6B@FR711WXCHMBA04.zeu.alcatel-lucent.com:
discarding vacation response for implicitly delivered message; no known
(envelope) recipient address found in message headers
(recipient=netw-fcalleja@servfc.audis-consulting.fr, and no
additional :addresses' are specified) Jul 03 16:31:21 lda(netw-fcalleja): Info: sieve: msgid=<FFA106958F926641804B2465A9966453065D6B@FR711WXCHMBA04.zeu.alcatel-lucent.com>: stored mail into mailbox 'INBOX' Jul 03 16:31:46 lda: Debug: Loading modules from directory: /usr/lib64/dovecot Jul 03 16:31:46 lda: Debug: Module loaded: /usr/lib64/dovecot/lib90_sieve_plugin.so Jul 03 16:31:46 lda: Debug: auth input: ygarot system_groups_user=ygarot uid=518 gid=100 home=/home/ygarot Jul 03 16:31:46 lda(ygarot): Debug: Effective uid=518, gid=100, home=/home/ygarot Jul 03 16:31:46 lda(ygarot): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mbox:~/mail:INBOX=/var/spool/mail/ygarot Jul 03 16:31:46 lda(ygarot): Debug: fs: root=/home/ygarot/mail, index=, control=, inbox=/var/spool/mail/ygarot, alt= Jul 03 16:31:46 lda(ygarot): Debug: none: root=, index=, control=, inbox=, alt= Jul 03 16:31:46 lda(ygarot): Debug: Destination address: ygarot@servfc.audis-consulting.fr (source: user@hostname) Jul 03 16:31:46 lda(ygarot): Debug: sieve: include: sieve_global_dir is not set; it is currently not possible to include
:global' scripts.
Jul 03 16:31:46 lda(ygarot): Debug: sieve: script file /home/ygarot/.dovecot.sieve not found
Jul 03 16:31:46 lda(ygarot): Debug: sieve: user's script ~/.dovecot.sieve doesn't exist (using default script location instead)
Jul 03 16:31:46 lda(ygarot): Debug: sieve: no default script configured for user
Jul 03 16:31:46 lda(ygarot): Debug: sieve: user has no valid location for a personal script
Jul 03 16:31:46 lda(ygarot): Debug: sieve: no scripts to execute: reverting to default delivery.
Jul 03 16:31:46 lda(ygarot): Info: msgid=002301cf96cb$7e79e940$7b6dbbc0$@groupe-a3a.com: saved mail to INBOX
Going through the users home directory I've noticed that the structure of the mail directory tree could be different using dovecot or procmail, no ? Look the tree extract of my user directory, some folders have been created the 3rd July :
2# tree -aD . ├── [Jul 22 13:03] &AMk-l&AOk-ments\ envoy&AOk-s ├── [Dec 10 2012] &AMk-l&AOk-ments\ supprim&AOk-s ├── [Feb 13 2013] .AppleDouble │ ├── [Dec 10 2012] &AMk-l&AOk-ments\ envoy&AOk-s │ ├── [Dec 10 2012] &AMk-l&AOk-ments\ supprim&AOk-s │ ├── [Dec 10 2012] AUDIS\ NETWORKING │ ├── [Dec 10 2012] Brouillons │ ├── [Dec 10 2012] Courrier\ ind&AOk-sirable │ ├── [Dec 10 2012] Deleted\ Messages │ ├── [Dec 10 2012] Drafts │ ├── [Dec 10 2012] DRH\ Audis │ ├── [Dec 13 2012] .imap │ │ ├── [Dec 13 2012] &AMk-l&AOk-ments\ envoy&AOk-s │ │ │ └── [Dec 13 2012] dovecot.index.log │ │ ├── [Dec 13 2012] &AMk-l&AOk-ments\ supprim&AOk-s │ │ │ └── [Dec 13 2012] dovecot.index.log │ │ └── [Dec 13 2012] AUDIS\ NETWORKING │ │ └── [Dec 13 2012] dovecot.index.log │ ├── [Dec 10 2012] Informatique\ Interne │ ├── [Dec 10 2012] Log\ Watch │ ├── [Dec 10 2012] Notes │ ├── [Mar 6 22:15] .Parent │ ├── [Dec 10 2012] Personnels │ ├── [Dec 10 2012] Projet\ -\ Audit\ Informatique │ ├── [Dec 10 2012] Projet\ -\ Forfaitisation │ ├── [Dec 10 2012] Projet\ -\ The\ BOX │ ├── [Dec 10 2012] Recrutement │ ├── [Dec 10 2012] Sent\ Messages │ ├── [Feb 13 2013] .subscriptions │ └── [Feb 13 2013] Trash ├── [Jul 18 16:05] Brouillons ├── [Jul 9 9:18] Courrier\ ind&AOk-sirable ├── [Jul 3 16:55] cur ├── [Jul 9 9:17] Drafts ├── [Jul 9 9:18] .imap │ ├── [Jul 15 9:49] &AMk-l&AOk-ments\ envoy&AOk-s │ │ ├── [Jul 9 12:37] dovecot.index │ │ ├── [Jul 23 14:48] dovecot.index.cache │ │ └── [Jul 22 13:03] dovecot.index.log │ ├── [Jun 5 2012] &AMk-l&AOk-ments\ supprim&AOk-s │ │ ├── [Dec 1 2011] dovecot.index │ │ ├── [Dec 10 2012] dovecot.index.cache │ │ └── [Jul 2 16:47] dovecot.index.log │ ├── [Dec 10 2012] .AppleDouble │ │ └── [Dec 10 2012] .Parent │ ├── [Jul 9 11:40] Brouillons │ │ ├── [Jul 9 11:40] dovecot.index │ │ ├── [Jul 18 16:05] dovecot.index.cache │ │ └── [Jul 18 16:05] dovecot.index.log │ ├── [Jul 6 13:15] Courrier\ ind&AOk-sirable │ │ ├── [Jul 3 14:48] dovecot.index │ │ ├── [Jul 9 9:18] dovecot.index.cache │ │ └── [Jul 9 9:18] dovecot.index.log │ ├── [Jul 9 9:17] dovecot.mailbox.log │ ├── [Jul 9 9:18] dovecot-uidvalidity │ ├── [Jul 2 17:14] dovecot-uidvalidity.53b421ef │ ├── [Jul 9 9:18] Drafts │ │ └── [Jul 9 11:12] dovecot.index.log │ ├── [Jul 15 9:49] INBOX │ │ ├── [Jul 23 17:43] dovecot.index │ │ ├── [Jul 24 9:36] dovecot.index.cache │ │ └── [Jul 24 9:36] dovecot.index.log │ ├── [Jul 9 9:18] Sent │ │ └── [Jul 9 11:12] dovecot.index.log │ └── [Jul 15 9:49] Trash │ ├── [Jul 9 10:27] dovecot.index │ ├── [Jul 9 10:27] dovecot.index.cache │ └── [Jul 9 10:27] dovecot.index.log ├── [Jul 6 13:15] new │ ├── [Jul 3 16:55] 1404399347.6970_0.servfc.audis-consulting.fr │ ├── [Jul 3 17:05] 1404399952.7428_0.servfc.audis-consulting.fr │ ├── [Jul 3 17:12] 1404400377.7638_0.servfc.audis-consulting.fr │ └── [Jul 6 13:15] .imap │ ├── [Jul 6 13:15] 1404399347.6970_0.servfc.audis-consulting.fr │ │ └── [Jul 9 9:20] dovecot.index.log │ ├── [Jul 6 13:15] 1404399952.7428_0.servfc.audis-consulting.fr │ │ └── [Jul 7 9:54] dovecot.index.log │ └── [Jul 6 13:15] 1404400377.7638_0.servfc.audis-consulting.fr │ └── [Jul 7 9:54] dovecot.index.log ├── [Jul 9 9:17] Sent ├── [Jul 9 9:17] .subscriptions ├── [Jul 3 17:12] tmp └── [Jul 9 10:27] Trash
Regards Franck.
What are the log messages from the Dovecot LDA? Maybe, add mail_debug=yes
Steffen Kaiser -----BEGIN PGP SIGNATURE-----
What are the log messages from the Dovecot LDA? Maybe, add mail_debug=yes
Steffen Kaiser
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 24 Jul 2014, Franck CALLEJA wrote:
Jul 03 16:27:45 lda(fcalleja): Debug: sieve: executing script from /home/fcalleja/.dovecot.sieve
You see: Sieve is active.
Jul 03 16:27:45 lda(fcalleja): Info: sieve: msgid=FFA106958F926641804B2465A9966453065D54@FR711WXCHMBA04.zeu.alcatel-lucent.com: discarding vacation response for implicitly delivered message; no known (envelope) recipient address found in message headers (recipient=fcalleja@servfc.audis-consulting.fr, and no additional `:addresses' are specified)
Here you see the error, why no vacation notification is sent: You do not have no :addresses specified. See: http://tools.ietf.org/html/rfc5230#section-4.8
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU9DeBnz1H7kL/d9rAQLdiggAsxk5wanmWw0Ce5znX+FyldZYls9dspwo efugreLGyhmQOzm+Lt/RzCL5f9CG1nOukmRuhVpQWsuPYXecgMimoZHcwLL5KA+q pTiPHfHTZS0mofvq+uvAlJ67aVMz/q8bJgFSqcIYdV/qNzlbQ1VdhNpsYw9It68M JeSpYUnvVzCYj3l7Bxgm46co+0E4dJyN20vj1D6RyveqseHg3jZmEbaY/AiX2ubk xAgscZckiOcD4G8Uwtu8VSV3QhhU+KexTrA/SEQC8PWaQZZS73H96AKKPdD7USwT J4A1FDlpdVr76hFeWXZTzjXaLOFLKLlU8OZk3RNc8HJ/Aq4el7oucw== =TemN -----END PGP SIGNATURE-----
Hello
I'm confused, this is effectively not a correct mail address, the "servfc" keyword shouldn't be in the address :
(recipient=fcalleja@servfc.audis-consulting.fr,
But, I can't find anywhere in dovecot, sendmail, roundcube or client mail where this could be misconfigured (I searched 'localhost' in all confs to see if it was specified elsewhere than in a "host" like parameter without success.
This name is effectively precised in /etc/hosts file.
Regards. Franck.
Jul 03 16:27:45 lda(fcalleja): Info: sieve: msgid=FFA106958F926641804B2465A9966453065D54@FR711WXCHMBA04.zeu.alcatel-lucent.com: discarding vacation response for implicitly delivered message; no known (envelope) recipient address found in message headers (recipient=fcalleja@servfc.audis-consulting.fr, and no additional `:addresses' are specified)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 24 Jul 2014, Franck CALLEJA wrote:
I'm confused, this is effectively not a correct mail address, the "servfc" keyword shouldn't be in the address :
(recipient=fcalleja@servfc.audis-consulting.fr,
But, I can't find anywhere in dovecot, sendmail, roundcube or client mail where this could be misconfigured (I searched 'localhost' in all confs to see if it was specified elsewhere than in a "host" like parameter without success.
This name is effectively precised in /etc/hosts file.
You mean, it's the hostname?
You can test the rewriting, IMHO, with:
sendmail -bt 3,0,4 fcalleja@audis-consulting.fr # Display sendmail's hostname $j
Jul 03 16:27:45 lda(fcalleja): Info: sieve: msgid=FFA106958F926641804B2465A9966453065D54@FR711WXCHMBA04.zeu.alcatel-lucent.com: discarding vacation response for implicitly delivered message; no known (envelope) recipient address found in message headers (recipient=fcalleja@servfc.audis-consulting.fr, and no additional `:addresses' are specified)
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU9EbO3z1H7kL/d9rAQK0Wwf/c9eC6/z9MEbES03dlbLs2z0GKZ051qOH 7msRUUIEIjzLv0Axnzr9/Uyw2qWAt2ofD16aEetq9tUIyIVg4FVvHKj3hzhoOKo5 lXeWq0Q8ceg7HBAmiMCCOi9dvALoh6Mp7Qy4mEGTKT/36JHo88MN0PEfYrdBHZY6 CaWKTH87jv5Zutm6X0l3EisfoRdqPrdSzk2Z5UJ8uX08gaX4q/MPFiTFyndamVgg 2Ui4zCYCS6LO9q7/KTd/sxylDvW7y6jIwfN26cqnez83M6RTKU6EtDSF797MEJh5 TMmfuyQoZ0wkd/ooLqCgNAXpoihnYjNkjN3U7HkiP8b7N7gawbgZlw== =H5wl -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 24 Jul 2014, Steffen Kaiser wrote:
On Thu, 24 Jul 2014, Franck CALLEJA wrote:
I'm confused, this is effectively not a correct mail address, the "servfc" keyword shouldn't be in the address :
(recipient=fcalleja@servfc.audis-consulting.fr,
But, I can't find anywhere in dovecot, sendmail, roundcube or client mail where this could be misconfigured (I searched 'localhost' in all confs to see if it was specified elsewhere than in a "host" like parameter without success.
This name is effectively precised in /etc/hosts file.
You mean, it's the hostname?
You can test the rewriting, IMHO, with:
sendmail -bt 3,0,4 fcalleja@audis-consulting.fr # Display sendmail's hostname $j
sendmail -bv fcalleja@audis-consulting.fr
BTW: Maybe it's "always_add_domain": "Include the local host domain even on locally delivered mail. Normally it is not added on unqualified names. However, if you use a shared message store but do not use the same user name space everywhere, you may need the host name on local names. An optional argument specifies another domain to be added than the local. "
Jul 03 16:27:45 lda(fcalleja): Info: sieve: msgid=FFA106958F926641804B2465A9966453065D54@FR711WXCHMBA04.zeu.alcatel-lucent.com: discarding vacation response for implicitly delivered message; no known (envelope) recipient address found in message headers (recipient=fcalleja@servfc.audis-consulting.fr, and no additional `:addresses' are specified)
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU9Ecy3z1H7kL/d9rAQISqgf9F0oLEryV9yHLTYSH8hSZZ7aGgaNOc8hk 63NNK5zEyYZQHhtX9SIQmhE+AUVNtlTkW9MHsFBSJ7C0jYbsBjNGi+m98MrxfLNY kef/QvBArq0vhIyC3woqsz4g6X1pblg939rMGatuI6WjSp+oX3mntrVylkVSqJzi sYlEMRVvAX3P7d8lNfB2FnlSMGK9wlfe0JGAh7+9afv3roxtwNYXEFwNypf7u4Rx c5+YpFL9V3i5iEKIkyZEQ76iVuJ1kl0ycgY1Q/RL3yHLr8e1jGYycDYzYNQVxqW2 Kr7HkkapUsziSem8C6i8mMSOQ40BfHsYuHSAENUZxrZ5ieUiFivoYw== =d6as -----END PGP SIGNATURE-----
The mail server is running fine since 5 years I've recently installed pigeonhole for fc17
are you aware that Fedora 17 is EOL long ago? the currently last supported version is F19
i will never understand why people using a bleeding edge distribution if they can't cope with updates and ignore security completly
P.S.: that said while all my servers are on Fedora for years
participants (3)
-
Franck CALLEJA
-
Reindl Harald
-
Steffen Kaiser