1 (edited by insanadair 2010-10-01 21:51:45)

Topic: Redirect message Problem on Roundecube

I use Debian lenny server for İred mail  0.6.1. Everything is good everything is work ! But Some body ( X man ) add  filter on roundcube. My roundcube version is 0.4.1. Filter information is below

Filter Name : GMAIL
For incoming mail : all messages
Execute the following actions :  Redirect message -> test@gmail.com

İMAGES ADRESS : http://picasaweb.google.com/korspammail/1#

I send a mail for example xx@aa.com . But is not going to this adress This mail going to X man  redirect adress ( test@gmail.com )
All mail server accounts want  send mail  any where . it doesnt work. All mail adress going to  X man  redirect adress ( test@gmail.com ) 

Backend user database is MYSQL

What is problem

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Redirect message Problem on Roundecube

Try to set "mail_debug = yes" in dovecot, and monitor its log files about sieve rules.

3

Re: Redirect message Problem on Roundecube

ZhangHuangbin wrote:

Try to set "mail_debug = yes" in dovecot, and monitor its log files about sieve rules.

My Mail domain is : xx.yy.com

Some body ( kagaya@xx.yy.com ) redirect mail adress is : insan@gmail.com

I try my gmail adress (korspammail@gmail.com) I send to  mtepegoz@xx.yy.com But mail gonig to insan@gmail.com

I try my gmail adress (korspammail@gmail.com) I send to  gkaya@xx.yy.com  But mail gonig to insan@gmail.com

Log file is below PLEASE HELP ME

Oct  2 09:04:07 mail postfix/pipe[9602]: 92AB0E8083: to=<mtepegoz@xx.yy.com>, relay=dovecot, delay=0.04, delays=0.01/0.02/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Oct  2 09:04:07 mail postfix/qmgr[2893]: 92AB0E8083: removed
Oct  2 09:04:07 mail postfix/cleanup[9595]: 9C9AEE8087: message-id=<AANLkTikSK=BgCi2a___3vxvcwVi9SV48JM0Api9tNtWp@mail.gmail.com>
Oct  2 09:04:07 mail postfix/qmgr[2893]: 9C9AEE8087: from=<korspammail@gmail.com>, size=2808, nrcpt=1 (queue active)
Oct  2 09:04:09 mail postfix/smtp[9606]: 9C9AEE8087: to=<insan@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.43.27]:25, delay=2.1, delays=0.02/0/0.67/1.4, dsn=2.0.0, status=sent (250 2.0.0 OK 1285999672 p14si4919105bka.13)
Oct  2 09:04:09 mail postfix/qmgr[2893]: 9C9AEE8087: removed
Oct  2 09:04:37 mail postfix/smtpd[9575]: disconnect from mail-wy0-f180.google.com[74.125.82.180]
Oct  2 09:04:43 mail postfix/anvil[9435]: statistics: max connection rate 1/60s for (smtp:74.125.82.44) at Oct  2 08:54:43
Oct  2 09:04:43 mail postfix/anvil[9435]: statistics: max connection count 1 for (smtp:74.125.82.44) at Oct  2 08:54:43
Oct  2 09:04:43 mail postfix/anvil[9435]: statistics: max cache size 1 at Oct  2 08:54:43

