Re: [xmail] xmail bug: filter return codes wrong

2013-05-25 Thread U.Mutlu

Hi Edinilson, thanks for the info.
I must have mixed up the SMTP filters with the other filters.
The xmail documentation is unfortunately a little bit "wild",
it better should be grouped into real sections, and numbered with section
and paragraph numbers for easier reading and referencing.

BTW, does anybody know anything about the whereabouts of the xmail author, 
Davide?
I haven't seen any posting from him here for more than a year, I think.

cu
uenal


Edinilson - ATINET wrote, On 05/24/2013 09:29 PM:

I think that you are missing some points about filters.
Inside mailroot you will find 2 files:
filters.in.tab
filters.out.tab

for example, in filters.in.tab put something like:
"*" *@YOUR-DOMAIN "0.0.0.0/0" "0.0.0.0/0" "YOUR-DOMAIN.tab"
After that, you must create a file inside FILTERS dir called: YOUR-DOMAIN.tab

So, inside FILTERS\YOUR-DOMAIN.TAB:
you must point to your script, etc, etc

README.TXT will help you with this.



Edinilson
--
ATINET
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message - From: "U.Mutlu" 
To: "XMail Users Mailing List" 
Sent: Friday, May 24, 2013 10:18 AM
Subject: Re: [xmail] xmail bug: filter return codes wrong



There is only one flag value, 16, it's optional and means to stop processing
any further filters in the chain, ie. an early-break signal.

I mainly mean the SMPT message filters.
Are the return values 4, 5, 6 (plus +16 to them) not used with this?
As said, in my installation (original v1.27) only 0, 3, and 0+16=16, 3+16=19 is 
working.

I yesterday tried a filterpgm in filters.out.tab, but it never was called,
not even when mail is destined to a remote server.
When does such a filter normally fire?

And: there is in the MailRoot dir also an empty subdirector named "filters". 
What is it for?

Thx


Edinilson - ATINET wrote, On 05/24/2013 02:35 PM:

Which kind of filter are you asking:
MESSAGE FILTERS
or
SMTP MESSAGE FILTERS
?

Remember that yout must ADD some flags values.
There are some examples in readme.txt

Here I have a filter that add 4 + 16 and returns this value. It´s working fine 
for years.

Regards

Edinilson
--
ATINET
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message ----- From: "U.Mutlu" 
To: 
Sent: Thursday, May 23, 2013 12:54 PM
Subject: [xmail] xmail bug: filter return codes wrong



The xmail documentation says:
 If this filters returns '4, 5 or 6' the message is rejected and is
 stopped in its travel. If the filter modifies the message it must return '7'.

But, this info seems to be totally wrong, as only 0 and 3 is working
(plus adding 16 to it for stopping processing other filters).

What happened to xmail?

Anybody know if modifying the mail within a filter is (still) possible in v1.27 
?

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail




___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail



___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail



___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] xmail bug: filter return codes wrong

2013-05-24 Thread Edinilson - ATINET

I think that you are missing some points about filters.
Inside mailroot you will find 2 files:
filters.in.tab
filters.out.tab

for example, in filters.in.tab put something like:
"*" *@YOUR-DOMAIN "0.0.0.0/0" "0.0.0.0/0" "YOUR-DOMAIN.tab"
After that, you must create a file inside FILTERS dir called: 
YOUR-DOMAIN.tab


So, inside FILTERS\YOUR-DOMAIN.TAB:
you must point to your script, etc, etc

README.TXT will help you with this.



Edinilson
--
ATINET
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message - 
From: "U.Mutlu" 

To: "XMail Users Mailing List" 
Sent: Friday, May 24, 2013 10:18 AM
Subject: Re: [xmail] xmail bug: filter return codes wrong


There is only one flag value, 16, it's optional and means to stop 
processing

any further filters in the chain, ie. an early-break signal.

I mainly mean the SMPT message filters.
Are the return values 4, 5, 6 (plus +16 to them) not used with this?
As said, in my installation (original v1.27) only 0, 3, and 0+16=16, 
3+16=19 is working.


I yesterday tried a filterpgm in filters.out.tab, but it never was called,
not even when mail is destined to a remote server.
When does such a filter normally fire?

