Re: [EXIM] filters problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter RATKAI
Dátum:  
Címzett: Vadim Vygonets
CC: exim-users
Tárgy: Re: [EXIM] filters problem
> If you're talking about another user's home dir, then you have a
> problem, because this user can't write under uid/gid "mail". But
> your system filter must work correctly in this situation. If you
> mail the output of "exim -bF -d9" (see the other flags, too) to
> exim-users, maybe someone (possibly me) will help you.
>
> Vadik.
>

Here it is,

the new filter:
# exim filter

if error_message then finish

elif $sender_address contains "$qualify_domain" then

unseen save /mail_arch/archive/$sender_address 660

endif

and the exim -bF -d9 output is:

Exim version 1.92 debug level set to 9
probably Berkeley DB version 1.8x (native mode)
Removed setuid privilege: uid=0 gid=0 euid=0 egid=0
Actual local interface address is 127.0.0.1
Actual local interface address is 192.168.16.20
user name "root" extracted from gecos field "root"
set_process_info: 29049 1.92 accepting a local non-SMTP message from
<root@???>
Sender: root@???
search_tidyup called
>>Original headers:

Date: Sat, 9 Jan 1999 00:13:36 +0000 (GMT)
From: Mail System Internal Data <MAILER-DAEMON@???>
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
X-IMAP: 0915840808 0000000001
Status: RO

rewrite_one_header: type=F:
From: Mail System Internal Data <MAILER-DAEMON@???>
search_tidyup called
>>Final headers:

P Received: from root by mail.quaestor.hu with local (Exim 1.92 #1
(Debian))
        id 0zzMmC-0007YX-00; Sun, 10 Jan 1999 16:27:40 +0100
  Date: Sat, 9 Jan 1999 00:13:36 +0000 (GMT)
F From: Mail System Internal Data <MAILER-DAEMON@???>
  Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
  X-IMAP: 0915840808 0000000001
  Status: RO
I Message-Id: <E0zzMmC-0007YX-00@???>


Testing Exim filter file /etc/main.filter
Filter: start of processing
Condition is false: error_message
  Condition is true: $sender_address contains $qualify_domain
    Filter: end of processing
Sender from "From" line: MAILER-DAEMON@???
Unseen save message to: /mail_arch/archive/MAILER-DAEMON@??? 0660
At the end of filtering "delivered" is false


And I think even if it saved or not, the message isn't delivered to the
original RCPT.

Any suggestions?

Peter.
    


--
*** Exim information can be found at http://www.exim.org/ ***