Oct  2 09:06:03 mail postfix/smtpd[9575]: connect from mail-wy0-f180.google.com[74.125.82.180]
Oct  2 09:06:04 mail postfix/smtpd[9575]: 175C4E8080: client=mail-wy0-f180.google.com[74.125.82.180]
Oct  2 09:06:04 mail postfix/cleanup[9629]: 175C4E8080: message-id=<AANLkTik7kX+TK96H4oT5jqa=EjJsLB3s7hHdR+u2CU6t@mail.gmail.com>
Oct  2 09:06:04 mail postfix/qmgr[2893]: 175C4E8080: from=<korspammail@gmail.com>, size=1952, nrcpt=1 (queue active)
Oct  2 09:06:04 mail postfix/smtpd[9585]: C621DE8083: client=localhost[127.0.0.1]
Oct  2 09:06:04 mail postfix/cleanup[9629]: C621DE8083: message-id=<AANLkTik7kX+TK96H4oT5jqa=EjJsLB3s7hHdR+u2CU6t@mail.gmail.com>
Oct  2 09:06:04 mail postfix/smtpd[9585]: disconnect from localhost[127.0.0.1]
Oct  2 09:06:04 mail postfix/qmgr[2893]: C621DE8083: from=<korspammail@gmail.com>, size=2635, nrcpt=1 (queue active)
Oct  2 09:06:04 mail amavis[9532]: (09532-02) Passed CLEAN, LOCAL [74.125.82.180] [74.125.82.180] <korspammail@gmail.com> -> <gkaya@xx.yy.com>, Message-ID: <AANLkTik7kX+TK96H4oT5jqa=EjJsLB3s7hHdR+u2CU6t@mail.gmail.com>, mail_id: GEPfsEHs4aRK, Hits: -109.999, size: 1952, queued_as: C621DE8083, dkim_id=@gmail.com,korspammail@gmail.com, 597 ms
Oct  2 09:06:04 mail postfix/smtp[9631]: 175C4E8080: to=<gkaya@xx.yy.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.81, delays=0.21/0/0/0.6, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=09532-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as C621DE8083)
Oct  2 09:06:04 mail postfix/qmgr[2893]: 175C4E8080: removed
Oct  2 09:06:04 mail postfix/pickup[9239]: CBD41E8080: uid=1001 from=<korspammail@gmail.com>
Oct  2 09:06:04 mail postfix/pipe[9634]: C621DE8083: to=<gkaya@xx.yy.com>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Oct  2 09:06:04 mail postfix/qmgr[2893]: C621DE8083: removed
Oct  2 09:06:04 mail postfix/cleanup[9629]: CBD41E8080: message-id=<AANLkTik7kX+TK96H4oT5jqa=EjJsLB3s7hHdR+u2CU6t@mail.gmail.com>
Oct  2 09:06:04 mail postfix/qmgr[2893]: CBD41E8080: from=<korspammail@gmail.com>, size=2794, nrcpt=1 (queue active)
Oct  2 09:06:06 mail postfix/smtp[9639]: CBD41E8080: to=<insan@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.43.27]:25, delay=1.6, delays=0.01/0.01/0.2/1.4, dsn=2.0.0, status=sent (250 2.0.0 OK 1285999788 l17si4893045bkd.76)
Oct  2 09:06:06 mail postfix/qmgr[2893]: CBD41E8080: removed
Oct  2 09:06:34 mail postfix/smtpd[9575]: disconnect from mail-wy0-f180.google.com[74.125.82.180]

4 (edited by insanadair 2010-10-03 17:34:50)

Re: Redirect message Problem on Roundecube

ZhangHuangbin wrote:

Try to set "mail_debug = yes" in dovecot, and monitor its log files about sieve rules.


I have a found two file  ( a and b ) under /var/vmail/sieve/

a. dovecot.sieve -> /home/vmail/sieve/xx.yy.com/kagaya/roundcube.sieve
b. dovecot.sievec

b. -> content of the file below ( dovecot.sievec )

