[xmail] Re: Problem with pop3links

2008-10-08 Thread Fabian Cenedese

Yes that's correct. All email addressed to any user in my domain comes into
a common mailbox at my ISP.

I wish to distribute it on the basis of its original destination.

In particular I want my son to be able to have a private mailbox, rather
than, as at present, receiving all the email in my mailbox. 

Are the mails received by the ISP somehow modified? In our case the
original receiver is added as X-Envelope-To:, then they get forwarded
to a single mailbox. We poll this single box and can then distribute
the mails onto various local mailboxes depending on this header.

bye  Fabi


-
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 Setup

2008-01-21 Thread Fabian Cenedese
At 12:10 21.01.2008 +0100, Markus Bergholz wrote:
yes, i'm new to xmail!

xmail has not creat the domain and username?! but in mailroot/server.tab etc 
are the same entrys as in /etc/xmail/*.tab

i've empty the smtpauth.tab and i'm not sure what so enter in the 
smtp.ipmap.tab ?
my dial in ip adress?

What I have learned when starting to use xmail is that it is easier
(at least in the beginning) to not fiddle with the config files by yourself
(well, the domain and user files) but to let xmail handle it. It has a
nice control channel where you can talk to xmail with commands
like adduser, adddomain or so and xmail will do the needed things
for you. There are also frontends, mostly running on a webserver
with php, that can offer a nice gui for these things.

You can then start tweaking the config files later on, once the basic
setup is in place.

bye  Fabi


-
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: bug fix for xmail crash (core dump) when build in Win32 debug mode

2007-11-19 Thread Fabian Cenedese

I think this (and many of the patches you sent) it is just *your* problems 
with a broken compiler. The Standard define non-local non-initialized 
object to be pre-initialized with zero.

Where is this standard written? I don't know of neither msvc or gcc to
initialize variables with zero, at least not in release builds. We already
had quite some errors in other projects (built with gcc) that eventually
came from not initialized variables that contained garbage.
So I don't consider resetting variables after creation a bad thing. If
these were needed in these patches I don't know.

bye  Fabi


-
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] Less server load

2007-10-11 Thread Fabian Cenedese
Hi

I recently had a case where xmail got about a dozen mails at the same
time (with PSYNC). So I then had several threads doing virus scanning
and spam checking. As each thread only got a little CPU time they
timed out and the mails slipped through without being checked.

Apart from increasing the filter timeout time I would also like to lower
the number of threads doing the filtering in filter.in.tab. Are these the
SMAIL threads? So I need to give a lower -Qn argument?

I don't mind if a mail has to wait some minutes before it is filtered,
the filter is more important then the immediate delivery.

Are there any other effects with less threads? Is the responsiveness
still the same (should be so as they are handled from POP3/SMTP)?

Is there anything else that can be done in the filters except to
check if the @@FILE is still available to handle long filter runs?

Thanks

bye  Fabi


-
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: Connection timeout with vmware

2007-10-08 Thread Fabian Cenedese
 I'm using xmail on a Linux Ubuntu in a vmware machine on Windows XP.
 That's just for trying out but should still work fine. It usually works 
 well
 but sometimes a POP3 or SMTP connection from the mail client is not
 closed immediately. I can see it in the debug output that POP3 client
 connection from... is written and the corresponding POP3 client exit
 comes like a minute later. And during this time of course I can't make
 another POP as the mailbox is locked (I think). So I get client errors
 like connection aborted due to timeout or other failure or connection
 refused.
 The client in such a case returns immediately, for him the connection
 is closed.

I had a similar problem with running XMail inside of VirtualPC (haven't 
tried Virtual Server).

We had an IP address conflict. After changing the IP of my vmware
machine I didn't have any problems anymore (in the last few days).

bye  Fabi


-
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] Connection timeout with vmware

2007-10-03 Thread Fabian Cenedese
Hi

I'm using xmail on a Linux Ubuntu in a vmware machine on Windows XP.
That's just for trying out but should still work fine. It usually works well
but sometimes a POP3 or SMTP connection from the mail client is not
closed immediately. I can see it in the debug output that POP3 client
connection from... is written and the corresponding POP3 client exit
comes like a minute later. And during this time of course I can't make
another POP as the mailbox is locked (I think). So I get client errors
like connection aborted due to timeout or other failure or connection
refused.
The client in such a case returns immediately, for him the connection
is closed.

Now I don't know if this is a problem with xmail (probably not), with
Linux, with vmware, with Windows or even something else. I just
wanted to ask if anybody has seen errors like these or might know
what could go wrong. Is anybody using xmail in a vmware machine?
Anything else I should look out for?

The mail client is on the same PC, so in the Windows that also
hosts the vmware machine. Network latency shouldn't be a problem
then, but maybe something else?

Thanks

bye  Fabi

-
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: Filter POP'd messages only once

2007-10-02 Thread Fabian Cenedese
At 12:28 01.10.2007 -0700, Davide Libenzi wrote:
On Mon, 1 Oct 2007, Fabian Cenedese wrote:
 I use xmail as local mail server for several users. We have a setup
 that all mails get stored in one account on the ISP so we only have
 to POP one account. Nobody can send mails through xmail from
 the outside, it is only for local delivery and accepting.
 
 I have added a spamfilter in filters.in.tab. This works out nicely. The
 only problem I have is with xmail mailing lists. If a mail gets delivered
 to a mailing list it is of course rerouted to the subscribed receivers.
 It looks like the mail then gets passed through filters.in.tab again as
 a spam mail now has twice the spam identifier in the subject.
 
 Is there a way to filter only mails that come in from POPing and not
 the rerouted/forwarded mails? Maybe with one of the macro words?
 I would like a generic solution as we have several mailing lists. But
 if this is not possible I will filter them out by name in the spamscript.
 I also already do this for the [EMAIL PROTECTED] account which I use
 to forward slipped through spam mails to sa-learn.

Have you looked at the mailproc.tab filter command?

Yes. But it's not efficient, e.g.

mailproc.tab:
forward otheruser
filter  spamfilter
mailbox

Then the second user will do the filtering again. If I have a way
to do the filtering only once (which I thought filters.in.tab is for)
I can save time and cpu. I guess I need to mark mails as scanned
so I can just skip them when the filter script is called again.

I should mention that I don't delete any mails, I just mark them
with SPAM if they are, so the users can decide themselves what
to do with it.

Thanks

bye  Fabi


-
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: Filter pop3 links

2007-10-02 Thread Fabian Cenedese
At 12:11 02.10.2007 +0200, Filip Supera wrote:
Hello,

Is there a way I can filter spam out of pop3 links ?

You need to add a filter in either filters.in.tab or in the users'
mailproc.tab. Google for xmail and spamassassin, you'll find
many examples in various implementations.

bye  Fabi


-
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: Filter POP'd messages only once

2007-10-02 Thread Fabian Cenedese
At 17:21 02.10.2007 +0200, CLEMENT Francis wrote:
No, I didn't speak about post-data filter at all.
The filter have to be implemented in the 'filter-in' process.

'Post-data' filters are only for incoming smtp sessions, not for =
pop3links.

It could be a nice feature to have a 'pop3link' filters process after =
each popep mail to run specific filters only on pop3links downloads. =
(feature request ? many users ?)

Yes, I'd support a psyncfilter.tab, but I don't know how much work
that would need and if it would somehow make filter.in.tab
obsolete (or at least would overlap).

bye  Fabi


-
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] Filter POP'd messages only once

2007-10-01 Thread Fabian Cenedese
Hi

I use xmail as local mail server for several users. We have a setup
that all mails get stored in one account on the ISP so we only have
to POP one account. Nobody can send mails through xmail from
the outside, it is only for local delivery and accepting.

I have added a spamfilter in filters.in.tab. This works out nicely. The
only problem I have is with xmail mailing lists. If a mail gets delivered
to a mailing list it is of course rerouted to the subscribed receivers.
It looks like the mail then gets passed through filters.in.tab again as
a spam mail now has twice the spam identifier in the subject.

Is there a way to filter only mails that come in from POPing and not
the rerouted/forwarded mails? Maybe with one of the macro words?
I would like a generic solution as we have several mailing lists. But
if this is not possible I will filter them out by name in the spamscript.
I also already do this for the [EMAIL PROTECTED] account which I use
to forward slipped through spam mails to sa-learn.

Thanks

bye  Fabi


-
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: Xstress tool

2007-09-28 Thread Fabian Cenedese
At 14:35 27.09.2007 -0700, you wrote:
On Thu, 27 Sep 2007, Fabian Cenedese wrote:

 Hi
 
 Does anybody have the Xstress tool? The link on the homepage to
 http://www.henry.it/xmail/xstress/src/xstress01.zip
 
 is invalid.

Try ask to the orignal developer.

I tried but it seems he's not active anymore:

552 Requested mail action aborted: exceeded storage allocation

That's why I thought some of the XMail users on this list might have
the tool somewhere.

bye  Fabi


-
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] Xstress tool

2007-09-27 Thread Fabian Cenedese
Hi

Does anybody have the Xstress tool? The link on the homepage to
http://www.henry.it/xmail/xstress/src/xstress01.zip

is invalid.

Thanks

bye  Fabi


-
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] Debugging psync

2007-09-26 Thread Fabian Cenedese
Hi

I'm setting up xmail 1.24 on a Ubuntu Linux box. I can pop and smtp
from a user mail client and send local mails. It seems like I can even
send mails to external addresses (haven't checked it yet thoroughly,
but at least one mail came through).

However I have a problem with popping from my ISP. I have enabled -Yl
but no logfile is created, I only get files for pop3/smail/smtp. Is there
some other way to see what's wrong?

This is my pop3links.tab file, created and edited in Linux solely:
?domain,domainmailadmin pop.domainextaccount
clrpassword   CLR,Leave

I have checked again that there are only tabs between the fields. Other
lines with leading # shouldn't be a problem I hope, but even removing
them didn't help. And there's a newline at the end.

I'm starting xmail with -Md but still can't see any error message either
about a bad-formed tab file or some kind of user authenticating error.

Thanks for any hints.

bye  Fabi


-
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: Debugging psync

2007-09-26 Thread Fabian Cenedese
At 11:06 26.09.2007 +0200, Fabian Cenedese wrote:
Hi

I'm setting up xmail 1.24 on a Ubuntu Linux box. I can pop and smtp
from a user mail client and send local mails. It seems like I can even
send mails to external addresses (haven't checked it yet thoroughly,
but at least one mail came through).

However I have a problem with popping from my ISP. I have enabled -Yl
but no logfile is created, I only get files for pop3/smail/smtp. Is there
some other way to see what's wrong?

This is my pop3links.tab file, created and edited in Linux solely:
?domain,domainmailadmin pop.domainextaccount
clrpassword   CLR,Leave

I have checked again that there are only tabs between the fields. Other
lines with leading # shouldn't be a problem I hope, but even removing
them didn't help. And there's a newline at the end.

Replying to myself.
Seems like I still had some kind of error in this file. The entry didn't
show up in Ctrl.poplnklist. So I deleted and recreated it with poplnkadd.
Now the entry shows up and also gets processed.

Is there something else that gets done when creating a poplink?
Besides the line in pop3links.tab?

Thanks

bye  Fabi


-
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: Debugging psync

2007-09-26 Thread Fabian Cenedese

 Seems like I still had some kind of error in this file. The entry didn't
 show up in Ctrl.poplnklist. So I deleted and recreated it with poplnkadd.
 Now the entry shows up and also gets processed.
 
 Is there something else that gets done when creating a poplink?
 Besides the line in pop3links.tab?

What do you mean for gets done? That you have to do, or that XMail does?

I meant like creating a directory (as for new users) or something else
that xmail needs besides this line. I compared my self-written line with
the one that got created with poplnkadd and I couldn't see a difference.
But still my manually entered line didn't work but the one created from
xmail worked.

I also had problems when I only added a user to the tab file without
creating the directory for him. So I thought it might be something
similar.

bye   Fabi


-
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]