[Dovecot] Vacation?
CentOS 5.1 Dovecot & Postfix (part of CentOS install & updated)
I understand that there is a package which is part of Dovecot to handle "Auto Responses" known as Vacation.
Where I can find more info on this package & especially how to install & configure it?
Thanks
Kirt
On 6/30/2008, kbajwa (kbajwa@tibonline.net) wrote:
I understand that there is a package which is part of Dovecot to handle "Auto Responses" known as Vacation.
Where I can find more info on this package & especially how to install & configure it?
http://wiki.dovecot.org/LDA/Sieve
--
Best regards,
Charles
I tried installing Dovecot Sieve Plugin. When I enter the command:
% ./configure --with-dovecot=../dovecot-1.0.7
I get the error:
Error: C processor "lib/cpp" fails sanity check.
I think the problem may be that I am installing wrong version of Dovecot-Sieve-Plugin. Here is my system, just in case I am right:
CentOS 5.1 postfix-2.3.3 (Note) dovecot-1.0.7 (Note) dovecot-sieve-1.1.5
Note: Both postfix & dovecot are installed from CentOS 5.1 distro. I am sure that there are also updates.
Can somebody help with this problem? I am pretty GREEN, therefore, if you can provide with 4-5 installation lines, I will really appreciate it.
Thanks.
Kirti
-----Original Message----- From: dovecot-bounces+kbajwa=tibonline.net@dovecot.org [mailto:dovecot-bounces+kbajwa=tibonline.net@dovecot.org] On Behalf Of Charles Marcus Sent: Monday, June 30, 2008 12:50 PM To: dovecot@dovecot.org Subject: Re: [Dovecot] Vacation?
On 6/30/2008, kbajwa (kbajwa@tibonline.net) wrote:
I understand that there is a package which is part of Dovecot to handle "Auto Responses" known as Vacation.
Where I can find more info on this package & especially how to install & configure it?
http://wiki.dovecot.org/LDA/Sieve
--
Best regards,
Charles
Hi Kirti,
On Tuesday 01 July 2008, kbajwa wrote:
I tried installing Dovecot Sieve Plugin. When I enter the command:
% ./configure --with-dovecot=../dovecot-1.0.7
I get the error:
Error: C processor "lib/cpp" fails sanity check.
I think the problem may be that I am installing wrong version of Dovecot-Sieve-Plugin. Here is my system, just in case I am right:
CentOS 5.1 postfix-2.3.3 (Note) dovecot-1.0.7 (Note) dovecot-sieve-1.1.5
Note: Both postfix & dovecot are installed from CentOS 5.1 distro. I am sure that there are also updates.
Can somebody help with this problem? I am pretty GREEN, therefore, if you can provide with 4-5 installation lines, I will really appreciate it.
Thanks.
Kirti
I recommend that you use the CentOS RPMs from atrpms.net (1.1 branch) - they work very well for me and other people here on the list. You don't need to build anything from source then.
Once you have them running, follow the Wiki article that Charles provided a link to - it describes how to work with dovecot's sieve interpreter. One of the possibilities that come with sieve is the 'vacation' extension.
Patrick.
-- STAR Software (Shanghai) Co., Ltd. http://www.star-group.net/ Phone: +86 (21) 3462 7688 x 826 Fax: +86 (21) 3462 7779
PGP key: https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005
Hello All:
After all the responses I received on this post, I installed 'Vacation' as follows:
-Download Sieve Plugin from http://www.dovecot.org/download.html into 'Desktop'.
-Compile Sieve Plugin with Dovecot: % cd Desktop % tar zxfv dovecot-sieve-?.?.?.tar.gz % cd dovecot-sieve-?.?.? % ./configure --with-dovecot=../dovecot-?.?.? Note: We have the find the V# of Dovecot! % make % make install
-Edit '/etc/dovecot.conf': protocol lda { mail_plugins = cmusieve }
-Create a file ".dovecot.sieve" in '/home/test/' & add the following in this file:
require ["fileinto", "vacation"];
# Move spam to spam folder if exists "X-Spam-Flag" { fileinto "spam"; # Stop here so that we do not reply on spams stop; } vacation # Reply at most once a day to a same sender :days 1 :subject "Out of office reply" # List of recipient addresses which are included in the auto replying. # If a mail's recipient is not on this list, no vacation reply is sent for it. :addresses [test@tib.com] "I'm out of office, please contact Joan Doe instead. Best regards Test Msg";
-Restart 'httpd'.
Results: I do not receive 'Auto Response'. Can somebody look at the above and see what am I doing wrong?
I have also tried by adding the above file into '/home/test/Maildir/' without success.
This is my first install of 'Vacation'.
Thanks.
Kirti
On 7/7/2008, kbajwa (kbajwa@tibonline.net) wrote:
Results: I do not receive 'Auto Response'. Can somebody look at the above and see what am I doing wrong?
Logs? Also, you might ant to seriously consider upgrading to the latest (1.1.1 currently), it has come a long way since 1.0.7...
--
Best regards,
Charles
Hello:
- I am new to LINUX and thus I am using only those applications which come bundled in with CentOS 5.1. Have no idea how to update to dovecot-1.1.1!!!
Do you know if Dovecot-1.1.1 works with CentOS 5.1?
- I assume when you said logs, you mean 'var/log/maillog'. If so, here is a piece of it (it is quite large):
Jul 7 18:32:56 www dovecot: Dovecot v1.0.7 starting up Jul 7 18:32:57 www postfix/postfix-script: starting the Postfix mail system
Jul 7 18:32:57 www postfix/master[2287]: daemon started -- version 2.3.3, configuration /etc/postfix Jul 7 18:36:10 www dovecot: auth(default): Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards Jul 7 18:36:35 www postfix/smtpd[2902]: connect from unknown[12.179.81.11] Jul 8 00:36:36 www postfix/smtpd[2902]: 350DB2050052: client=unknown[12.179.81.11]
Jul 7 18:36:36 www postfix/cleanup[2906]: 350DB2050052: message-id=229F2FEA9EC04450B445450765063118@Sunshine Jul 7 18:36:36 www postfix/qmgr[2299]: 350DB2050052: from=kbajwa@tibonline.net, size=825, nrcpt=1 (queue active) Jul 7 18:36:36 www postfix/local[2907]: 350DB2050052: to=test@tib.com, relay=local, delay=0.85, delays=0.71/0.06/0/0.08, dsn=2.0.0, status=sent (delivered to maildir) Jul 7 18:36:36 www postfix/qmgr[2299]: 350DB2050052: removed
Jul 8 00:36:36 www postfix/smtpd[2902]: disconnect from unknown[12.179.81.11] Jul 7 18:39:11 www dovecot: pop3-login: Login: user=<kirtib>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.106, TLS Jul 7 18:39:11 www dovecot: POP3(kirtib): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
I hope this helps.
BIG THANKS.
Kirti
-----Original Message----- From: dovecot-bounces+kbajwa=tibonline.net@dovecot.org [mailto:dovecot-bounces+kbajwa=tibonline.net@dovecot.org] On Behalf Of Charles Marcus Sent: Monday, July 07, 2008 5:13 PM To: dovecot@dovecot.org Subject: Re: [Dovecot] Vacation?
On 7/7/2008, kbajwa (kbajwa@tibonline.net) wrote:
Results: I do not receive 'Auto Response'. Can somebody look at the above and see what am I doing wrong?
Logs? Also, you might ant to seriously consider upgrading to the latest (1.1.1 currently), it has come a long way since 1.0.7...
--
Best regards,
Charles
On 7/7/2008 kbajwa wrote:
Do you know if Dovecot-1.1.1 works with CentOS 5.1?
http://www.atrpms.net/dist/el5/dovecot/
http://www.atrpms.net/dist/el5/dovecot-sieve/
- I assume when you said logs, you mean 'var/log/maillog'. If so, here is a piece of it (it is quite large):
Well... not just *anything* from it... what I meant was, a log event of a message delivery that should have resulted in a vacation message being sent.
Jul 7 18:36:10 www dovecot: auth(default): Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Time is critical on servers... you need to fix this. Are you running ntp client (NOT ntpdate)? Is this running in a virtual machine.
I don't see any complete logs of a single message that should have resulted in a vacation message.
Also, dovecot -n and postconf -n output might help too...
On 7/8/2008, Anders (mail@flac.kalibalik.dk) wrote:
If running in a virtual machine, say KVM, what do you propose to do about the time issue?
All I know is syncing time on a VM is tricky - and you should NOT use ntp to do it...
I also know that the PAID version of VMWare has its own tool(s) for syncing time which supposedly works well, but I guess you need to consult google and/or the KVM list for help with this one - but you need to do it, or you will continue to have problems...
Good luck, and it would be appreciated if you'd report back with your findings in case someone else stumbles on this issue here...
--
Best regards,
Charles
On Tuesday 08 July 2008, Anders wrote:
Charles Marcus wrote:
Time is critical on servers... you need to fix this. Are you running ntp client (NOT ntpdate)? Is this running in a virtual machine.
If running in a virtual machine, say KVM, what do you propose to do about the time issue?
Anders.
On a side note: There are not such problems when using OS virtualisation (as in Linux-VServer1, for example) - run an ntpd on the 'host' and have the same time in all guests. It also has very little overhead. So if it's an option to use OS virtualisation instead of "real virtualisation", maybe you can save yourself the hassle with time jumping backwards.
Patrick.
-- STAR Software (Shanghai) Co., Ltd. http://www.star-group.net/ Phone: +86 (21) 3462 7688 x 826 Fax: +86 (21) 3462 7779
PGP key: https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005
Charles:
I am using the email address: test@wildpeacockstudios.com for testing dovecot.sieve.
Here are the logs:
/var/log/maillog
Jul 8 04:47:29 www dovecot: Dovecot v1.0.7 starting up Jul 8 04:47:30 www postfix/postfix-script: starting the Postfix mail system Jul 8 04:47:30 www postfix/master[2588]: daemon started -- version 2.3.3, configuration /etc/postfix Jul 8 04:48:33 www dovecot: pop3-login: Login: user=<kirtib>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.107, TLS Jul 8 04:48:33 www dovecot: POP3(kirtib): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jul 8 04:50:14 www dovecot: pop3-login: Login: user=<test>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.107 Jul 8 04:50:15 www dovecot: POP3(test): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jul 8 04:51:18 www postfix/smtpd[3216]: connect from mail.spaceportusa.net[12.179.81.11] Jul 8 04:51:19 www postfix/smtpd[3216]: 49B931ED8038: client=mail.spaceportusa.net[12.179.81.11] Jul 8 04:51:19 www postfix/cleanup[3220]: 49B931ED8038: message-id=B50F23C515504B4499795A6E443A337E@Sunshine Jul 8 04:51:19 www postfix/qmgr[2609]: 49B931ED8038: from=kbajwa@tibonline.net, size=900, nrcpt=1 (queue active) Jul 8 04:51:19 www postfix/local[3221]: 49B931ED8038: to=test@wildpeacockstudios.com, relay=local, delay=0.67, delays=0.64/0.02/0/0, dsn=2.0.0, status=sent (delivered to maildir) Jul 8 04:51:19 www postfix/qmgr[2609]: 49B931ED8038: removed Jul 8 04:51:19 www postfix/smtpd[3216]: disconnect from mail.spaceportusa.net[12.179.81.11] Jul 8 04:54:39 www postfix/anvil[3218]: statistics: max connection rate 1/60s for (smtp:12.179.81.11) at Jul 8 04:51:18 Jul 8 04:54:39 www postfix/anvil[3218]: statistics: max connection count 1 for (smtp:12.179.81.11) at Jul 8 04:51:18 Jul 8 04:54:39 www postfix/anvil[3218]: statistics: max cache size 1 at Jul 8 04:51:18 Jul 8 04:55:29 www dovecot: pop3-login: Login: user=<test>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.107, TLS Jul 8 04:55:29 www dovecot: POP3(test): Disconnected: Logged out top=0/0, retr=1/1041, del=1/1, size=1024 Jul 8 04:58:24 www dovecot: pop3-login: Login: user=<wps-system-messages>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.107 Jul 8 04:58:24 www dovecot: pop3-login: Login: user=<kirtib>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.107, TLS Jul 8 04:58:24 www dovecot: POP3(wps-system-messages): Disconnected: Logged out top=0/0, retr=0/0, del=0/2, size=142211 Jul 8 04:58:24 www dovecot: POP3(kirtib): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
%dovecot -n
[root@www ~]# dovecot -n
# 1.0.7: /etc/dovecot.conf
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_location: maildir:~/Maildir
maildir_copy_with_hardlinks: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh
imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
imap_client_workarounds(pop3): outlook-idle
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
mechanisms: plain login
passdb:
driver: pam
userdb:
driver: passwd
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: postfix
group: postfix
[root@www ~]#
%postconf -n
[root@www ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = wildpeacockstudios.com myhostname = mail.wildpeacockstudios.com mynetworks = 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES relay_domains = relayhost = sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot unknown_local_recipient_reject_code = 550 [root@www ~]#
.dovecot.sieve (/home/test/)
require ["fileinto", "vacation"]; # Move spam to spam folder if exists "X-Spam-Flag" { fileinto "spam"; # Stop here so that we do not reply on spams stop; } vacation # Reply at most once a day to a same sender :days 1 :subject "Out of office reply" # List of recipient addresses which are included in the auto replying. # If a mail's recipient is not on this list, no vacation reply is sent for it. :addresses ["test@wildpeacockstudios.com"] "I'm out of office, please contact me at my vacation home in Hawaii instead. Best regards K";
Hope this answers my problem. Many Many THANKS in advance.
Kirti
-----Original Message----- From: dovecot-bounces+kbajwa=tibonline.net@dovecot.org [mailto:dovecot-bounces+kbajwa=tibonline.net@dovecot.org] On Behalf Of Charles Marcus Sent: Monday, July 07, 2008 8:36 PM To: 'Dovecot Mailing List' Subject: Re: [Dovecot] Vacation?
On 7/7/2008 kbajwa wrote:
Do you know if Dovecot-1.1.1 works with CentOS 5.1?
http://www.atrpms.net/dist/el5/dovecot/
http://www.atrpms.net/dist/el5/dovecot-sieve/
- I assume when you said logs, you mean 'var/log/maillog'. If so, here is a piece of it (it is quite large):
Well... not just *anything* from it... what I meant was, a log event of a message delivery that should have resulted in a vacation message being sent.
Jul 7 18:36:10 www dovecot: auth(default): Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Time is critical on servers... you need to fix this. Are you running ntp client (NOT ntpdate)? Is this running in a virtual machine.
I don't see any complete logs of a single message that should have resulted in a vacation message.
Also, dovecot -n and postconf -n output might help too...
Hi,
According to your log file and configuration, postfix uses its own LDA 'local' to save messages to the fs. To use the sieve functions from dovecot, you need to configure postfix to use the dovecot LDA 'deliver', by adding
mailbox_command = /usr/libexec/dovecot/deliver
to postfix' main.cf, or read http://wiki.dovecot.org/LDA/Postfix
Regards, Tom
kbajwa wrote:
Charles:
I am using the email address: test@wildpeacockstudios.com for testing dovecot.sieve.
Here are the logs:
/var/log/maillog
Jul 8 04:47:29 www dovecot: Dovecot v1.0.7 starting up Jul 8 04:47:30 www postfix/postfix-script: starting the Postfix mail system Jul 8 04:47:30 www postfix/master[2588]: daemon started -- version 2.3.3, configuration /etc/postfix Jul 8 04:48:33 www dovecot: pop3-login: Login: user=<kirtib>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.107, TLS Jul 8 04:48:33 www dovecot: POP3(kirtib): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jul 8 04:50:14 www dovecot: pop3-login: Login: user=<test>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.107 Jul 8 04:50:15 www dovecot: POP3(test): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jul 8 04:51:18 www postfix/smtpd[3216]: connect from mail.spaceportusa.net[12.179.81.11] Jul 8 04:51:19 www postfix/smtpd[3216]: 49B931ED8038: client=mail.spaceportusa.net[12.179.81.11] Jul 8 04:51:19 www postfix/cleanup[3220]: 49B931ED8038: message-id=B50F23C515504B4499795A6E443A337E@Sunshine Jul 8 04:51:19 www postfix/qmgr[2609]: 49B931ED8038: from=kbajwa@tibonline.net, size=900, nrcpt=1 (queue active) Jul 8 04:51:19 www postfix/local[3221]: 49B931ED8038: to=test@wildpeacockstudios.com, relay=local, delay=0.67, delays=0.64/0.02/0/0, dsn=2.0.0, status=sent (delivered to maildir) Jul 8 04:51:19 www postfix/qmgr[2609]: 49B931ED8038: removed Jul 8 04:51:19 www postfix/smtpd[3216]: disconnect from mail.spaceportusa.net[12.179.81.11] Jul 8 04:54:39 www postfix/anvil[3218]: statistics: max connection rate 1/60s for (smtp:12.179.81.11) at Jul 8 04:51:18 Jul 8 04:54:39 www postfix/anvil[3218]: statistics: max connection count 1 for (smtp:12.179.81.11) at Jul 8 04:51:18 Jul 8 04:54:39 www postfix/anvil[3218]: statistics: max cache size 1 at Jul 8 04:51:18 Jul 8 04:55:29 www dovecot: pop3-login: Login: user=<test>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.107, TLS Jul 8 04:55:29 www dovecot: POP3(test): Disconnected: Logged out top=0/0, retr=1/1041, del=1/1, size=1024 Jul 8 04:58:24 www dovecot: pop3-login: Login: user=<wps-system-messages>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.107 Jul 8 04:58:24 www dovecot: pop3-login: Login: user=<kirtib>, method=PLAIN, rip=::ffff:192.168.0.64, lip=::ffff:65.103.190.107, TLS Jul 8 04:58:24 www dovecot: POP3(wps-system-messages): Disconnected: Logged out top=0/0, retr=0/0, del=0/2, size=142211 Jul 8 04:58:24 www dovecot: POP3(kirtib): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
%dovecot -n
[root@www ~]# dovecot -n # 1.0.7: /etc/dovecot.conf login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login mail_location: maildir:~/Maildir maildir_copy_with_hardlinks: yes mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): outlook-idle pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login passdb: driver: pam userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix [root@www ~]#
%postconf -n
[root@www ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = wildpeacockstudios.com myhostname = mail.wildpeacockstudios.com mynetworks = 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES relay_domains = relayhost = sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot unknown_local_recipient_reject_code = 550 [root@www ~]#
.dovecot.sieve (/home/test/)
require ["fileinto", "vacation"]; # Move spam to spam folder if exists "X-Spam-Flag" { fileinto "spam"; # Stop here so that we do not reply on spams stop; } vacation # Reply at most once a day to a same sender :days 1 :subject "Out of office reply" # List of recipient addresses which are included in the auto replying. # If a mail's recipient is not on this list, no vacation reply is sent for it. :addresses ["test@wildpeacockstudios.com"] "I'm out of office, please contact me at my vacation home in Hawaii instead. Best regards K";
Hope this answers my problem. Many Many THANKS in advance.
Kirti
-----Original Message----- From: dovecot-bounces+kbajwa=tibonline.net@dovecot.org [mailto:dovecot-bounces+kbajwa=tibonline.net@dovecot.org] On Behalf Of Charles Marcus Sent: Monday, July 07, 2008 8:36 PM To: 'Dovecot Mailing List' Subject: Re: [Dovecot] Vacation?
On 7/7/2008 kbajwa wrote:
Do you know if Dovecot-1.1.1 works with CentOS 5.1?
http://www.atrpms.net/dist/el5/dovecot/
http://www.atrpms.net/dist/el5/dovecot-sieve/
- I assume when you said logs, you mean 'var/log/maillog'. If so, here is a piece of it (it is quite large):
Well... not just *anything* from it... what I meant was, a log event of a message delivery that should have resulted in a vacation message being sent.
Jul 7 18:36:10 www dovecot: auth(default): Time just moved backwards by 1 seconds. I'll sleep now until we're back in present. http://wiki.dovecot.org/TimeMovedBackwards
Time is critical on servers... you need to fix this. Are you running ntp client (NOT ntpdate)? Is this running in a virtual machine.
I don't see any complete logs of a single message that should have resulted in a vacation message.
Also, dovecot -n and postconf -n output might help too...
-- Groetjes, Tom
Glasvezel? http://www.biezen.net
Hello:
This has been a long post but I am still trying. Here is the latest problem, but first the system:
CentOS 5.2 Postfix 2.3.3 + updates (bundled with CentOS 5.2) Dovecot-1.0.7 (bundled with CentOS 5.2) Dovecot-1.1.1 (Updated from www.atrpms.com as recommended by Charles Marcus)
Problem:
After the above software is installed, 'pop3' does not open. I research the internet and found discussion on this problem. It has something to do with IPV6 causing the problem. On the internet it is suggested to change [::] to '*'.
Me being new to Dovecot (and LINUX in general), I have no idea to fix this problem.
Please:
(1) Direct to a web site where this error is discussed in layman's term; (2) If you know what I am talking about & have encountered the same problem, lease give me a line of code & the file where it would go.
Here is information from my setup:
/var/log/mailog
Jul 10 16:14:05 www dovecot: Dovecot v1.1.1 starting up Jul 10 16:14:07 www postfix/postfix-script: starting the Postfix mail system
Jul 10 16:14:07 www postfix/master[4764]: daemon started -- version 2.3.3,
configuration /etc/postfix
Jul 10 16:14:27 www postfix/smtpd[5067]: connect from
proxy.gymspk.cz[85.207.83.178]
Jul 10 16:14:27 www postfix/smtpd[5067]: NOQUEUE: reject: RCPT from
proxy.gymspk.cz[85.207.83.178]: 550 5.1.1 kbajwa@tib.com: Recipient
address rejected: User unknown in local recipient table;
from=service101@intl1.paypal1.com to=kbajwa@tib.com proto=ESMTP
helo=
Jul 10 16:14:28 www postfix/smtpd[5067]: disconnect from
proxy.gymspk.cz[85.207.83.178]
[root@www ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = tib.com myhostname = mail.tib.com mynetworks = 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES relay_domains = relayhost = sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 [root@www ~]#
[root@www ~]# dovecot -n # 1.1.1: /etc/dovecot.conf login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login mail_location: maildir:~/Maildir/ mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook_idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook_idle netscape-eoh imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: passdb: driver: pam userdb: driver: passwd [root@www ~]#
Thanks in advance.
Kirti
On 7/10/2008, kbajwa (kbajwa@tibonline.net) wrote:
CentOS 5.2 Postfix 2.3.3 + updates (bundled with CentOS 5.2) Dovecot-1.0.7 (bundled with CentOS 5.2) Dovecot-1.1.1 (Updated from www.atrpms.com as recommended by Charles Marcus)
? Hopefully you don't have BOTH 1.0.7 and 1.1.1 installed? ;)
After the above software is installed, 'pop3' does not open.
Proof? Logs showing dovecot startup failure? Th logs you did show showed dovecot starting up successfully...
I research the internet and found discussion on this problem. It has something to do with IPV6 causing the problem. On the internet it is suggested to change [::] to '*'.
This is well documented in the example dovecot config file:
<see attached>
So, just change:
listen = [::]
to:
listen = *
or you can specify per protocol, again, as documented...
--
Best regards,
Charles
# A space separated list of IP or host addresses where to listen in for # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all # IPv6 interfaces, but may also listen in all IPv4 interfaces depending # on the operating system. Use "*, [::]" for listening both IPv4 and # IPv6. # # If you want to specify ports for each service, you will need to # configure these settings inside the protocol imap/pop3/managesieve { # ... } section, # so you can specify different ports for IMAP/POP3/MANAGESIEVE. For # example: # protocol imap { # listen = *:10143 # ssl_listen = *:10943 # .. # } # protocol pop3 { # listen = *:10100 # .. # } # protocol managesieve { # listen = *:12000 # .. # } listen = [::]
On 7/11/2008 12:02 PM, Charles Marcus wrote:
This is well documented in the example dovecot config file:
<see attached>
Weird... I had to attach the snippet from dovecot.conf showing the documented configuration for the listen directive - it kept bouncing telling me not to post my entire dovecot.conf file... maybe this 'filter' can be tweaked to allow small portions of it to be included?
--
Best regards,
Charles
on 7-11-2008 9:06 AM Charles Marcus spake the following:
On 7/11/2008 12:02 PM, Charles Marcus wrote:
This is well documented in the example dovecot config file:
<see attached>
Weird... I had to attach the snippet from dovecot.conf showing the documented configuration for the listen directive - it kept bouncing telling me not to post my entire dovecot.conf file... maybe this 'filter' can be tweaked to allow small portions of it to be included?
Doesn't dovecot -n show your settings?
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
On 7/11/2008, Scott Silva (ssilva@sgvwater.com) wrote:
Weird... I had to attach the snippet from dovecot.conf showing the documented configuration for the listen directive - it kept bouncing telling me not to post my entire dovecot.conf file... maybe this 'filter' can be tweaked to allow small portions of it to be included?
Doesn't dovecot -n show your settings?
Of course... but I was trying to show that the OPs question was answered in the commented part of the dovecot.conf file...
--
Best regards,
Charles
On Fri, 2008-07-11 at 12:06 -0400, Charles Marcus wrote:
On 7/11/2008 12:02 PM, Charles Marcus wrote:
This is well documented in the example dovecot config file:
<see attached>
Weird... I had to attach the snippet from dovecot.conf showing the documented configuration for the listen directive - it kept bouncing telling me not to post my entire dovecot.conf file... maybe this 'filter' can be tweaked to allow small portions of it to be included?
Probably rare enough situation so I don't think I'll bother changing the check for now.
Charles Marcus wrote:
Oh, im prey what someone update a FreeBSD port of it. :-(
-- Best Regards, Proskurin Kirill
Hi,
On Tue, Jul 1, 2008 at 8:25 AM, Proskurin Kirill k.proskurin@fxclub.org wrote:
Charles Marcus wrote:
Oh, im prey what someone update a FreeBSD port of it. :-(
Geoffroy Desvernay on Thu, Jun 26, 2008 at 12:05 PM wrote:
updated freebsd ports for dovecot, sieve plugin and managesieve here: http://dgeo.perso.ec-marseille.fr/dovecot Not very well tested, but 'it works for us'™
regards, p.
participants (9)
-
Anders
-
Charles Marcus
-
kbajwa
-
Patrick Nagel
-
peceka
-
Proskurin Kirill
-
Scott Silva
-
Timo Sirainen
-
Tom Hendrikx