CyrSBytecode^@^@^@^E^@^@^@^F^@^@^@
^@^@^@^E^@^@^@^A^@^@^@(^@^@^@^A^@^@^@^P^@^@^@^U^@^@^@^T^@^@^@^@^@^@^@^Tinsan@gmail.com^@^@^@^@

a. -> content of the file below ( dovecot.sieve )

# rule:[GMAIL]
if anyof (true)
{
        redirect "insan@gmail.com";
}

-------------------------------------------------------------------------------------

I think I detect in this rule for all emails sent  ?  True ? How can I prevent ?

Please Help me !

5

Re: Redirect message Problem on Roundecube

What is problem

insanadair wrote:
ZhangHuangbin wrote:

Try to set "mail_debug = yes" in dovecot, and monitor its log files about sieve rules.

My Mail domain is : xx.yy.com

Some body ( kagaya@xx.yy.com ) redirect mail adress is : insan@gmail.com

I try my gmail adress (korspammail@gmail.com) I send to  mtepegoz@xx.yy.com But mail gonig to insan@gmail.com

I try my gmail adress (korspammail@gmail.com) I send to  gkaya@xx.yy.com  But mail gonig to insan@gmail.com

Log file is below PLEASE HELP ME

Oct  2 09:04:07 mail postfix/pipe[9602]: 92AB0E8083: to=<mtepegoz@xx.yy.com>, relay=dovecot, delay=0.04, delays=0.01/0.02/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Oct  2 09:04:07 mail postfix/qmgr[2893]: 92AB0E8083: removed
Oct  2 09:04:07 mail postfix/cleanup[9595]: 9C9AEE8087: message-id=<AANLkTikSK=BgCi2a___3vxvcwVi9SV48JM0Api9tNtWp@mail.gmail.com>
Oct  2 09:04:07 mail postfix/qmgr[2893]: 9C9AEE8087: from=<korspammail@gmail.com>, size=2808, nrcpt=1 (queue active)
Oct  2 09:04:09 mail postfix/smtp[9606]: 9C9AEE8087: to=<insan@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.43.27]:25, delay=2.1, delays=0.02/0/0.67/1.4, dsn=2.0.0, status=sent (250 2.0.0 OK 1285999672 p14si4919105bka.13)
Oct  2 09:04:09 mail postfix/qmgr[2893]: 9C9AEE8087: removed
Oct  2 09:04:37 mail postfix/smtpd[9575]: disconnect from mail-wy0-f180.google.com[74.125.82.180]
Oct  2 09:04:43 mail postfix/anvil[9435]: statistics: max connection rate 1/60s for (smtp:74.125.82.44) at Oct  2 08:54:43
Oct  2 09:04:43 mail postfix/anvil[9435]: statistics: max connection count 1 for (smtp:74.125.82.44) at Oct  2 08:54:43
Oct  2 09:04:43 mail postfix/anvil[9435]: statistics: max cache size 1 at Oct  2 08:54:43

Oct  2 09:06:03 mail postfix/smtpd[9575]: connect from mail-wy0-f180.google.com[74.125.82.180]
Oct  2 09:06:04 mail postfix/smtpd[9575]: 175C4E8080: client=mail-wy0-f180.google.com[74.125.82.180]
Oct  2 09:06:04 mail postfix/cleanup[9629]: 175C4E8080: message-id=<AANLkTik7kX+TK96H4oT5jqa=EjJsLB3s7hHdR+u2CU6t@mail.gmail.com>
Oct  2 09:06:04 mail postfix/qmgr[2893]: 175C4E8080: from=<korspammail@gmail.com>, size=1952, nrcpt=1 (queue active)
Oct  2 09:06:04 mail postfix/smtpd[9585]: C621DE8083: client=localhost[127.0.0.1]
Oct  2 09:06:04 mail postfix/cleanup[9629]: C621DE8083: message-id=<AANLkTik7kX+TK96H4oT5jqa=EjJsLB3s7hHdR+u2CU6t@mail.gmail.com>
Oct  2 09:06:04 mail postfix/smtpd[9585]: disconnect from localhost[127.0.0.1]
Oct  2 09:06:04 mail postfix/qmgr[2893]: C621DE8083: from=<korspammail@gmail.com>, size=2635, nrcpt=1 (queue active)
Oct  2 09:06:04 mail amavis[9532]: (09532-02) Passed CLEAN, LOCAL [74.125.82.180] [74.125.82.180] <korspammail@gmail.com> -> <gkaya@xx.yy.com>, Message-ID: <AANLkTik7kX+TK96H4oT5jqa=EjJsLB3s7hHdR+u2CU6t@mail.gmail.com>, mail_id: GEPfsEHs4aRK, Hits: -109.999, size: 1952, queued_as: C621DE8083, dkim_id=@gmail.com,korspammail@gmail.com, 597 ms
Oct  2 09:06:04 mail postfix/smtp[9631]: 175C4E8080: to=<gkaya@xx.yy.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.81, delays=0.21/0/0/0.6, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=09532-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as C621DE8083)
Oct  2 09:06:04 mail postfix/qmgr[2893]: 175C4E8080: removed
Oct  2 09:06:04 mail postfix/pickup[9239]: CBD41E8080: uid=1001 from=<korspammail@gmail.com>
Oct  2 09:06:04 mail postfix/pipe[9634]: C621DE8083: to=<gkaya@xx.yy.com>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Oct  2 09:06:04 mail postfix/qmgr[2893]: C621DE8083: removed
Oct  2 09:06:04 mail postfix/cleanup[9629]: CBD41E8080: message-id=<AANLkTik7kX+TK96H4oT5jqa=EjJsLB3s7hHdR+u2CU6t@mail.gmail.com>
Oct  2 09:06:04 mail postfix/qmgr[2893]: CBD41E8080: from=<korspammail@gmail.com>, size=2794, nrcpt=1 (queue active)
Oct  2 09:06:06 mail postfix/smtp[9639]: CBD41E8080: to=<insan@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.43.27]:25, delay=1.6, delays=0.01/0.01/0.2/1.4, dsn=2.0.0, status=sent (250 2.0.0 OK 1285999788 l17si4893045bkd.76)
Oct  2 09:06:06 mail postfix/qmgr[2893]: CBD41E8080: removed
Oct  2 09:06:34 mail postfix/smtpd[9575]: disconnect from mail-wy0-f180.google.com[74.125.82.180]

