[xmail] Re: [xmail-announce] Re: 1.20 out ...

2004-05-30 Thread Davide Libenzi
On Mon, 31 May 2004, Pierre van den Oord wrote:

> Hi Davide,
> 
> Good to see there you are releasing new files. I really need an IMAP
> compatable (integrated...) version of Xmail; is it possible for you to
> send a date on which you hope Xmail v2.00 is ready?

Pierre, pls do not use the announce mailing list for replies. The date for 
IMAP and 2.0? Yesterday :) (I'm working on it)



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: SPF

2004-05-30 Thread Davide Libenzi
On Sun, 30 May 2004, Davide Libenzi wrote:

> On Sun, 30 May 2004, Michael Luke wrote:
> 
> > Hi everybody.
> > 
> > I've just started using Xmail 1.18 and am impressed by how well it runs.
> > 
> > Does Xmail contain features that I can use to verify Sender Policy
> > Framework rules? http://spf.pobox.com/intro.html
> 
> This sounds like a perfect candidate for the new pre-data SMTP filters. 
> Any takers?

Me me:

http://www.xmailserver.org/xm-spf.pl

It is a mostly a cut&paste from their example, plus XMail parsing (if we 
want to call it in that way) logic for spool files. It works from the 
command line and it works when passed a spool file (both SMTP and final 
spool - they have different header line). It supports tons of options 
(many of them I do not even know the meaning :), but at the basic:

$ xm-spf.pl --ip IP --sender SENDER --debug 1

It supports setting the fail/pass exit codes with --pcode and --fcode. The 
default fail code is 19, that is ok for  SMTP filters. When called from a 
filter:

xm-spf.pl --file @@FILE

You obviously need this to have it working:

http://spf.pobox.com/Mail-SPF-Query-1.997.tar.gz

Note, it's a first cut, so YMMV ...



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: XMail Filter @@MACROS

2004-05-30 Thread Rob Arends
No matter if you construct the filer parameter line as:

 "/some/path/myfilter.pl" "rcpt=@@RCPT&msg=@@FILE&from=@@FROM"
Or
 "/some/path/myfilter.pl" "rcpt=@@RCPT" "msg=@@FILE" "from=@@FROM"

I think this is great.  I have been wanting this, but I never spoke up.

Another vote for.

Rob :-)



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Saturday, 29 May 2004 7:15 AM
To: [EMAIL PROTECTED]
Subject: [xmail] XMail Filter @@MACROS

Hi -

I was wondering if there is any support in the xmail community for the
following:

I would like the way '@@macro' filter/auth/etc. arguments are parsed by
xmail to be enhanced. Currently, for example, you may pass '@@macros'
to filters as arguments by setting up the filter's .tab like:

"/some/path/myfilter.pl" "@@RCPT" "@@FILE"

and you get the recipient in the first argument ($ARGV[0] in perl), and the
message file name in the second. Fine. However, xmail does no replacement if
an argument specification contains more than the '@@macro'; for example:

"/some/path/myfilter.pl" "rcpt=@@RCPT" "msg=@@FILE"

gives your filter "rcpt=@@RCPT" and "msg=@@FILE", with no replacement. As I
am getting older, sometimes, when I have three or four projects going on at
once, I forget the order I specified int the .tab and all heck breaks loose.
I know I always can do something like:

"/some/path/myfilter.pl" "-r" "@@RCPT" "-m" "@@FILE"

but then you end up with 4 arguments, and..., well..., darn it!, I just want
something cooler!

I think it would be neat to allow replacement anywhere in an argment, so you
could write something like:

"/some/path/myfilter.pl" "rcpt=@@RCPT&msg=@@FILE&from=@@FROM"

and have the replacements done. Then, in this example, you could parse a
single argument like a query string and be sure everything matches up ok.
The possibilities are endless ;)

I have made and tested such a patch. It is 100% backward compatible and
actually simplifies some of the argument parsing as a benefit.
It may be downloaded from:

xmail.beaucox.com/xmail-1.19-pre07-macro-patch

or from the "'@@macro' patch" nav bar entry at the page at:

xmail.beaucox.com/

Is anyone else interested it this scheme? Am I just being one of Davide's
PITA people? Davide? Supporters? Detractors? Please let me know.

I promise if I get voted down, I'll shut-up about it (I can hear Davide
thinking: '...voted? Who said anything about xmail being a democracy?' ;) ).

Aloha => Beau;


-
To unsubscribe from this list: send the line "unsubscribe xmail" in the body
of a message to [EMAIL PROTECTED] For general help: send the line
"help" in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] 1.20 out ...

2004-05-30 Thread Davide Libenzi

1.20 release files are available here:

http://www.xmailserver.org

This fixed the possible memory leak and the use-after-free bug:

http://www.xmailserver.org/ChangeLog.html#may_30__2004_v_1_20

I definitely recommend to update to 1.20



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] 1.19 possibly shortest release ever ...

2004-05-30 Thread Davide Libenzi

1.19 will be probably remembered as one of the shortest release ever. 
After having plugged my leak-checker, XMail was crashing. Well, it turned 
out that there was a leak plus a possible use-after-free bug. Both were in 
a non really common path, so they were really hard to find. Nevertheless 
XMail was crashing after 30-60 minutes in my machines, so my $64000 
question is: why the heck valgrind did not catch them?
(I will be making 1.20 asap)



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: 1.19 out ...

2004-05-30 Thread Davide Libenzi
On Mon, 31 May 2004, Valik Snake wrote:

> 
> DL> Files available in the usual place:
> 
> DL> http://www.xmailserver.org
> 
> DL> Changes are described here:
> 
> DL> http://www.xmailserver.org/ChangeLog.html#may_29__2004_v_1_19
> yeah, still waiting 2.0 (IMAP) ...

Mee too :-)



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: 1.19 out ...

2004-05-30 Thread Valik Snake

DL> Files available in the usual place:

DL> http://www.xmailserver.org

DL> Changes are described here:

DL> http://www.xmailserver.org/ChangeLog.html#may_29__2004_v_1_19
yeah, still waiting 2.0 (IMAP) ...

--
Valik.

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: LMAIL 3 times

2004-05-30 Thread Davide Libenzi
On Sun, 30 May 2004, Davide Libenzi wrote:

> On Sun, 30 May 2004, Davide Libenzi wrote:
> 
> > On Sun, 30 May 2004, [iso-8859-1] S=F6nke Ruempler wrote:
> >=20
> > > > Ok, thx, i'll let it run the whole weekend :-)
> > >=20
> > > Mhm, the server/valgrind/whatever crashed this evening, I restarted it.
> > > Could you see anything about the mem leaks?
> >=20
> > Hmm, it showed leaks in impossible places like select() or gethostbyname(=
> ).
> > Plus it showed leaks in the thread key allocation, that are always freed=
> =20
> > in the return path of the thread function. Let me think about other=20
> > solutions ...
> 
> Get this:
> 
> http://www.xmailserver.org/xmail-1.20-test.tar.gz

You better wait, since the memchecker is crashing on my machine :-)



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: LMAIL 3 times

2004-05-30 Thread Davide Libenzi
On Sun, 30 May 2004, Davide Libenzi wrote:

> On Sun, 30 May 2004, [iso-8859-1] S=F6nke Ruempler wrote:
>=20
> > > Ok, thx, i'll let it run the whole weekend :-)
> >=20
> > Mhm, the server/valgrind/whatever crashed this evening, I restarted it.
> > Could you see anything about the mem leaks?
>=20
> Hmm, it showed leaks in impossible places like select() or gethostbyname(=
).
> Plus it showed leaks in the thread key allocation, that are always freed=
=20
> in the return path of the thread function. Let me think about other=20
> solutions ...

Get this:

http://www.xmailserver.org/xmail-1.20-test.tar.gz

Then:

$ export XMAIL_DEBUG=3D1
$ make -f Makefile.lnx

Install the binary and add this to the startup script:

export MTR_DUMPFILE=3D/tmp/XMail.memdump

