[Dovecot] dovecot / postfix mail bounce problem
Hello,
i use a globalsieve rule to collect spam for all mail accounts in a specific mailbox.
Here is the code:
vi /var/vmail/globalsieverc
require ["fileinto"]; # Move spam to junk folder if not address :is "to" "antispam@xxx.com" { if header :contains "X-Spam-Flag" ["YES"] { redirect "antispam@xxx.com"; stop; } }
But the spam mails are not delivered.
cat /var/log/mail.info
postfix/pipe[32301]: AD8F78E2128D: to=antispam@xxx.de, relay=dovecot, delay=0.14, delays=0.08/0/0/0.06, dsn=5.4.6, status=bounced (mail forwarding loop for antispam@xxx.de)
Why is there a loop? I don't unterstand that.
Any help? Thanks! Iced
View this message in context: http://old.nabble.com/dovecot---postfix-mail-bounce-problem-tp33029725p33029... Sent from the Dovecot mailing list archive at Nabble.com.
On Fri, 23 Dec 2011 08:02:25 -0800 (PST) IcedEarth articulated:
Hello,
i use a globalsieve rule to collect spam for all mail accounts in a specific mailbox.
Here is the code:
vi /var/vmail/globalsieverc
require ["fileinto"]; # Move spam to junk folder if not address :is "to" "antispam@xxx.com" { if header :contains "X-Spam-Flag" ["YES"] { redirect "antispam@xxx.com"; stop; } }
But the spam mails are not delivered.
cat /var/log/mail.info
postfix/pipe[32301]: AD8F78E2128D: to=antispam@xxx.de, relay=dovecot, delay=0.14, delays=0.08/0/0/0.06, dsn=5.4.6, status=bounced (mail forwarding loop for antispam@xxx.de)
Why is there a loop? I don't unterstand that.
This question really belongs on the Postfix forum. Please read the directions for posting on that forum first.
http://www.postfix.com/DEBUG_README.html
Pay attention to the "Reporting problems to postfix-users@postfix.org" section at the end of the article.
-- Jerry ♔
Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header.
Be frank and explicit with your lawyer ... it is his business to confuse the issue afterwards.
Jerry-146 wrote:
On Fri, 23 Dec 2011 08:02:25 -0800 (PST) IcedEarth articulated:
Hello,
i use a globalsieve rule to collect spam for all mail accounts in a specific mailbox.
Here is the code:
vi /var/vmail/globalsieverc
require ["fileinto"]; # Move spam to junk folder if not address :is "to" "antispam@xxx.com" { if header :contains "X-Spam-Flag" ["YES"] { redirect "antispam@xxx.com"; stop; } }
But the spam mails are not delivered.
cat /var/log/mail.info
postfix/pipe[32301]: AD8F78E2128D: to=antispam@xxx.de, relay=dovecot, delay=0.14, delays=0.08/0/0/0.06, dsn=5.4.6, status=bounced (mail forwarding loop for antispam@xxx.de)
Why is there a loop? I don't unterstand that.
This question really belongs on the Postfix forum. Please read the directions for posting on that forum first.
http://www.postfix.com/DEBUG_README.html
Pay attention to the "Reporting problems to postfix-users@postfix.org" section at the end of the article.
-- Jerry ♔
Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header.
Be frank and explicit with your lawyer ... it is his business to confuse the issue afterwards.
Hello Jerry,
no this question not belongs on the Postfix forum. It was a dovecot issue. I've fixed it.
I just created an empty file '.dovecot.sieve' in the 'antispam@xxx.com' Mailbox dir. This prevents dovecot to execute the globalsieve for the Mailbox 'antispam@xxx.com'.
My script triggered a loop.
New script: require ["fileinto"]; # Move spam to junk folder if header :contains "X-Spam-Flag" ["YES"] { redirect "antispam@xxx.com"; stop; }
-- View this message in context: http://old.nabble.com/dovecot---postfix-mail-bounce-problem-tp33029725p33036... Sent from the Dovecot mailing list archive at Nabble.com.
On 25.12.2011 20:55, IcedEarth wrote:
Jerry-146 wrote:
On Fri, 23 Dec 2011 08:02:25 -0800 (PST) IcedEarth articulated:
Hello,
i use a globalsieve rule to collect spam for all mail accounts in a specific mailbox.
Here is the code:
vi /var/vmail/globalsieverc
require ["fileinto"]; # Move spam to junk folder if not address :is "to" "antispam@xxx.com" { if header :contains "X-Spam-Flag" ["YES"] { redirect "antispam@xxx.com"; stop; } }
But the spam mails are not delivered.
cat /var/log/mail.info
postfix/pipe[32301]: AD8F78E2128D: to=antispam@xxx.de, relay=dovecot, delay=0.14, delays=0.08/0/0/0.06, dsn=5.4.6, status=bounced (mail forwarding loop for antispam@xxx.de)
Why is there a loop? I don't unterstand that.
This question really belongs on the Postfix forum. Please read the directions for posting on that forum first.
http://www.postfix.com/DEBUG_README.html
Pay attention to the "Reporting problems to postfix-users@postfix.org" section at the end of the article.
Hello Jerry,
no this question not belongs on the Postfix forum. It was a dovecot issue. I've fixed it.
I just created an empty file '.dovecot.sieve' in the 'antispam@xxx.com' Mailbox dir. This prevents dovecot to execute the globalsieve for the Mailbox 'antispam@xxx.com'.
My script triggered a loop.
New script: require ["fileinto"]; # Move spam to junk folder if header :contains "X-Spam-Flag" ["YES"] { redirect "antispam@xxx.com"; stop; }
Roundcube sieve plugin writes your original script as
# rule:[test] if allof (not address :is "To" "antispam@xxx.com", header :contains "X-Spam-Flag" "YES") { redirect "antispam@xxx.com"; }
-- Arthur Titeica
Hi Arthur,
tested your script as globalsieve. Same result. Mail is bounced.
Only option is to create a .global.sieve for antispam@... Mailbox.
Thanks.
Iced
Arthur Titeica-2 wrote:
On 25.12.2011 20:55, IcedEarth wrote:
Jerry-146 wrote:
On Fri, 23 Dec 2011 08:02:25 -0800 (PST) IcedEarth articulated:
Hello,
i use a globalsieve rule to collect spam for all mail accounts in a specific mailbox.
Here is the code:
vi /var/vmail/globalsieverc
require ["fileinto"]; # Move spam to junk folder if not address :is "to" "antispam@xxx.com" { if header :contains "X-Spam-Flag" ["YES"] { redirect "antispam@xxx.com"; stop; } }
But the spam mails are not delivered.
cat /var/log/mail.info
postfix/pipe[32301]: AD8F78E2128D: to=antispam@xxx.de, relay=dovecot, delay=0.14, delays=0.08/0/0/0.06, dsn=5.4.6, status=bounced (mail forwarding loop for antispam@xxx.de)
Why is there a loop? I don't unterstand that.
This question really belongs on the Postfix forum. Please read the directions for posting on that forum first.
http://www.postfix.com/DEBUG_README.html
Pay attention to the "Reporting problems to postfix-users@postfix.org" section at the end of the article.
Hello Jerry,
no this question not belongs on the Postfix forum. It was a dovecot issue. I've fixed it.
I just created an empty file '.dovecot.sieve' in the 'antispam@xxx.com' Mailbox dir. This prevents dovecot to execute the globalsieve for the Mailbox 'antispam@xxx.com'.
My script triggered a loop.
New script: require ["fileinto"]; # Move spam to junk folder if header :contains "X-Spam-Flag" ["YES"] { redirect "antispam@xxx.com"; stop; }
Roundcube sieve plugin writes your original script as
# rule:[test] if allof (not address :is "To" "antispam@xxx.com", header :contains "X-Spam-Flag" "YES") { redirect "antispam@xxx.com"; }
-- Arthur Titeica
-- View this message in context: http://old.nabble.com/dovecot---postfix-mail-bounce-problem-tp33029725p33036... Sent from the Dovecot mailing list archive at Nabble.com.
participants (3)
-
Arthur Titeica
-
IcedEarth
-
Jerry