[Dovecot] sieve on debian squeeze
Andrea Ganduglia
nonews.org at gmail.com
Thu Jul 28 10:51:49 EEST 2011
On Wed, Jul 27, 2011 at 6:17 PM, John Clements
<clements at brinckerhoff.org> wrote:
> On Jul 27, 2011, at 12:09 PM, Andrea Ganduglia wrote:
>> On Wed, Jul 27, 2011 at 5:28 PM, Remy Zandwijk <remy at luckyhands.nl> wrote:
>>> On 27.07.2011 17:22 , Andrea Ganduglia wrote:
>>>> On Wed, Jul 27, 2011 at 5:18 PM, Antoine Nguyen<ngu.antoine at gmail.com>
>>>>> 2011/7/27 Andrea Ganduglia<nonews.org at gmail.com>
>>>>>> On Wed, Jul 27, 2011 at 4:33 PM, Antoine Nguyen<ngu.antoine at gmail.com>
>>>>>>> 2011/7/27 Andrea Ganduglia<nonews.org at gmail.com>
>>>>>>>
>>>>>>>> Hi. I have a quite problem with dovecot and sieve on Debian Squeeze.
[..]
>>>>>>>> There are no errors or warning messages, simply sieve don't works.
>>>>>>>
>>>>>>> I think you need to use dovecot as the LDA if you want sieve filters to
>>>>>>> be
>>>>>>> applied.
>>>>>>>
>>>>>>> Have you tried to replace virtual_tranport in the main.cf file? (ie.
>>>>>>> virtual_transport = dovecot)
[..]
>> OK. I tried all. It just doesn't works. virtual_transport = dovecot
>> (or maildrop) return relay=none. Now I want work out how I can add a
>> relay into chain, I think that is the base of this issue.
>
> I'm certain that others on the list are better at reading between the lines than I am, but you really need to be more explicit about what's happening; provide a sequence of operations, the resulting behavior, and the behavior you expect.
@clements It doesn't happen, here's what happens!
Hi guys. Thanks! Thaaaaaaaaaanks! All your concerns and your
suggestions are correct. Thanks!
In my main.cf the directive <<virtual_transport = dovecot>> not worked
beacuse was missing
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
In this file I have deceived Postfix with this query: SELECT "virtual"
AS transport;
Now, incoming messages are processed by SpamAssassin, then by dovecot
(and sieve rules) and finally store in proper user directory.
Now the problem concerns outgoing messages. If I try to send e-mail
through out command <mail> (local user) or through out authentication
provided by a virtual user I get a <bounce> error like:
Jul 27 23:01:24 boxnic postfix/pipe[27788]: 1C3B525481B4:
to=<user at example.com>, relay=spamassassin, delay=0.22,
delays=0.15/0/0/0.07, dsn=2.0.0, status=sent (delivered via
spamassassin service)
Jul 27 23:01:24 boxnic dovecot: auth(default): master in:
USER#0111#011user at example.com#011service=deliver
Jul 27 23:01:24 boxnic dovecot: auth-worker(default):
sql(user at example.com): SELECT maildir, 1001 AS uid, 1001 AS gid FROM
mailbox WHERE username = 'user at example.com'
Jul 27 23:01:24 boxnic dovecot: auth-worker(default):
sql(user at example.com): Unknown user
Jul 27 23:01:24 boxnic postfix/pipe[27704]: 47DF825481B6:
to=<user at example.com>, relay=dovecot, delay=0.01, delays=0/0/0/0.01,
dsn=5.1.1, status=bounced (user unknown)
where <user at example.com> is the recipient of this e-mail.
As you see, dovecot for some reason check the existence of recipient
as the e-mail was incoming.
How can I fix this?
-Andrea
More information about the dovecot
mailing list