Start XMail and let it run. After one or two days do:

# touch $MAIL_ROOT/.shutdown

and let it shut down gracefully. Then send the XMail binary and the file=20
/tmp/XMail.memdump to me.



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: LMAIL 3 times

2004-05-30 Thread Davide Libenzi
On Sun, 30 May 2004, [iso-8859-1] S=F6nke Ruempler wrote:

> > Ok, thx, i'll let it run the whole weekend :-)
>=20
> Mhm, the server/valgrind/whatever crashed this evening, I restarted it.
> Could you see anything about the mem leaks?

Hmm, it showed leaks in impossible places like select() or gethostbyname().
Plus it showed leaks in the thread key allocation, that are always freed=20
in the return path of the thread function. Let me think about other=20
solutions ...



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: SPF

2004-05-30 Thread Tracy
At 13:22 5/30/2004, you wrote:
> > >This sounds like a perfect candidate for the new pre-data SMTP filters.
> > >Any takers?
> >
> > I'm looking at it, but not moving very quickly. There are a couple of 
> Win32
> > SPF libraries on the net, and libraries for C++, python, and java (didn't
> > see any for perl... sorry). Might be worth checking into... IIRC, they're
> > located at:
> >
> > http://spf.pobox.com/downloads.html
>
>You missed the first one :)
>
>Mail::SPF::Query

 DOH!

:) 

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: SPF

2004-05-30 Thread Davide Libenzi
On Sun, 30 May 2004, Tracy wrote:

> At 13:14 5/30/2004, you wrote:
> 
> >On Sun, 30 May 2004, Michael Luke wrote:
> >
> > > Hi everybody.
> > >
> > > I've just started using Xmail 1.18 and am impressed by how well it runs.
> > >
> > > Does Xmail contain features that I can use to verify Sender Policy
> > > Framework rules? http://spf.pobox.com/intro.html
> >
> >This sounds like a perfect candidate for the new pre-data SMTP filters.
> >Any takers?
> 
> I'm looking at it, but not moving very quickly. There are a couple of Win32 
> SPF libraries on the net, and libraries for C++, python, and java (didn't 
> see any for perl... sorry). Might be worth checking into... IIRC, they're 
> located at:
> 
> http://spf.pobox.com/downloads.html

You missed the first one :)

Mail::SPF::Query



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: SPF

2004-05-30 Thread Tracy
At 13:14 5/30/2004, you wrote:

>On Sun, 30 May 2004, Michael Luke wrote:
>
> > Hi everybody.
> >
> > I've just started using Xmail 1.18 and am impressed by how well it runs.
> >
> > Does Xmail contain features that I can use to verify Sender Policy
> > Framework rules? http://spf.pobox.com/intro.html
>
>This sounds like a perfect candidate for the new pre-data SMTP filters.
>Any takers?

I'm looking at it, but not moving very quickly. There are a couple of Win32 
SPF libraries on the net, and libraries for C++, python, and java (didn't 
see any for perl... sorry). Might be worth checking into... IIRC, they're 
located at:

http://spf.pobox.com/downloads.html



-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: SPF

2004-05-30 Thread Davide Libenzi
On Sun, 30 May 2004, Michael Luke wrote:

> Hi everybody.
> 
> I've just started using Xmail 1.18 and am impressed by how well it runs.
> 
> Does Xmail contain features that I can use to verify Sender Policy
> Framework rules? http://spf.pobox.com/intro.html

This sounds like a perfect candidate for the new pre-data SMTP filters. 
Any takers?



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] SPF

2004-05-30 Thread Michael Luke
Hi everybody.

I've just started using Xmail 1.18 and am impressed by how well it runs.

Does Xmail contain features that I can use to verify Sender Policy
Framework rules? http://spf.pobox.com/intro.html

Thanks,

Michael Luke

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: LMAIL 3 times

2004-05-30 Thread Sönke Ruempler
> Ok, thx, i'll let it run the whole weekend :-)

Mhm, the server/valgrind/whatever crashed this evening, I restarted it.
Could you see anything about the mem leaks?

--
Soenke

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]