6

Re: Redirect message Problem on Roundecube

Finally, i understand the situation.

Sieve will redirect all mails, that's correct, and expected.
Why you think this is incorrect?

7

Re: Redirect message Problem on Roundecube

ZhangHuangbin wrote:

Finally, i understand the situation.

Sieve will redirect all mails, that's correct, and expected.
Why you think this is incorrect?


Problem is all mail server accounts is redirect to this mail ( insan@gmail.com ) not to only kagaya@xx.yy.com mail Do you understand me ?

Problem is big ! Why all mail accounts going to insan@gmail.com adresses Only  kagaya@xx.yy.com account gonig to insan@gmail.com others mail server accounts not going to insan@gmail.com

Please be careful look mail server log

I wrote ( it's important )

I try  gmail adress on korspammail@gmail.com  I send to  mtepegoz@xx.yy.com ( OTHER MAIL ACCOUNTS ) But mail gonig to insan@gmail.com

I try my gmail adress (korspammail@gmail.com) I send to  gkaya@xx.yy.com ( OTHER MAIL ACCOUNTS )  But mail gonig to insan@gmail.com

8

Re: Redirect message Problem on Roundecube

Please help

insanadair wrote:
ZhangHuangbin wrote:

Finally, i understand the situation.

Sieve will redirect all mails, that's correct, and expected.
Why you think this is incorrect?


Problem is all mail server accounts is redirect to this mail ( insan@gmail.com ) not to only kagaya@xx.yy.com mail Do you understand me ?

Problem is big ! Why all mail accounts going to insan@gmail.com adresses Only  kagaya@xx.yy.com account gonig to insan@gmail.com others mail server accounts not going to insan@gmail.com

Please be careful look mail server log

I wrote ( it's important )

I try  gmail adress on korspammail@gmail.com  I send to  mtepegoz@xx.yy.com ( OTHER MAIL ACCOUNTS ) But mail gonig to insan@gmail.com

I try my gmail adress (korspammail@gmail.com) I send to  gkaya@xx.yy.com ( OTHER MAIL ACCOUNTS )  But mail gonig to insan@gmail.com

9

Re: Redirect message Problem on Roundecube

Please help me ?

10

Re: Redirect message Problem on Roundecube

insanadair wrote:
ZhangHuangbin wrote:

Try to set "mail_debug = yes" in dovecot, and monitor its log files about sieve rules.


I have a found two file  ( a and b ) under /var/vmail/sieve/

a. dovecot.sieve -> /home/vmail/sieve/xx.yy.com/kagaya/roundcube.sieve
b. dovecot.sievec

b. -> content of the file below ( dovecot.sievec )

CyrSBytecode^@^@^@^E^@^@^@^F^@^@^@
^@^@^@^E^@^@^@^A^@^@^@(^@^@^@^A^@^@^@^P^@^@^@^U^@^@^@^T^@^@^@^@^@^@^@^Tinsan@gmail.com^@^@^@^@

a. -> content of the file below ( dovecot.sieve )

# rule:[GMAIL]
if anyof (true)
{
        redirect "insan@gmail.com";
}

-------------------------------------------------------------------------------------

I think I detect in this rule for all emails sent  ?  True ? How can I prevent ?

Please Help me !

Remove dovecot.sievec perhaps