detect suspicious logins
does anyone know of a linux module (maybe similar to fail2ban) that could be installed which would monitor email logs (sign ins) and alert the user to any suspicious activity on their account? i suspect it would need to log geo location, device type and ip address to a database. it seems like a module like this would be very useful and should exist already? thanks in advance
antispam
in dovecot/conf.d/90-plugin.conf i have plugin { # man antispam #setting_name = value antispam_debug_target = syslog antispam_verbose_debug = 1 antispam_backend = pipe antispam_signature = X-DSPAM-Signature # action to take on mails without signature # (used with any backend requiring a signature) # (we recommend only setting this to 'move' after verifying that the # whole setup is working) # antispam_signature_missing = move # move silently without training antispam_signature_missing = error antispam_trash = Trash antispam_spam = Junk antispam_pipe_program_spam_arg = --spam antispam_pipe_program_notspam_arg = --ham antispam_pipe_program = /usr/bin/sa-learn antispam_pipe_program_args = --username=%Lu } it seems to be going into the database ok but it doesn't seem to be applying anything it is learning. might there be some configuration option missing?
sieve sending vacation message from vm...@ns1.domain.tld
I have a server running centos-release-7-2.1511.el7.centos.2.10.x86_64 with dovecot version 2.2.10. I am also using roundcube for webmail. when a vacation filter (reply with message) is created in roundcube it adds a rule to managesieve.sieve in the user's mailbox. everything works fine except the reply comes from vm...@ns1.domain.tld instead of u...@domain.tld. ns1.domain.tld is the fully qualified name of the server. it used to work fine on my old CentOS 6 server so I am not sure what has changed. Can anyone point me in the direction of where I can configure this behaviour?
Re: sieve sending vacation message from vm...@ns1.domain.tld
I read somewhere it might have something to do with a line in master.cf dovecot unix - n n - - pipe flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} i changed it to flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop} -a ${original_recipient} but it made no difference On 12/10/2016 13:57, Matthew Broadhead wrote: I have a server running centos-release-7-2.1511.el7.centos.2.10.x86_64 with dovecot version 2.2.10. I am also using roundcube for webmail. when a vacation filter (reply with message) is created in roundcube it adds a rule to managesieve.sieve in the user's mailbox. everything works fine except the reply comes from vm...@ns1.domain.tld instead of u...@domain.tld. ns1.domain.tld is the fully qualified name of the server. it used to work fine on my old CentOS 6 server so I am not sure what has changed. Can anyone point me in the direction of where I can configure this behaviour?
Re: sieve sending vacation message from vm...@ns1.domain.tld
hi, does anyone have any ideas about this issue? i have not had any response yet i tried changing /etc/postfix/master.cf line: dovecot unix - n n - - pipe flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} to flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop} -a ${original_recipient} and -d ${user}@${domain} -a {recipient} -f ${sender} -m ${extension} but it didn't work On 12/10/2016 13:57, Matthew Broadhead wrote: I have a server running centos-release-7-2.1511.el7.centos.2.10.x86_64 with dovecot version 2.2.10. I am also using roundcube for webmail. when a vacation filter (reply with message) is created in roundcube it adds a rule to managesieve.sieve in the user's mailbox. everything works fine except the reply comes from vm...@ns1.domain.tld instead of u...@domain.tld. ns1.domain.tld is the fully qualified name of the server. it used to work fine on my old CentOS 6 server so I am not sure what has changed. Can anyone point me in the direction of where I can configure this behaviour?
Re: sieve sending vacation message from vm...@ns1.domain.tld
dovecot is configured by sentora control panel to a certain extent. if you want those configs i can send them as well dovecot -n debug_log_path = /var/log/dovecot-debug.log dict { quotadict = mysql:/etc/sentora/configs/dovecot2/dovecot-dict-quota.conf } disable_plaintext_auth = no first_valid_gid = 12 first_valid_uid = 996 info_log_path = /var/log/dovecot-info.log lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = * lmtp_save_to_detail_mailbox = yes log_path = /var/log/dovecot.log log_timestamp = %Y-%m-%d %H:%M:%S mail_fsync = never mail_location = maildir:/var/sentora/vmail/%d/%n managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave passdb { args = /etc/sentora/configs/dovecot2/dovecot-mysql.conf driver = sql } plugin { acl = vfile:/etc/dovecot/acls quota = maildir:User quota sieve = ~/dovecot.sieve sieve_dir = ~/sieve sieve_global_dir = /var/sentora/sieve/ sieve_global_path = /var/sentora/sieve/globalfilter.sieve sieve_max_script_size = 1M sieve_vacation_send_from_recipient = yes trash = /etc/sentora/configs/dovecot2/dovecot-trash.conf } protocols = imap pop3 lmtp sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } unix_listener auth-userdb { group = mail mode = 0666 user = vmail } } service dict { unix_listener dict { group = mail mode = 0666 user = vmail } } service imap-login { inet_listener imap { port = 143 } process_limit = 500 process_min_avail = 2 } service imap { vsz_limit = 256 M } service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 0 service_count = 1 vsz_limit = 64 M } service pop3-login { inet_listener pop3 { port = 110 } } ssl_cert = Could you send your configuration (output from `dovecot -n`)? Also, please provide an example scenario; i.e., for one problematic delivery provide: - The values of the variables substituted below. - The incoming e-mail message. - The Sieve script (or at least that vacation command). Regards, Stephan. Op 19-10-2016 om 11:42 schreef Matthew Broadhead: hi, does anyone have any ideas about this issue? i have not had any response yet i tried changing /etc/postfix/master.cf line: dovecot unix - n n - - pipe flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} to flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop} -a ${original_recipient} and -d ${user}@${domain} -a {recipient} -f ${sender} -m ${extension} but it didn't work On 12/10/2016 13:57, Matthew Broadhead wrote: I have a server running centos-release-7-2.1511.el7.centos.2.10.x86_64 with dovecot version 2.2.10. I am also using roundcube for webmail. when a vacation filter (reply with message) is created in roundcube it adds a rule to managesieve.sieve in the user's mailbox. everything works fine except the reply comes from vm...@ns1.domain.tld instead of u...@domain.tld. ns1.domain.tld is the fully qualified name of the server. it used to work fine on my old CentOS 6 server so I am not sure what has changed. Can anyone point me in the direction of where I can configure this behaviour? -- Matthew Broadhead NBM Solicitors See the latest jobs available at NBM @www.nbmlaw.co.uk/recruitment.htm 32 Rainsford Road Chelmsford Essex CM1 2QG Tel: 01245 269909 Fax: 01245 261932 www.nbmlaw.co.uk Partners: WJ Broadhead NP Eason SJ Lacey CR Broadhead D Seepaul T Carley NBM Solicitors are authorised and regulated by the Solicitors Regulation Authority. We are also bound by their code of conduct. Registered no. 00061052 NBM also provide a will writing service, see http://www.nbmlaw.co.uk/wills.htm for more information Confidentiality Information in this message is confidential and may be legally privileged. It is intended solely for the recipient to whom it is addressed. If you receive the message in error, please notify the sender and immediately destroy all copies. Security warning Please note that this e-mail has been created in the knowledge that e-mail is not a 100% secure communications medium. We advise you that you understand and observe this lack of security when e-mailing us. This e-mail does not constitute a legally binding document. No contracts may be concluded on behalf of Nigel Broadhead Mynard Solicitors by e-mail communications. If you have any queries, please contact administra...@nbmlaw.co.uk
Re: sieve sending vacation message from vm...@ns1.domain.tld
i am not 100% sure how to give you the information you require. my current setup in /etc/postfix/master.cf is flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} so recipient would presumably be u...@domain.tld? or do you want the real email address of one of our users? is there some way i can output this information directly e.g. in logs? the incoming email message could be anything? again i can run an example directly if you can advise the best way to do this On 19/10/2016 12:54, Stephan Bosch wrote: Also, please provide an example scenario; i.e., for one problematic delivery provide: - The values of the variables substituted in the dovecot-lda command line; i.e., provide that command line. - The incoming e-mail message. Regards, Stephan. Op 19-10-2016 om 12:43 schreef Matthew Broadhead: dovecot is configured by sentora control panel to a certain extent. if you want those configs i can send them as well dovecot -n debug_log_path = /var/log/dovecot-debug.log dict { quotadict = mysql:/etc/sentora/configs/dovecot2/dovecot-dict-quota.conf } disable_plaintext_auth = no first_valid_gid = 12 first_valid_uid = 996 info_log_path = /var/log/dovecot-info.log lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = * lmtp_save_to_detail_mailbox = yes log_path = /var/log/dovecot.log log_timestamp = %Y-%m-%d %H:%M:%S mail_fsync = never mail_location = maildir:/var/sentora/vmail/%d/%n managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave passdb { args = /etc/sentora/configs/dovecot2/dovecot-mysql.conf driver = sql } plugin { acl = vfile:/etc/dovecot/acls quota = maildir:User quota sieve = ~/dovecot.sieve sieve_dir = ~/sieve sieve_global_dir = /var/sentora/sieve/ sieve_global_path = /var/sentora/sieve/globalfilter.sieve sieve_max_script_size = 1M sieve_vacation_send_from_recipient = yes trash = /etc/sentora/configs/dovecot2/dovecot-trash.conf } protocols = imap pop3 lmtp sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } unix_listener auth-userdb { group = mail mode = 0666 user = vmail } } service dict { unix_listener dict { group = mail mode = 0666 user = vmail } } service imap-login { inet_listener imap { port = 143 } process_limit = 500 process_min_avail = 2 } service imap { vsz_limit = 256 M } service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 0 service_count = 1 vsz_limit = 64 M } service pop3-login { inet_listener pop3 { port = 110 } } ssl_cert = Could you send your configuration (output from `dovecot -n`)? Also, please provide an example scenario; i.e., for one problematic delivery provide: - The values of the variables substituted below. - The incoming e-mail message. - The Sieve script (or at least that vacation command). Regards, Stephan. Op 19-10-2016 om 11:42 schreef Matthew Broadhead: hi, does anyone have any ideas about this issue? i have not had any response yet i tried changing /etc/postfix/master.cf line: dovecot unix - n n - - pipe flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} to flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop} -a ${original_recipient} and -d ${user}@${domain} -a {recipient} -f ${sender} -m ${extension} but it didn't work On 12/10/2016 13:57, Matthew Broadhead wrote: I have a server running centos-release-7-2.1511.el7.centos.2.10.x86_64 with dovecot version 2.2.10. I am also using roundcube for webmail. when a vacation filter (reply with message) is created in roundcube it adds a rule to managesieve.sieve in the user's mailbox. everything works fine except the reply comes from vm...@ns1.domain.tld instead of u...@domain.tld. ns1.domain.tld is the fully qualified name of the server. it used to work fine on my old CentOS 6 server so I am not sure what has changed. Can anyone point me in the direction of where I can configure this behaviour?
Re: sieve sending vacation message from vm...@ns1.domain.tld
with mail_debug set to yes the dovecot-debug.log for an email sent to ufuk.kok...@nbmlaw.co.uk is 2016-10-19 13:25:41lda: Debug: Loading modules from directory: /usr/lib64/dovecot 2016-10-19 13:25:41lda: Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so 2016-10-19 13:25:41lda: Debug: Module loaded: /usr/lib64/dovecot/lib90_sieve_plugin.so 2016-10-19 13:25:41lda: Debug: auth input: ufuk.kok...@nbmlaw.co.uk home=/var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal/ mail=maildir:/var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal/ uid=996 gid=12 quota_rule=*:bytes=1048576 2016-10-19 13:25:41lda: Debug: Added userdb setting: mail=maildir:/var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal/ 2016-10-19 13:25:41lda: Debug: Added userdb setting: plugin/quota_rule=*:bytes=1048576 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: Effective uid=996, gid=12, home=/var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal/ 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: Quota root: name=User quota backend=maildir args= 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: Quota rule: root=User quota mailbox=* bytes=1048576 messages=0 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: Quota grace: root=User quota bytes=1048576000 (10%) 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: maildir++: root=/var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal, index=, indexpvt=, control=, inbox=/var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal, alt= 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: Quota root: name=User quota backend=maildir args= 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: Quota grace: root=User quota bytes=0 (10%) 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt= 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: Destination address: ufuk.kok...@nbmlaw.co.uk (source: user@hostname) 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: sieve: Pigeonhole version 0.4.2 initializing 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: sieve: using the following location for user's Sieve script: /var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal//dovecot.sieve;name=main script 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: sieve: loading script /var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal//dovecot.sieve;name=main script 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: sieve: script binary /var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal//dovecot.svbin successfully loaded 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: sieve: binary save: not saving binary /var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal//dovecot.svbin, because it is already stored 2016-10-19 13:25:41lda(ufuk.kok...@nbmlaw.co.uk): Debug: sieve: executing script from /var/sentora/vmail/nbmlaw.co.uk/ufuk.koksal//dovecot.svbin i will see if there is any output for postfix On 19/10/2016 13:54, Stephan Bosch wrote: Op 19-10-2016 om 13:47 schreef Matthew Broadhead: i am not 100% sure how to give you the information you require. my current setup in /etc/postfix/master.cf is flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} so recipient would presumably be u...@domain.tld? or do you want the real email address of one of our users? is there some way i can output this information directly e.g. in logs? I am no Postfix expert. I just need to know which values are being passed to dovecot-lda with what options. I'd assume Postfix allows logging the command line or at least the values of these variables. the incoming email message could be anything? again i can run an example directly if you can advise the best way to do this As long as the problem occurs with this message. BTW, it would also be helpful to have the Dovecot logs from this delivery, with mail_debug configured to "yes". Regards, Stephan. On 19/10/2016 12:54, Stephan Bosch wrote: Also, please provide an example scenario; i.e., for one problematic delivery provide: - The values of the variables substituted in the dovecot-lda command line; i.e., provide that command line. - The incoming e-mail message. Regards, Stephan. Op 19-10-2016 om 12:43 schreef Matthew Broadhead: dovecot is configured by sentora control panel to a certain extent. if you want those configs i can send them as well dovecot -n debug_log_path = /var/log/dovecot-debug.log dict { quotadict = mysql:/etc/sentora/configs/dovecot2/dovecot-dict-quota.conf } disable_plaintext_auth = no first_valid_gid = 12 first_valid_uid = 996 info_log_path = /var/log/dovecot-info.log lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = * lmtp_save_to_detail_mailbox = yes log_path = /var/log/dovecot.log log_timestamp = %Y-%m-%d %H:%M:%S mail_fsync = never mail_location = maildir:/var/sentora/vmail/%d/%n managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encode
Re: sieve sending vacation message from vm...@ns1.domain.tld
/var/log/maillog showed this Oct 19 13:25:41 ns1 postfix/smtpd[1298]: 7599A2C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 7599A2C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: from=, size=3190, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[32367]: (32367-17) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [80.30.255.180]:54566 [80.30.255.180] -> , Queue-ID: BFFA62C1965, Message-ID: , mail_id: TlJQ9xQhWjQk, Hits: -2.9, size: 2235, queued_as: 7599A2C19C6, dkim_new=foo:nbmlaw.co.uk, 531 ms Oct 19 13:25:41 ns1 postfix/smtp[1135]: BFFA62C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.76, delays=0.22/0/0/0.53, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 7599A2C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: BFFA62C1965: removed Oct 19 13:25:41 ns1 postfix/smtpd[1114]: connect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/smtpd[1114]: NOQUEUE: filter: RCPT from ns1.nbmlaw.co.uk[217.174.253.19]: : Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from= to= proto=SMTP helo= Oct 19 13:25:41 ns1 postfix/smtpd[1114]: 8A03F2C1965: client=ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 8A03F2C1965: message-id= Oct 19 13:25:41 ns1 opendmarc[2430]: implicit authentication service: ns1.nbmlaw.co.uk Oct 19 13:25:41 ns1 opendmarc[2430]: 8A03F2C1965: ns1.nbmlaw.co.uk fail Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: from=, size=1077, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 postfix/smtpd[1114]: disconnect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 sSMTP[1895]: Sent mail for vm...@ns1.nbmlaw.co.uk (221 2.0.0 Bye) uid=996 username=vmail outbytes=971 Oct 19 13:25:41 ns1 postfix/smtpd[1898]: connect from unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/pipe[1162]: 7599A2C19C6: to=, relay=dovecot, delay=0.46, delays=0/0/0/0.45, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: removed Oct 19 13:25:41 ns1 postfix/smtpd[1898]: E53472C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: E53472C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: E53472C19C6: from=, size=1619, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[1885]: (01885-01) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [217.174.253.19]:40960 [217.174.253.19] -> , Queue-ID: 8A03F2C1965, Message-ID: , mail_id: mOMO97yjVqjM, Hits: -2.211, size: 1301, queued_as: E53472C19C6, 296 ms Oct 19 13:25:41 ns1 postfix/smtp[1217]: 8A03F2C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.38, delays=0.08/0/0/0.29, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as E53472C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: removed Oct 19 13:25:42 ns1 postfix/pipe[1303]: E53472C19C6: to=, relay=dovecot, delay=0.14, delays=0/0/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:42 ns1 postfix/qmgr[1059]: E53472C19C6: removed On 19/10/2016 13:54, Stephan Bosch wrote: Op 19-10-2016 om 13:47 schreef Matthew Broadhead: i am not 100% sure how to give you the information you require. my current setup in /etc/postfix/master.cf is flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} so recipient would presumably be u...@domain.tld? or do you want the real email address of one of our users? is there some way i can output this information directly e.g. in logs? I am no Postfix expert. I just need to know which values are being passed to dovecot-lda with what options. I'd assume Postfix allows logging the command line or at least the values of these variables. the incoming email message could be anything? again i can run an example directly if you can advise the best way to do this As long as the problem occurs with this message. BTW, it would also be helpful to have the Dovecot logs from this delivery, with mail_debug configured to "yes". Regards, Stephan. On 19/10/2016 12:54, Stephan Bosch wrote: Also, please provide an example scenario; i.e., for one problematic delivery provide: - The values of the variables substituted in the dovecot-lda command line; i.e., provide that command line. - The incoming e-mail message. Regards, Stephan. Op 19-10-2016 om 12:43 schreef Matthew Broadhead: dovecot is configured by sentora control panel to a certain extent. if you want those configs i can send them as well dovecot -n debug_log_path = /var/log/dovecot-debug.log dict { quotadict = mysql:/etc/sentora/configs/dovecot2/dovecot-dict-quota.conf } disable_plaintext_auth = no first_valid_gid = 12 first_valid_uid = 996 info_log_path = /var/log/dovecot-info.log lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = * lmtp_save_to_detail_mailbox = yes log_path = /var/log/dovecot.log log_timestamp = %Y-%m-%
Re: sieve sending vacation message from vm...@ns1.domain.tld
do i need to provide more information? On 19/10/2016 14:49, Matthew Broadhead wrote: /var/log/maillog showed this Oct 19 13:25:41 ns1 postfix/smtpd[1298]: 7599A2C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 7599A2C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: from=, size=3190, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[32367]: (32367-17) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [80.30.255.180]:54566 [80.30.255.180] -> , Queue-ID: BFFA62C1965, Message-ID: , mail_id: TlJQ9xQhWjQk, Hits: -2.9, size: 2235, queued_as: 7599A2C19C6, dkim_new=foo:nbmlaw.co.uk, 531 ms Oct 19 13:25:41 ns1 postfix/smtp[1135]: BFFA62C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.76, delays=0.22/0/0/0.53, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 7599A2C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: BFFA62C1965: removed Oct 19 13:25:41 ns1 postfix/smtpd[1114]: connect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/smtpd[1114]: NOQUEUE: filter: RCPT from ns1.nbmlaw.co.uk[217.174.253.19]: : Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from= to= proto=SMTP helo= Oct 19 13:25:41 ns1 postfix/smtpd[1114]: 8A03F2C1965: client=ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 8A03F2C1965: message-id= Oct 19 13:25:41 ns1 opendmarc[2430]: implicit authentication service: ns1.nbmlaw.co.uk Oct 19 13:25:41 ns1 opendmarc[2430]: 8A03F2C1965: ns1.nbmlaw.co.uk fail Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: from=, size=1077, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 postfix/smtpd[1114]: disconnect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 sSMTP[1895]: Sent mail for vm...@ns1.nbmlaw.co.uk (221 2.0.0 Bye) uid=996 username=vmail outbytes=971 Oct 19 13:25:41 ns1 postfix/smtpd[1898]: connect from unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/pipe[1162]: 7599A2C19C6: to=, relay=dovecot, delay=0.46, delays=0/0/0/0.45, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: removed Oct 19 13:25:41 ns1 postfix/smtpd[1898]: E53472C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: E53472C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: E53472C19C6: from=, size=1619, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[1885]: (01885-01) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [217.174.253.19]:40960 [217.174.253.19] -> , Queue-ID: 8A03F2C1965, Message-ID: , mail_id: mOMO97yjVqjM, Hits: -2.211, size: 1301, queued_as: E53472C19C6, 296 ms Oct 19 13:25:41 ns1 postfix/smtp[1217]: 8A03F2C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.38, delays=0.08/0/0/0.29, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as E53472C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: removed Oct 19 13:25:42 ns1 postfix/pipe[1303]: E53472C19C6: to=, relay=dovecot, delay=0.14, delays=0/0/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:42 ns1 postfix/qmgr[1059]: E53472C19C6: removed On 19/10/2016 13:54, Stephan Bosch wrote: Op 19-10-2016 om 13:47 schreef Matthew Broadhead: i am not 100% sure how to give you the information you require. my current setup in /etc/postfix/master.cf is flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} so recipient would presumably be u...@domain.tld? or do you want the real email address of one of our users? is there some way i can output this information directly e.g. in logs? I am no Postfix expert. I just need to know which values are being passed to dovecot-lda with what options. I'd assume Postfix allows logging the command line or at least the values of these variables. the incoming email message could be anything? again i can run an example directly if you can advise the best way to do this As long as the problem occurs with this message. BTW, it would also be helpful to have the Dovecot logs from this delivery, with mail_debug configured to "yes". Regards, Stephan. On 19/10/2016 12:54, Stephan Bosch wrote: Also, please provide an example scenario; i.e., for one problematic delivery provide: - The values of the variables substituted in the dovecot-lda command line; i.e., provide that command line. - The incoming e-mail message. Regards, Stephan. Op 19-10-2016 om 12:43 schreef Matthew Broadhead: dovecot is configured by sentora control panel to a certain extent. if you want those configs i can send them as well dovecot -n debug_log_path = /var/log/dovecot-debug.log dict { quotadict = mysql:/etc/sentora/configs/dovecot2/dovecot-dict-quota.conf } disable_plaintext_auth = no first_valid_gid = 12 first_valid_uid = 996 info_log_path = /var/log/dovecot-info.log lda_mailbox_autocreate = yes lda_mailbox_autos
Re: sieve sending vacation message from vm...@ns1.domain.tld
the server is using CentOS 7 and that is the package that comes through yum. everything is up to date. i am hesitant to install a new package manually as that could cause other compatibility issues? is there another way to test the configuration on the server? On 21/10/2016 01:07, Stephan Bosch wrote: Op 10/20/2016 om 7:38 PM schreef Matthew Broadhead: do i need to provide more information? It still doesn't make sense to me. I do notice that the version you're using is ancient (dated 26-09-2013), which may well the problem. Do have the ability to upgrade? Regards, Stephan. On 19/10/2016 14:49, Matthew Broadhead wrote: /var/log/maillog showed this Oct 19 13:25:41 ns1 postfix/smtpd[1298]: 7599A2C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 7599A2C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: from=, size=3190, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[32367]: (32367-17) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [80.30.255.180]:54566 [80.30.255.180] -> , Queue-ID: BFFA62C1965, Message-ID: , mail_id: TlJQ9xQhWjQk, Hits: -2.9, size: 2235, queued_as: 7599A2C19C6, dkim_new=foo:nbmlaw.co.uk, 531 ms Oct 19 13:25:41 ns1 postfix/smtp[1135]: BFFA62C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.76, delays=0.22/0/0/0.53, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 7599A2C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: BFFA62C1965: removed Oct 19 13:25:41 ns1 postfix/smtpd[1114]: connect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/smtpd[1114]: NOQUEUE: filter: RCPT from ns1.nbmlaw.co.uk[217.174.253.19]: : Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from= to= proto=SMTP helo= Oct 19 13:25:41 ns1 postfix/smtpd[1114]: 8A03F2C1965: client=ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 8A03F2C1965: message-id= Oct 19 13:25:41 ns1 opendmarc[2430]: implicit authentication service: ns1.nbmlaw.co.uk Oct 19 13:25:41 ns1 opendmarc[2430]: 8A03F2C1965: ns1.nbmlaw.co.uk fail Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: from=, size=1077, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 postfix/smtpd[1114]: disconnect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 sSMTP[1895]: Sent mail for vm...@ns1.nbmlaw.co.uk (221 2.0.0 Bye) uid=996 username=vmail outbytes=971 Oct 19 13:25:41 ns1 postfix/smtpd[1898]: connect from unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/pipe[1162]: 7599A2C19C6: to=, relay=dovecot, delay=0.46, delays=0/0/0/0.45, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: removed Oct 19 13:25:41 ns1 postfix/smtpd[1898]: E53472C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: E53472C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: E53472C19C6: from=, size=1619, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[1885]: (01885-01) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [217.174.253.19]:40960 [217.174.253.19] -> , Queue-ID: 8A03F2C1965, Message-ID: , mail_id: mOMO97yjVqjM, Hits: -2.211, size: 1301, queued_as: E53472C19C6, 296 ms Oct 19 13:25:41 ns1 postfix/smtp[1217]: 8A03F2C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.38, delays=0.08/0/0/0.29, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as E53472C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: removed Oct 19 13:25:42 ns1 postfix/pipe[1303]: E53472C19C6: to=, relay=dovecot, delay=0.14, delays=0/0/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:42 ns1 postfix/qmgr[1059]: E53472C19C6: removed On 19/10/2016 13:54, Stephan Bosch wrote: Op 19-10-2016 om 13:47 schreef Matthew Broadhead: i am not 100% sure how to give you the information you require. my current setup in /etc/postfix/master.cf is flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} so recipient would presumably be u...@domain.tld? or do you want the real email address of one of our users? is there some way i can output this information directly e.g. in logs? I am no Postfix expert. I just need to know which values are being passed to dovecot-lda with what options. I'd assume Postfix allows logging the command line or at least the values of these variables. the incoming email message could be anything? again i can run an example directly if you can advise the best way to do this As long as the problem occurs with this message. BTW, it would also be helpful to have the Dovecot logs from this delivery, with mail_debug configured to "yes". Regards, Stephan. On 19/10/2016 12:54, Stephan Bosch wrote: Also, please provide an example scenario; i.e., for one problematic delivery provide: - The values of the variables substituted in the dovecot-lda command line; i.e., provide that command line. - The incoming e-mail message. Regards, S
Re: sieve sending vacation message from vm...@ns1.domain.tld
are there any instructions or tests i can make to check the sieve configuration? or does the magic all happen internally and there are no settings to change? On 21/10/2016 10:22, Matthew Broadhead wrote: the server is using CentOS 7 and that is the package that comes through yum. everything is up to date. i am hesitant to install a new package manually as that could cause other compatibility issues? is there another way to test the configuration on the server? On 21/10/2016 01:07, Stephan Bosch wrote: Op 10/20/2016 om 7:38 PM schreef Matthew Broadhead: do i need to provide more information? It still doesn't make sense to me. I do notice that the version you're using is ancient (dated 26-09-2013), which may well the problem. Do have the ability to upgrade? Regards, Stephan. On 19/10/2016 14:49, Matthew Broadhead wrote: /var/log/maillog showed this Oct 19 13:25:41 ns1 postfix/smtpd[1298]: 7599A2C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 7599A2C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: from=, size=3190, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[32367]: (32367-17) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [80.30.255.180]:54566 [80.30.255.180] -> , Queue-ID: BFFA62C1965, Message-ID: , mail_id: TlJQ9xQhWjQk, Hits: -2.9, size: 2235, queued_as: 7599A2C19C6, dkim_new=foo:nbmlaw.co.uk, 531 ms Oct 19 13:25:41 ns1 postfix/smtp[1135]: BFFA62C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.76, delays=0.22/0/0/0.53, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 7599A2C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: BFFA62C1965: removed Oct 19 13:25:41 ns1 postfix/smtpd[1114]: connect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/smtpd[1114]: NOQUEUE: filter: RCPT from ns1.nbmlaw.co.uk[217.174.253.19]: : Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from= to= proto=SMTP helo= Oct 19 13:25:41 ns1 postfix/smtpd[1114]: 8A03F2C1965: client=ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 8A03F2C1965: message-id= Oct 19 13:25:41 ns1 opendmarc[2430]: implicit authentication service: ns1.nbmlaw.co.uk Oct 19 13:25:41 ns1 opendmarc[2430]: 8A03F2C1965: ns1.nbmlaw.co.uk fail Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: from=, size=1077, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 postfix/smtpd[1114]: disconnect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 sSMTP[1895]: Sent mail for vm...@ns1.nbmlaw.co.uk (221 2.0.0 Bye) uid=996 username=vmail outbytes=971 Oct 19 13:25:41 ns1 postfix/smtpd[1898]: connect from unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/pipe[1162]: 7599A2C19C6: to=, relay=dovecot, delay=0.46, delays=0/0/0/0.45, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: removed Oct 19 13:25:41 ns1 postfix/smtpd[1898]: E53472C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: E53472C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: E53472C19C6: from=, size=1619, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[1885]: (01885-01) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [217.174.253.19]:40960 [217.174.253.19] -> , Queue-ID: 8A03F2C1965, Message-ID: , mail_id: mOMO97yjVqjM, Hits: -2.211, size: 1301, queued_as: E53472C19C6, 296 ms Oct 19 13:25:41 ns1 postfix/smtp[1217]: 8A03F2C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.38, delays=0.08/0/0/0.29, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as E53472C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: removed Oct 19 13:25:42 ns1 postfix/pipe[1303]: E53472C19C6: to=, relay=dovecot, delay=0.14, delays=0/0/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:42 ns1 postfix/qmgr[1059]: E53472C19C6: removed On 19/10/2016 13:54, Stephan Bosch wrote: Op 19-10-2016 om 13:47 schreef Matthew Broadhead: i am not 100% sure how to give you the information you require. my current setup in /etc/postfix/master.cf is flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} so recipient would presumably be u...@domain.tld? or do you want the real email address of one of our users? is there some way i can output this information directly e.g. in logs? I am no Postfix expert. I just need to know which values are being passed to dovecot-lda with what options. I'd assume Postfix allows logging the command line or at least the values of these variables. the incoming email message could be anything? again i can run an example directly if you can advise the best way to do this As long as the problem occurs with this message. BTW, it would also be helpful to have the Dovecot logs from this delivery, with mail_debug configured to "yes". Regards, Stephan. On 19/10/2016 12:54, Stephan Bosch wrote: Also, please provide an
Re: sieve sending vacation message from vm...@ns1.domain.tld
sorry to double post but maybe there is some way to report the problem to centos so that they upgrade the package there? On 21/10/2016 10:22, Matthew Broadhead wrote: the server is using CentOS 7 and that is the package that comes through yum. everything is up to date. i am hesitant to install a new package manually as that could cause other compatibility issues? is there another way to test the configuration on the server? On 21/10/2016 01:07, Stephan Bosch wrote: Op 10/20/2016 om 7:38 PM schreef Matthew Broadhead: do i need to provide more information? It still doesn't make sense to me. I do notice that the version you're using is ancient (dated 26-09-2013), which may well the problem. Do have the ability to upgrade? Regards, Stephan. On 19/10/2016 14:49, Matthew Broadhead wrote: /var/log/maillog showed this Oct 19 13:25:41 ns1 postfix/smtpd[1298]: 7599A2C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 7599A2C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: from=, size=3190, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[32367]: (32367-17) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [80.30.255.180]:54566 [80.30.255.180] -> , Queue-ID: BFFA62C1965, Message-ID: , mail_id: TlJQ9xQhWjQk, Hits: -2.9, size: 2235, queued_as: 7599A2C19C6, dkim_new=foo:nbmlaw.co.uk, 531 ms Oct 19 13:25:41 ns1 postfix/smtp[1135]: BFFA62C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.76, delays=0.22/0/0/0.53, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 7599A2C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: BFFA62C1965: removed Oct 19 13:25:41 ns1 postfix/smtpd[1114]: connect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/smtpd[1114]: NOQUEUE: filter: RCPT from ns1.nbmlaw.co.uk[217.174.253.19]: : Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from= to= proto=SMTP helo= Oct 19 13:25:41 ns1 postfix/smtpd[1114]: 8A03F2C1965: client=ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 8A03F2C1965: message-id= Oct 19 13:25:41 ns1 opendmarc[2430]: implicit authentication service: ns1.nbmlaw.co.uk Oct 19 13:25:41 ns1 opendmarc[2430]: 8A03F2C1965: ns1.nbmlaw.co.uk fail Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: from=, size=1077, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 postfix/smtpd[1114]: disconnect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 sSMTP[1895]: Sent mail for vm...@ns1.nbmlaw.co.uk (221 2.0.0 Bye) uid=996 username=vmail outbytes=971 Oct 19 13:25:41 ns1 postfix/smtpd[1898]: connect from unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/pipe[1162]: 7599A2C19C6: to=, relay=dovecot, delay=0.46, delays=0/0/0/0.45, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: removed Oct 19 13:25:41 ns1 postfix/smtpd[1898]: E53472C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: E53472C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: E53472C19C6: from=, size=1619, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[1885]: (01885-01) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [217.174.253.19]:40960 [217.174.253.19] -> , Queue-ID: 8A03F2C1965, Message-ID: , mail_id: mOMO97yjVqjM, Hits: -2.211, size: 1301, queued_as: E53472C19C6, 296 ms Oct 19 13:25:41 ns1 postfix/smtp[1217]: 8A03F2C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.38, delays=0.08/0/0/0.29, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as E53472C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: removed Oct 19 13:25:42 ns1 postfix/pipe[1303]: E53472C19C6: to=, relay=dovecot, delay=0.14, delays=0/0/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:42 ns1 postfix/qmgr[1059]: E53472C19C6: removed On 19/10/2016 13:54, Stephan Bosch wrote: Op 19-10-2016 om 13:47 schreef Matthew Broadhead: i am not 100% sure how to give you the information you require. my current setup in /etc/postfix/master.cf is flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} so recipient would presumably be u...@domain.tld? or do you want the real email address of one of our users? is there some way i can output this information directly e.g. in logs? I am no Postfix expert. I just need to know which values are being passed to dovecot-lda with what options. I'd assume Postfix allows logging the command line or at least the values of these variables. the incoming email message could be anything? again i can run an example directly if you can advise the best way to do this As long as the problem occurs with this message. BTW, it would also be helpful to have the Dovecot logs from this delivery, with mail_debug configured to "yes". Regards, Stephan. On 19/10/2016 12:54, Stephan Bosch wrote: Also, please provide an example scenario; i.e., for one probl
Re: sieve sending vacation message from vm...@ns1.domain.tld
is there something more i need to be doing my end? On 25/10/2016 09:11, Matthew Broadhead wrote: are there any instructions or tests i can make to check the sieve configuration? or does the magic all happen internally and there are no settings to change? On 21/10/2016 10:22, Matthew Broadhead wrote: the server is using CentOS 7 and that is the package that comes through yum. everything is up to date. i am hesitant to install a new package manually as that could cause other compatibility issues? is there another way to test the configuration on the server? On 21/10/2016 01:07, Stephan Bosch wrote: Op 10/20/2016 om 7:38 PM schreef Matthew Broadhead: do i need to provide more information? It still doesn't make sense to me. I do notice that the version you're using is ancient (dated 26-09-2013), which may well the problem. Do have the ability to upgrade? Regards, Stephan. On 19/10/2016 14:49, Matthew Broadhead wrote: /var/log/maillog showed this Oct 19 13:25:41 ns1 postfix/smtpd[1298]: 7599A2C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 7599A2C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: from=, size=3190, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[32367]: (32367-17) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [80.30.255.180]:54566 [80.30.255.180] -> , Queue-ID: BFFA62C1965, Message-ID: , mail_id: TlJQ9xQhWjQk, Hits: -2.9, size: 2235, queued_as: 7599A2C19C6, dkim_new=foo:nbmlaw.co.uk, 531 ms Oct 19 13:25:41 ns1 postfix/smtp[1135]: BFFA62C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.76, delays=0.22/0/0/0.53, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 7599A2C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: BFFA62C1965: removed Oct 19 13:25:41 ns1 postfix/smtpd[1114]: connect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/smtpd[1114]: NOQUEUE: filter: RCPT from ns1.nbmlaw.co.uk[217.174.253.19]: : Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from= to= proto=SMTP helo= Oct 19 13:25:41 ns1 postfix/smtpd[1114]: 8A03F2C1965: client=ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 8A03F2C1965: message-id= Oct 19 13:25:41 ns1 opendmarc[2430]: implicit authentication service: ns1.nbmlaw.co.uk Oct 19 13:25:41 ns1 opendmarc[2430]: 8A03F2C1965: ns1.nbmlaw.co.uk fail Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: from=, size=1077, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 postfix/smtpd[1114]: disconnect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 sSMTP[1895]: Sent mail for vm...@ns1.nbmlaw.co.uk (221 2.0.0 Bye) uid=996 username=vmail outbytes=971 Oct 19 13:25:41 ns1 postfix/smtpd[1898]: connect from unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/pipe[1162]: 7599A2C19C6: to=, relay=dovecot, delay=0.46, delays=0/0/0/0.45, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: removed Oct 19 13:25:41 ns1 postfix/smtpd[1898]: E53472C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: E53472C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: E53472C19C6: from=, size=1619, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[1885]: (01885-01) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [217.174.253.19]:40960 [217.174.253.19] -> , Queue-ID: 8A03F2C1965, Message-ID: , mail_id: mOMO97yjVqjM, Hits: -2.211, size: 1301, queued_as: E53472C19C6, 296 ms Oct 19 13:25:41 ns1 postfix/smtp[1217]: 8A03F2C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.38, delays=0.08/0/0/0.29, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as E53472C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: removed Oct 19 13:25:42 ns1 postfix/pipe[1303]: E53472C19C6: to=, relay=dovecot, delay=0.14, delays=0/0/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:42 ns1 postfix/qmgr[1059]: E53472C19C6: removed On 19/10/2016 13:54, Stephan Bosch wrote: Op 19-10-2016 om 13:47 schreef Matthew Broadhead: i am not 100% sure how to give you the information you require. my current setup in /etc/postfix/master.cf is flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} so recipient would presumably be u...@domain.tld? or do you want the real email address of one of our users? is there some way i can output this information directly e.g. in logs? I am no Postfix expert. I just need to know which values are being passed to dovecot-lda with what options. I'd assume Postfix allows logging the command line or at least the values of these variables. the incoming email message could be anything? again i can run an example directly if you can advise the best way to do this As long as the problem occurs with this message. BTW, it would also be helpful to have the Dovecot logs from this delivery, with mail_debug configured to &quo
Re: sieve sending vacation message from vm...@ns1.domain.tld
it seemed like a simple configuration issue. i was hoping someone could point me in the right direction. seems i was wrong. i may as well unsubscribe this list as there is not much help here On 02/11/2016 18:29, Matthew Broadhead wrote: is there something more i need to be doing my end? On 25/10/2016 09:11, Matthew Broadhead wrote: are there any instructions or tests i can make to check the sieve configuration? or does the magic all happen internally and there are no settings to change? On 21/10/2016 10:22, Matthew Broadhead wrote: the server is using CentOS 7 and that is the package that comes through yum. everything is up to date. i am hesitant to install a new package manually as that could cause other compatibility issues? is there another way to test the configuration on the server? On 21/10/2016 01:07, Stephan Bosch wrote: Op 10/20/2016 om 7:38 PM schreef Matthew Broadhead: do i need to provide more information? It still doesn't make sense to me. I do notice that the version you're using is ancient (dated 26-09-2013), which may well the problem. Do have the ability to upgrade? Regards, Stephan. On 19/10/2016 14:49, Matthew Broadhead wrote: /var/log/maillog showed this Oct 19 13:25:41 ns1 postfix/smtpd[1298]: 7599A2C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 7599A2C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: from=, size=3190, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[32367]: (32367-17) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [80.30.255.180]:54566 [80.30.255.180] -> , Queue-ID: BFFA62C1965, Message-ID: , mail_id: TlJQ9xQhWjQk, Hits: -2.9, size: 2235, queued_as: 7599A2C19C6, dkim_new=foo:nbmlaw.co.uk, 531 ms Oct 19 13:25:41 ns1 postfix/smtp[1135]: BFFA62C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.76, delays=0.22/0/0/0.53, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as 7599A2C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: BFFA62C1965: removed Oct 19 13:25:41 ns1 postfix/smtpd[1114]: connect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/smtpd[1114]: NOQUEUE: filter: RCPT from ns1.nbmlaw.co.uk[217.174.253.19]: : Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from= to= proto=SMTP helo= Oct 19 13:25:41 ns1 postfix/smtpd[1114]: 8A03F2C1965: client=ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: 8A03F2C1965: message-id= Oct 19 13:25:41 ns1 opendmarc[2430]: implicit authentication service: ns1.nbmlaw.co.uk Oct 19 13:25:41 ns1 opendmarc[2430]: 8A03F2C1965: ns1.nbmlaw.co.uk fail Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: from=, size=1077, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 postfix/smtpd[1114]: disconnect from ns1.nbmlaw.co.uk[217.174.253.19] Oct 19 13:25:41 ns1 sSMTP[1895]: Sent mail for vm...@ns1.nbmlaw.co.uk (221 2.0.0 Bye) uid=996 username=vmail outbytes=971 Oct 19 13:25:41 ns1 postfix/smtpd[1898]: connect from unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/pipe[1162]: 7599A2C19C6: to=, relay=dovecot, delay=0.46, delays=0/0/0/0.45, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 7599A2C19C6: removed Oct 19 13:25:41 ns1 postfix/smtpd[1898]: E53472C19C6: client=unknown[127.0.0.1] Oct 19 13:25:41 ns1 postfix/cleanup[1085]: E53472C19C6: message-id= Oct 19 13:25:41 ns1 postfix/qmgr[1059]: E53472C19C6: from=, size=1619, nrcpt=1 (queue active) Oct 19 13:25:41 ns1 amavis[1885]: (01885-01) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [217.174.253.19]:40960 [217.174.253.19] -> , Queue-ID: 8A03F2C1965, Message-ID: , mail_id: mOMO97yjVqjM, Hits: -2.211, size: 1301, queued_as: E53472C19C6, 296 ms Oct 19 13:25:41 ns1 postfix/smtp[1217]: 8A03F2C1965: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.38, delays=0.08/0/0/0.29, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10027): 250 2.0.0 Ok: queued as E53472C19C6) Oct 19 13:25:41 ns1 postfix/qmgr[1059]: 8A03F2C1965: removed Oct 19 13:25:42 ns1 postfix/pipe[1303]: E53472C19C6: to=, relay=dovecot, delay=0.14, delays=0/0/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service) Oct 19 13:25:42 ns1 postfix/qmgr[1059]: E53472C19C6: removed On 19/10/2016 13:54, Stephan Bosch wrote: Op 19-10-2016 om 13:47 schreef Matthew Broadhead: i am not 100% sure how to give you the information you require. my current setup in /etc/postfix/master.cf is flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient} so recipient would presumably be u...@domain.tld? or do you want the real email address of one of our users? is there some way i can output this information directly e.g. in logs? I am no Postfix expert. I just need to know which values are being passed to dovecot-lda with what options. I'd assume Postfix allows logging the command line or at least the values of these variables. the incoming email message could be anyth
sieve_imapsieve centos 7
i am using CentOS 7 centos-release-7-3.1611.el7.centos.x86_64 with dovecot dovecot-2.2.10-7.el7.x86_64. i am trying to set up AntiSpam with IMAPSieve but the package seems to be lacking sieve_imapsieve. is there anything i can do? i am not really interested in compiling from source because i like to receive security updates automatically. 2017-02-24 21:57:00auth: Error: net_connect_unix(anvil-auth-penalty) failed: Permission denied 2017-02-24 21:57:00master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) 2017-02-24 21:57:00managesieve: Fatal: Plugin 'sieve_imapsieve' not found from directory /usr/lib64/dovecot/sieve 2017-02-24 21:57:00config: Error: managesieve-login: dump-capability process returned 89 2017-02-24 21:57:05imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot 2017-02-24 21:57:05imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot 2017-02-24 21:57:08imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot 2017-02-24 21:57:08imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot 2017-02-24 21:57:10imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot 2017-02-24 21:57:10imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot
Re: sieve_imapsieve centos 7
thanks for the help everyone. i reverted to the old antispam plugin as a package from https://copr.fedorainfracloud.org/coprs/cottsay/dovecot-antispam/ plus this to help configure http://www.iredmail.org/forum/topic8169-iredmail-support-antispam-via-dovecot-and-spamassassin.html On 24/02/2017 23:38, Christian Kivalo wrote: On 2017-02-24 23:16, Matthew Broadhead wrote: i am using CentOS 7 centos-release-7-3.1611.el7.centos.x86_64 with dovecot dovecot-2.2.10-7.el7.x86_64. i am trying to set up AntiSpam with IMAPSieve but the package seems to be lacking sieve_imapsieve. is there anything i can do? i am not really interested in compiling from source because i like to receive security updates automatically. The imapsieve plugin for pigeonhole was introduced in version 0.4.14 for dovecot 2.2.24, with your current packages i'd say there is nothing you can do except to find some sort of extra packages (i'm not familiar with centos...) http://dovecot.markmail.org/message/mggbfw6vxhs2upa7?q=imapsieve&page=2 2017-02-24 21:57:00auth: Error: net_connect_unix(anvil-auth-penalty) failed: Permission denied 2017-02-24 21:57:00master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) 2017-02-24 21:57:00managesieve: Fatal: Plugin 'sieve_imapsieve' not found from directory /usr/lib64/dovecot/sieve 2017-02-24 21:57:00config: Error: managesieve-login: dump-capability process returned 89 2017-02-24 21:57:05imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot 2017-02-24 21:57:05imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot 2017-02-24 21:57:08imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot 2017-02-24 21:57:08imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot 2017-02-24 21:57:10imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot 2017-02-24 21:57:10imap: Fatal: Plugin 'imap_sieve' not found from directory /usr/lib64/dovecot -- Matthew Broadhead NBM Solicitors See the latest jobs available at NBM @www.nbmlaw.co.uk/recruitment.htm 32 Rainsford Road Chelmsford Essex CM1 2QG Tel: 01245 269909 Fax: 01245 261932 www.nbmlaw.co.uk Partners: WJ Broadhead NP Eason SJ Lacey CR Broadhead D Seepaul T Carley NBM Solicitors are authorised and regulated by the Solicitors Regulation Authority. We are also bound by their code of conduct. Registered no. 00061052 NBM also provide a will writing service, see http://www.nbmlaw.co.uk/wills.htm for more information Confidentiality Information in this message is confidential and may be legally privileged. It is intended solely for the recipient to whom it is addressed. If you receive the message in error, please notify the sender and immediately destroy all copies. Security warning Please note that this e-mail has been created in the knowledge that e-mail is not a 100% secure communications medium. We advise you that you understand and observe this lack of security when e-mailing us. This e-mail does not constitute a legally binding document. No contracts may be concluded on behalf of Nigel Broadhead Mynard Solicitors by e-mail communications. If you have any queries, please contact administra...@nbmlaw.co.uk
Re: Dovecot + SpamAssassin through dovecot-antispam
i recently had this problem. i am using centos 7. maybe these links will help you i reverted to the old antispam plugin as a package from https://copr.fedorainfracloud.org/coprs/cottsay/dovecot-antispam/ plus this to help configure http://www.iredmail.org/forum/topic8169-iredmail-support-antispam-via-dovecot-and-spamassassin.html On 03/03/2017 12:26, Aki Tuomi wrote: On 2017-03-03 10:26, Bernard wrote: No help there? --- Bernard On 01/03/2017 11:27, Bernard wrote: Hello, I am new to the list. /Waving at everyone/ I got a basic SpamAssassin working on a Debian setup (w/ debian-spamd user), running as a Postfix transport. I am currently trying to switch it to a dovecot plugin in order to make it interactively work with the email storage (react to mail classification, being able to train it from already received emails, aso.) My problem is now making it able to access my emails. Here is my setup: userdb { driver = static args = uid= gid= home=/var/mail/vhosts/%d/%n } passdb { driver = passwd-file args = } mail_location = maildir:~/mail:LAYOUT=fs mail_privileged_group = vmail Translating into this on the FS: drwxrwsr-x root mail /var/mail/ drwxrws--- root vmail /var/mail/vhosts drwx--S--- vmail vmail /var/mail/vhosts/domain1 drwx--S--- vmail vmail /var/mail/vhosts/domain1/user1 drwx--S--- vmail vmail /var/mail/vhosts/domain1/user2 drwx--S--- vmail vmail /var/mail/vhosts/domain2 drwx--S--- vmail vmail /var/mail/vhosts/domain2/user1 The drwx--S--- access rights are propagated into lower branches/leafs. I am having a hard time understanding what to do, reading http://wiki2.dovecot.org/SharedMailboxes/Permissions, to make all the folders and subsequent files readable by the vmail group too. Based on this documentation, the way dovecot propagate permissions from parent folders is a bit cryptic to me. What needs to be done to achieve that? The idea would be that even if I decided to allocated per-virtual-user a system user for stored files, all the files would still be stored and accessible with the same system group. I understand this would be done with the help of mail_access_groups = vmail, right? FWIW, I am getting inspiration from the following explanations: https://www.christianroessler.net/tech/2015/spamassassin-dovecot-postfix.html If I understand correctly, the guy is bypassing the authentication completely with allow_all_users=yes, right? I do not want to do that anyway. I hope what I am trying to achieve is clear enough and that I provided information enough. Would you help me? --- Bernard Hi! https://wiki2.dovecot.org/HowTo/AntispamWithSieve maybe this would help you? Aki
javamail imap listing
Hi, i am using dovecot-2.2.10-7.el7.x86_64 on centos-release-7-3.1611.el7.centos.x86_64. if i follow this tutorial https://delog.wordpress.com/2011/05/10/access-imap-server-from-the-command-line-using-openssl/ i can login to my server and successfully list the folders using tag LIST "" "*" * LIST (\HasNoChildren) "." INBOX tag OK List completed. no folders are listed using tag LIST / "*" tag OK List completed. when i request a folder listing using JavaMail it similarly sends the following command and no folders are listed a97 LIST / "*" a97 OK List completed. if i follow the tutorial again and use my gmail account instead of my dovecot installation i can successfully list folders using both methods tag LIST / "*" * LIST (\HasNoChildren) "/" "youtube" tag OK List completed. is there some way to make dovecot list folders when it receives the command LIST / "*" i note that in the listings my dovecot installation has "." in the middle and gmail has a "/"
Re: javamail imap listing
Thanks Michael. I have forwarded that link to the Geronimo JavaMail team in case they think of anything their end. But in the documentation you sent it seems that Dovecot should respond in the case of LIST / "*" if my understanding is correct Is there any way to adjust this behaviour in the settings? I am struggling to search for a solution to the problem given the limited information. On 18/04/2017 05:46, Michael Slusarz wrote: You probably want to read the description of "reference name argument" to understand what is happening here. https://tools.ietf.org/html/rfc3501#section-6.3.8 michael On April 17, 2017 at 8:33 AM Matthew Broadhead wrote: Hi, i am using dovecot-2.2.10-7.el7.x86_64 on centos-release-7-3.1611.el7.centos.x86_64. if i follow this tutorial https://delog.wordpress.com/2011/05/10/access-imap-server-from-the-command-line-using-openssl/ i can login to my server and successfully list the folders using tag LIST "" "*" * LIST (\HasNoChildren) "." INBOX tag OK List completed. no folders are listed using tag LIST / "*" tag OK List completed. when i request a folder listing using JavaMail it similarly sends the following command and no folders are listed a97 LIST / "*" a97 OK List completed. if i follow the tutorial again and use my gmail account instead of my dovecot installation i can successfully list folders using both methods tag LIST / "*" * LIST (\HasNoChildren) "/" "youtube" tag OK List completed. is there some way to make dovecot list folders when it receives the command LIST / "*" i note that in the listings my dovecot installation has "." in the middle and gmail has a "/"
Re: javamail imap listing
Hi Michael, Geronimo JavaMail hard defaults to / separator. If the separator is manually set to undefined it automatically calculates the separator correctly. However neither through JavaMail or by command line does LIST "." "*" or LIST . "*" produce any root listing of default folder on my Dovecot installation. Only LIST "" "*" produces a listing. Could there be something else wrong in the configuration to cause this? Matthew On 19/04/2017 15:29, Michael Slusarz wrote: "A non-empty reference name argument is the name of a mailbox or a level of mailbox hierarchy, and indicates the context in which the mailbox name is interpreted." If Dovecot is using "." as the separator in the base level of hierarchy, then it correctly is returning nothing for 'LIST / "*"' - since no mailboxes in Dovecot live under that base level of hierarchy. Gmail returns data because it is using "/" as a separator. If you want Dovecot to return LIST entries for 'LIST "/" "*"', then configure the base namespace to use "/" as a separator. Of course then 'LIST "." "*"' would return nothing... michael On April 18, 2017 at 2:38 AM Matthew Broadhead wrote: Thanks Michael. I have forwarded that link to the Geronimo JavaMail team in case they think of anything their end. But in the documentation you sent it seems that Dovecot should respond in the case of LIST / "*" if my understanding is correct Is there any way to adjust this behaviour in the settings? I am struggling to search for a solution to the problem given the limited information. On 18/04/2017 05:46, Michael Slusarz wrote: You probably want to read the description of "reference name argument" to understand what is happening here. https://tools.ietf.org/html/rfc3501#section-6.3.8 michael On April 17, 2017 at 8:33 AM Matthew Broadhead wrote: Hi, i am using dovecot-2.2.10-7.el7.x86_64 on centos-release-7-3.1611.el7.centos.x86_64. if i follow this tutorial https://delog.wordpress.com/2011/05/10/access-imap-server-from-the-command-line-using-openssl/ i can login to my server and successfully list the folders using tag LIST "" "*" * LIST (\HasNoChildren) "." INBOX tag OK List completed. no folders are listed using tag LIST / "*" tag OK List completed. when i request a folder listing using JavaMail it similarly sends the following command and no folders are listed a97 LIST / "*" a97 OK List completed. if i follow the tutorial again and use my gmail account instead of my dovecot installation i can successfully list folders using both methods tag LIST / "*" * LIST (\HasNoChildren) "/" "youtube" tag OK List completed. is there some way to make dovecot list folders when it receives the command LIST / "*" i note that in the listings my dovecot installation has "." in the middle and gmail has a "/"
sieve cli
i am using dovecot-2.2.36-3.el7_7.1.x86_64 on centos 7 is it possible to activate / deactivate a sieve script for a mailbox from the command line? my mailboxes are currently stores in /../vmail/domain.tld/username if i activate / deactivate a filter set using roundcube (webmail system) then it creates or deletes a symbolic link /../vmail/domain.tld/username/dovecot.sieve which points to a file /../vmail/domain.tld/username/sieve/managesieve.sieve. if i create this symbolic link manually it doesn't seem to work
Re: sieve cli
On 03/10/2019 18:59, Aki Tuomi via dovecot wrote: On 03/10/2019 19:40 Matthew Broadhead via dovecot wrote: i am using dovecot-2.2.36-3.el7_7.1.x86_64 on centos 7 is it possible to activate / deactivate a sieve script for a mailbox from the command line? my mailboxes are currently stores in /../vmail/domain.tld/username if i activate / deactivate a filter set using roundcube (webmail system) then it creates or deletes a symbolic link /../vmail/domain.tld/username/dovecot.sieve which points to a file /../vmail/domain.tld/username/sieve/managesieve.sieve. if i create this symbolic link manually it doesn't seem to work Hi! You can use 'doveadm sieve' commands to manage scripts, e.g. 'doveadm sieve activate'. Aki That is exactly what i was looking for. thanks!
Re: sieve cli
On 03/10/2019 19:17, Erwan David via dovecot wrote: Le 03/10/2019 à 18:40, Matthew Broadhead via dovecot a écrit : i am using dovecot-2.2.36-3.el7_7.1.x86_64 on centos 7 is it possible to activate / deactivate a sieve script for a mailbox from the command line? my mailboxes are currently stores in /../vmail/domain.tld/username if i activate / deactivate a filter set using roundcube (webmail system) then it creates or deletes a symbolic link /../vmail/domain.tld/username/dovecot.sieve which points to a file /../vmail/domain.tld/username/sieve/managesieve.sieve. if i create this symbolic link manually it doesn't seem to work You can use the sieve-connect command which uses the managesieve protocol to speak to the server. That command is not found on my server. do i need to install an extra package?