And: there is in the MailRoot dir also an empty subdirector named 
"filters". What is it for?


Thx


Edinilson - ATINET wrote, On 05/24/2013 02:35 PM:

Which kind of filter are you asking:
MESSAGE FILTERS
or
SMTP MESSAGE FILTERS
?

Remember that yout must ADD some flags values.
There are some examples in readme.txt

Here I have a filter that add 4 + 16 and returns this value. It´s working 
fine for years.


Regards

Edinilson
--
ATINET
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message - From: "U.Mutlu" 
To: 
Sent: Thursday, May 23, 2013 12:54 PM
Subject: [xmail] xmail bug: filter return codes wrong



The xmail documentation says:
 If this filters returns '4, 5 or 6' the message is rejected and is
 stopped in its travel. If the filter modifies the message it must 
return '7'.


But, this info seems to be totally wrong, as only 0 and 3 is working
(plus adding 16 to it for stopping processing other filters).

What happened to xmail?

Anybody know if modifying the mail within a filter is (still) possible 
in v1.27 ?


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail




___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail



___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail



___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] xmail bug: filter return codes wrong

2013-05-24 Thread U.Mutlu

There is only one flag value, 16, it's optional and means to stop processing
any further filters in the chain, ie. an early-break signal.

I mainly mean the SMPT message filters.
Are the return values 4, 5, 6 (plus +16 to them) not used with this?
As said, in my installation (original v1.27) only 0, 3, and 0+16=16, 3+16=19 is 
working.

I yesterday tried a filterpgm in filters.out.tab, but it never was called,
not even when mail is destined to a remote server.
When does such a filter normally fire?

And: there is in the MailRoot dir also an empty subdirector named "filters". 
What is it for?

Thx


Edinilson - ATINET wrote, On 05/24/2013 02:35 PM:

Which kind of filter are you asking:
MESSAGE FILTERS
or
SMTP MESSAGE FILTERS
?

Remember that yout must ADD some flags values.
There are some examples in readme.txt

Here I have a filter that add 4 + 16 and returns this value. It´s working fine 
for years.

Regards

Edinilson
--
ATINET
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message - From: "U.Mutlu" 
To: 
Sent: Thursday, May 23, 2013 12:54 PM
Subject: [xmail] xmail bug: filter return codes wrong



The xmail documentation says:
 If this filters returns '4, 5 or 6' the message is rejected and is
 stopped in its travel. If the filter modifies the message it must return '7'.

But, this info seems to be totally wrong, as only 0 and 3 is working
(plus adding 16 to it for stopping processing other filters).

What happened to xmail?

Anybody know if modifying the mail within a filter is (still) possible in v1.27 
?

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail




___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail



___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] xmail bug: filter return codes wrong

2013-05-24 Thread Edinilson - ATINET

Which kind of filter are you asking:
MESSAGE FILTERS
or
SMTP MESSAGE FILTERS
?

Remember that yout must ADD some flags values.
There are some examples in readme.txt

Here I have a filter that add 4 + 16 and returns this value. It´s working 
fine for years.


Regards

Edinilson
--
ATINET
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message - 
From: "U.Mutlu" 

To: 
Sent: Thursday, May 23, 2013 12:54 PM
Subject: [xmail] xmail bug: filter return codes wrong



The xmail documentation says:
 If this filters returns '4, 5 or 6' the message is rejected and is
 stopped in its travel. If the filter modifies the message it must return 
'7'.


But, this info seems to be totally wrong, as only 0 and 3 is working
(plus adding 16 to it for stopping processing other filters).

What happened to xmail?

Anybody know if modifying the mail within a filter is (still) possible in 
v1.27 ?


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail




___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


[xmail] xmail bug: filter return codes wrong

2013-05-23 Thread U.Mutlu

The xmail documentation says:
 If this filters returns '4, 5 or 6' the message is rejected and is
 stopped in its travel. If the filter modifies the message it must return '7'.

But, this info seems to be totally wrong, as only 0 and 3 is working
(plus adding 16 to it for stopping processing other filters).

What happened to xmail?

Anybody know if modifying the mail within a filter is (still) possible in v1.27 
?

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail