[xmail] pop3

2005-04-25 Thread Helio Cavichiolo Jr
Hi all,

I'm having problems with outlook while downloading messages. It stops=20
receiving the messages, each time in a different place.
XMail is installed in a server with 133 domains and I received many calls=20
telling about this problem.
I setup an account in kmail and it works fine, but in outlook it stops duri=
ng=20
messages download.
Hope you can help me.

=2D-=20
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Inform=E1tica Ltda
Tel. (19) 8137-6822
-
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: pop3

2005-04-25 Thread Helio Cavichiolo Jr
The problem wasn't with the headers. It was cause of LF withou CR.
I'd copied some maildir files from qmail to xmail and qmail uses only LF, b=
ut=20
xmail uses CR/LF.
Problem solved.
Thanx.

Em Seg 25 Abr 2005 17:52, Jason J. Ellingson escreveu:
 I've seen this with Antivirus programs that hook into outlook's POP3.  It
 is usually caused by a bad formed email that the antivirus doesn't handle
 well.

 Turn off the antivirus, grab the emails and turn it back on.  If it occurs
 often, you might be getting bad emails from a spammer...

 Not saying that this is what your problem is... just that it has happened
 to me and this was the issue.
 
 Jason J Ellingson

 615.301.1682 : nashville
 612.605.1132 : minneapolis

 www.ellingson.com
 [EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] =
On
 Behalf Of Helio Cavichiolo Jr
 Sent: Monday, April 25, 2005 1:59 PM
 To: 'xmail@xmailserver.org'
 Subject: [xmail] pop3

 Hi all,

 I'm having problems with outlook while downloading messages. It stops=3D20
 receiving the messages, each time in a different place.
 XMail is installed in a server with 133 domains and I received many
 calls=3D20 telling about this problem.
 I setup an account in kmail and it works fine, but in outlook it stops
 duri=3D ng=3D20
 messages download.
 Hope you can help me.

 =3D2D-=3D20
 Helio Cavichiolo Jr
 Analista de Sistemas
 Altecnet Inform=3DE1tica Ltda
 Tel. (19) 8137-6822
 -
 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]

=2D-=20
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Inform=E1tica Ltda
Tel. (19) 8137-6822
-
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] mysql base

2005-04-25 Thread Helio Cavichiolo Jr
I was planning to use mysql to store users for authentication when I saw th=
e=20
userauth feature of xmail. I wrote a little program to check the=20
authentication into a mysql table and placed the following file into=20
userauth/pop3 directory:

userauth /var/MailRoot/bin/userauth userauth
@@DOMAIN=
 =20
@@USER@@PASSWD

It worked perfectly.

As I read into xmail documentation that this file can handle the functions=
=20
useradd, userdel, useredit and domaindrop, I implemented these functions in=
=20
my program and added the following lines into the file in userauth/pop3=20
directory:

userauth /var/MailRoot/bin/userauth userauth
@@DOMAIN=
 =20
@@USER@@PASSWD
useradd   /var/MailRoot/bin/userauthuserauth  @@DOMAIN =
=20
@@USER@@PASSWD  @@PATH
useredit  /var/MailRoot/bin/userauthuserauth  @@DOMAIN =
=20
@@USER@@PASSWD  @@PATH
userdel   /var/MailRoot/bin/userauthuserauth  @@DOMAIN =
=20
@@USER
domaindrop/var/MailRoot/bin/userauthuserauth  @@DOMAIN

(all spaces here are tabs in the file)

But now I discovered that xmail doesn't call my program when adding, deleti=
ng=20
or changing a user.
So, anyone could tell me what are those functions (useradd, useredit, userd=
el,=20
domaindrop) for, or how do they work?

Thanx,

=2D-=20
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Inform=E1tica Ltda
Tel. (19) 8137-6822
-
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: mysql base

2005-04-25 Thread Helio Cavichiolo Jr
Ugh, you are right Rob. I think I'm a little tired...
Now I'm fighting only with useredit. It's not changing the password. I chan=
ged=20
my program to generate a log file, but it's not being called when I change=
=20
password.

Em Seg 25 Abr 2005 21:32, Rob Arends escreveu:
 That would be because you need to tweak your TAB file a little:

 userauth   /var/MailRoot/bin/userauth userauth   ...
@@DOMAIN @@USER @@PASSWD
 useradd/var/MailRoot/bin/userauth useradd...
@@DOMAIN @@USER @@PASSWD @@PATH
 useredit   /var/MailRoot/bin/userauth useredit   ...
@@DOMAIN @@USER @@PASSWD @@PATH
 userdel/var/MailRoot/bin/userauth userdel...
@@DOMAIN @@USER
 dropdomain /var/MailRoot/bin/userauth domaindrop ...
@@DOMAIN

 (Ignore the ... line continuations)

 Your program /var/MailRoot/bin/userauth would take parameters
 [userauth|useradd|useredit|userdel|dropdomain] and process it accordingly.

 Rob :-)
 _
 Signature: Live like you'll die tomorrow!
 Reply: I tried your signature out once. It took years off my life!

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Helio Cavichiolo Jr
  Sent: Tuesday, April 26, 2005 9:09 AM
  To: xmail@xmailserver.org
  Subject: [xmail] mysql base
 
  I was planning to use mysql to store users for authentication
  when I saw th=3D e=3D20 userauth feature of xmail. I wrote a
  little program to check the=3D20 authentication into a mysql
  table and placed the following file into=3D20
  userauth/pop3 directory:
 
  userauth /var/MailRoot/bin/userauth
  userauth@@DOMAIN=3D
   =3D20
  @@USER@@PASSWD
 
  It worked perfectly.
 
  As I read into xmail documentation that this file can handle
  the functions=3D =3D20 useradd, userdel, useredit and domaindrop,
  I implemented these functions in=3D =3D20 my program and added
  the following lines into the file in userauth/pop3=3D20
  directory:
 
  userauth /var/MailRoot/bin/userauth
  userauth@@DOMAIN=3D
   =3D20
  @@USER@@PASSWD
  useradd   /var/MailRoot/bin/userauthuserauth
@@DOMAIN =3D
  =3D20
  @@USER@@PASSWD  @@PATH
  useredit  /var/MailRoot/bin/userauthuserauth
@@DOMAIN =3D
  =3D20
  @@USER@@PASSWD  @@PATH
  userdel   /var/MailRoot/bin/userauthuserauth
@@DOMAIN =3D
  =3D20
  @@USER
  domaindrop/var/MailRoot/bin/userauthuserauth
@@DOMAIN
 
  (all spaces here are tabs in the file)
 
  But now I discovered that xmail doesn't call my program when
  adding, deleti=3D ng=3D20 or changing a user.
  So, anyone could tell me what are those functions (useradd,
  useredit, userd=3D el,=3D20
  domaindrop) for, or how do they work?
 
  Thanx,
 
  =3D2D-=3D20
  Helio Cavichiolo Jr
  Analista de Sistemas
  Altecnet Inform=3DE1tica Ltda
  Tel. (19) 8137-6822
  -
  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]

=2D-=20
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Inform=E1tica Ltda
Tel. (19) 8137-6822
-
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: mysql base

2005-04-25 Thread Helio Cavichiolo Jr
Well, now it's ok with passwords and Courier-Imap is finally working with m=
y=20
XMail server. Everything syncronized.

Now the only thing is how to manage user quota. I didn't find a way to make=
=20
XMail to call my program when someone changes the uservar MaxMailboxSize.
Is there any hidden trick?

Em Seg 25 Abr 2005 21:47, Helio Cavichiolo Jr escreveu:
 Ugh, you are right Rob. I think I'm a little tired...
 Now I'm fighting only with useredit. It's not changing the password. I
 chan=3D ged=3D20
 my program to generate a log file, but it's not being called when I chang=
e=3D
 =3D20
 password.

 Em Seg 25 Abr 2005 21:32, Rob Arends escreveu:
  That would be because you need to tweak your TAB file a little:
 
  userauth   /var/MailRoot/bin/userauth userauth   ...
 @@DOMAIN @@USER @@PASSWD
  useradd/var/MailRoot/bin/userauth useradd...
 @@DOMAIN @@USER @@PASSWD @@PATH
  useredit   /var/MailRoot/bin/userauth useredit   ...
 @@DOMAIN @@USER @@PASSWD @@PATH
  userdel/var/MailRoot/bin/userauth userdel...
 @@DOMAIN @@USER
  dropdomain /var/MailRoot/bin/userauth domaindrop ...
 @@DOMAIN
 
  (Ignore the ... line continuations)
 
  Your program /var/MailRoot/bin/userauth would take parameters
  [userauth|useradd|useredit|userdel|dropdomain] and process it
  accordingly.
 
  Rob :-)
  _
  Signature: Live like you'll die tomorrow!
  Reply: I tried your signature out once. It took years off my life!
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Helio Cavichiolo Jr
   Sent: Tuesday, April 26, 2005 9:09 AM
   To: xmail@xmailserver.org
   Subject: [xmail] mysql base
  
   I was planning to use mysql to store users for authentication
   when I saw th=3D3D e=3D3D20 userauth feature of xmail. I wrote a
   little program to check the=3D3D20 authentication into a mysql
   table and placed the following file into=3D3D20
   userauth/pop3 directory:
  
   userauth   /var/MailRoot/bin/userauth
   userauth@@DOMAIN=3D3D
=3D3D20
   @@USER@@PASSWD
  
   It worked perfectly.
  
   As I read into xmail documentation that this file can handle
   the functions=3D3D =3D3D20 useradd, userdel, useredit and domaindrop,
   I implemented these functions in=3D3D =3D3D20 my program and added
   the following lines into the file in userauth/pop3=3D3D20
   directory:
  
   userauth   /var/MailRoot/bin/userauth
   userauth@@DOMAIN=3D3D
=3D3D20
   @@USER@@PASSWD
   useradd   /var/MailRoot/bin/userauthuserauth
 @@DOMAIN =3D3D
   =3D3D20
   @@USER@@PASSWD  @@PATH
   useredit  /var/MailRoot/bin/userauthuserauth
 @@DOMAIN =3D3D
   =3D3D20
   @@USER@@PASSWD  @@PATH
   userdel   /var/MailRoot/bin/userauthuserauth
 @@DOMAIN =3D3D
   =3D3D20
   @@USER
   domaindrop/var/MailRoot/bin/userauthuserauth
 @@DOMAIN
  
   (all spaces here are tabs in the file)
  
   But now I discovered that xmail doesn't call my program when
   adding, deleti=3D3D ng=3D3D20 or changing a user.
   So, anyone could tell me what are those functions (useradd,
   useredit, userd=3D3D el,=3D3D20
   domaindrop) for, or how do they work?
  
   Thanx,
  
   =3D3D2D-=3D3D20
   Helio Cavichiolo Jr
   Analista de Sistemas
   Altecnet Inform=3D3DE1tica Ltda
   Tel. (19) 8137-6822
   -
   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]

 =3D2D-=3D20
 Helio Cavichiolo Jr
 Analista de Sistemas
 Altecnet Inform=3DE1tica Ltda
 Tel. (19) 8137-6822
 -
 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]

=2D-=20
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Inform=E1tica Ltda
Tel. (19) 8137-6822
-
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: mysql base

2005-04-26 Thread Helio Cavichiolo Jr
=46irst of all a little of freshness, I renamed my program to xuserdb becau=
se I=20
thought it sounds more mnemonic with its functions. :-)
As a matter of fact, all my program does is getting parameters from command=
=20
line when xmail calls it and handle them in a mysql database.
The calls and parameters are passed as shown into .tab file placed=20
in /var/MailRoot/userauth/pop3.
I don't know why it is assigned as a pop3 function, since those functions a=
re=20
generic, but it works fine. It's a pitty we don't have this functionality f=
or=20
uservarsset calls.
Anyway, I'm so glad with xmail. I have used sendmail and qmail, and took a=
=20
look in some others, but none of them looks so complete and organized.
I hope xmail project have enough health to have a long life.

In time, xuserdb was written in Pascal because I didn't have enough time an=
d=20
pacience to learn C yet and Pascal is an old friend since university days.

Helio

Em Ter 26 Abr 2005 05:16, Rob Arends escreveu:
 Excellent!

 I have not used the userauth/pop3 stuff before.  Could you clarify how you
 use it, Do you use the CTRL protocol to add a user, and xmail calls your
 userauth program to add it to sql?
 Or am I missing how you are using your setup?

 Rob :-)

 _
 Signature: Live like you'll die tomorrow!
 Reply: I tried your signature out once. It took years off my life!

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Helio Cavichiolo Jr
  Sent: Tuesday, April 26, 2005 10:48 AM
  To: xmail@xmailserver.org
  Subject: [xmail] Re: mysql base
 
  Ugh, you are right Rob. I think I'm a little tired...
  Now I'm fighting only with useredit. It's not changing the
  password. I chan=3D ged=3D20 my program to generate a log file,
  but it's not being called when I change=3D =3D20 password.
 
  Em Seg 25 Abr 2005 21:32, Rob Arends escreveu:
   That would be because you need to tweak your TAB file a little:
  
   userauth   /var/MailRoot/bin/userauth userauth   ...
  @@DOMAIN @@USER @@PASSWD
   useradd/var/MailRoot/bin/userauth useradd...
  @@DOMAIN @@USER @@PASSWD @@PATH
   useredit   /var/MailRoot/bin/userauth useredit   ...
  @@DOMAIN @@USER @@PASSWD @@PATH
   userdel/var/MailRoot/bin/userauth userdel...
  @@DOMAIN @@USER
   dropdomain /var/MailRoot/bin/userauth domaindrop ...
  @@DOMAIN
  
   (Ignore the ... line continuations)
  
   Your program /var/MailRoot/bin/userauth would take parameters
   [userauth|useradd|useredit|userdel|dropdomain] and process
 
  it accordingly.
 
   Rob :-)
   _
   Signature: Live like you'll die tomorrow!
   Reply: I tried your signature out once. It took years off my life!
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helio
 
  Cavichiolo
 
Jr
Sent: Tuesday, April 26, 2005 9:09 AM
To: xmail@xmailserver.org
Subject: [xmail] mysql base
   
I was planning to use mysql to store users for
 
  authentication when I
 
saw th=3D3D e=3D3D20 userauth feature of xmail. I wrote a
 
  little program
 
to check the=3D3D20 authentication into a mysql table and
 
  placed the
 
following file into=3D3D20
userauth/pop3 directory:
   
userauth /var/MailRoot/bin/userauth
userauth@@DOMAIN=3D3D
 =3D3D20
@@USER@@PASSWD
   
It worked perfectly.
   
As I read into xmail documentation that this file can handle the
functions=3D3D =3D3D20 useradd, userdel, useredit and domaindrop, I
implemented these functions in=3D3D =3D3D20 my program and added the
following lines into the file in userauth/pop3=3D3D20
directory:
   
userauth /var/MailRoot/bin/userauth
userauth@@DOMAIN=3D3D
 =3D3D20
@@USER@@PASSWD
useradd   /var/MailRoot/bin/userauthuserauth
  @@DOMAIN =3D3D
=3D3D20
@@USER@@PASSWD  @@PATH
useredit  /var/MailRoot/bin/userauthuserauth
  @@DOMAIN =3D3D
=3D3D20
@@USER@@PASSWD  @@PATH
userdel   /var/MailRoot/bin/userauthuserauth
  @@DOMAIN =3D3D
=3D3D20
@@USER
domaindrop/var/MailRoot/bin/userauthuserauth
  @@DOMAIN
   
(all spaces here are tabs in the file)
   
But now I discovered that xmail doesn't call my program
 
  when adding,
 
deleti=3D3D ng=3D3D20 or changing a user.
So, anyone could tell me what are those functions (useradd,
useredit, userd=3D3D el,=3D3D20
domaindrop) for, or how do they work?
   
Thanx,
   
=3D3D2D-=3D3D20
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Inform=3D3DE1tica Ltda
Tel. (19) 8137-6822
-
To unsubscribe from this list: send the line unsubscribe

[xmail] Re: mysql base

2005-04-26 Thread Helio Cavichiolo Jr
How I said, it is called when the functions placed into .tab file are=20
executed.
When someone authenticate himself by pop3, xmail calls xuserdb using=20
userauth line specified in the .tab file.
The same thing occurs when adding users, deleting users, changing users=20
passwords or dropping domains using CTRL. Althought it's not a pop3 functio=
n,=20
xmail also calls xuserdb on those situations as described in .tab file.

Helio

Em Ter 26 Abr 2005 11:38, Rob Arends escreveu:
 and when does xmail call your program? - POP3 login and ?

 Rob :-)

 _
 Signature: Live like you'll die tomorrow!
 Reply: I tried your signature out once. It took years off my life!

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Helio Cavichiolo Jr
  Sent: Tuesday, April 26, 2005 11:28 PM
  To: xmail@xmailserver.org
  Subject: [xmail] Re: mysql base
 
  =3D46irst of all a little of freshness, I renamed my program to
  xuserdb becau=3D se I=3D20 thought it sounds more mnemonic with
  its functions. :-) As a matter of fact, all my program does
  is getting parameters from command=3D =3D20 line when xmail calls
  it and handle them in a mysql database.
  The calls and parameters are passed as shown into .tab file
  placed=3D20 in /var/MailRoot/userauth/pop3.
  I don't know why it is assigned as a pop3 function, since
  those functions a=3D re=3D20 generic, but it works fine. It's a
  pitty we don't have this functionality f=3D or=3D20 uservarsset calls.
  Anyway, I'm so glad with xmail. I have used sendmail and
  qmail, and took a=3D =3D20 look in some others, but none of them
  looks so complete and organized.
  I hope xmail project have enough health to have a long life.
 
  In time, xuserdb was written in Pascal because I didn't have
  enough time an=3D d=3D20 pacience to learn C yet and Pascal is an
  old friend since university days.
 
  Helio
 
  Em Ter 26 Abr 2005 05:16, Rob Arends escreveu:
   Excellent!
  
   I have not used the userauth/pop3 stuff before.  Could you
 
  clarify how
 
   you use it, Do you use the CTRL protocol to add a user, and xmail
   calls your userauth program to add it to sql?
   Or am I missing how you are using your setup?
  
   Rob :-)
  
   _
   Signature: Live like you'll die tomorrow!
   Reply: I tried your signature out once. It took years off my life!
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helio
 
  Cavichiolo
 
Jr
Sent: Tuesday, April 26, 2005 10:48 AM
To: xmail@xmailserver.org
Subject: [xmail] Re: mysql base
   
Ugh, you are right Rob. I think I'm a little tired...
Now I'm fighting only with useredit. It's not changing
 
  the password.
 
I chan=3D3D ged=3D3D20 my program to generate a log file, but
 
  it's not
 
being called when I change=3D3D =3D3D20 password.
   
Em Seg 25 Abr 2005 21:32, Rob Arends escreveu:
 That would be because you need to tweak your TAB file a little:

 userauth   /var/MailRoot/bin/userauth userauth   ...
@@DOMAIN @@USER @@PASSWD
 useradd/var/MailRoot/bin/userauth useradd...
@@DOMAIN @@USER @@PASSWD @@PATH
 useredit   /var/MailRoot/bin/userauth useredit   ...
@@DOMAIN @@USER @@PASSWD @@PATH
 userdel/var/MailRoot/bin/userauth userdel...
@@DOMAIN @@USER
 dropdomain /var/MailRoot/bin/userauth domaindrop ...
@@DOMAIN

 (Ignore the ... line continuations)

 Your program /var/MailRoot/bin/userauth would take parameters
 [userauth|useradd|useredit|userdel|dropdomain] and process
   
it accordingly.
   
 Rob :-)
 _
 Signature: Live like you'll die tomorrow!
 Reply: I tried your signature out once. It took years
 
  off my life!
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Helio
   
Cavichiolo
   
  Jr
  Sent: Tuesday, April 26, 2005 9:09 AM
  To: xmail@xmailserver.org
  Subject: [xmail] mysql base
 
  I was planning to use mysql to store users for
   
authentication when I
   
  saw th=3D3D3D e=3D3D3D20 userauth feature of xmail. I wrote a
   
little program
   
  to check the=3D3D3D20 authentication into a mysql table and
   
placed the
   
  following file into=3D3D3D20
  userauth/pop3 directory:
 
  userauth /var/MailRoot/bin/userauth
  userauth@@DOMAIN=3D3D3D
   =3D3D3D20
  @@USER@@PASSWD
 
  It worked perfectly.
 
  As I read into xmail documentation that this file can
 
  handle the
 
  functions=3D3D3D =3D3D3D20 useradd, userdel, useredit and
  domaindrop, I

[xmail] xmail freezes

2005-04-28 Thread Helio Cavichiolo Jr
Hi all,

I've installed XMail in 3 different servers. In 2 of them, it is working fi=
ne,=20
but in the 3rd one (the big one), Xmail freezes at least one time a day.
Perhaps this occurs because of the excessive number of connections.
I'm starting the servers with the folling command line options:
=2DMr 24 -Pl -Sl -Ql -Qg -Yl -Fl -Cl -Ll

Anyone could tell me the defaults for maximum threads in each service?

When Xmail freezes, I try to restart it, but some threads doesn't finish an=
d=20
the script that restarts Xmail (the one that comes with XMail) keeps waitin=
g=20
forever.

Thanks
Helio

=2D-=20
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Inform=E1tica Ltda
Tel. (19) 8137-6822
-
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 getting hammered

2005-05-03 Thread Helio Cavichiolo Jr
Thanx Manuel, but GTK is already installed.
It looks that Xmail Queuemanager requires Python 2.3 installed in an especific 
place.
I was thinking of linking Python 2.4 (already installed in my machine) to 
those places shown in the error messages, but there's no wxPython directory 
in /usr/lib/python2.4/site-packages.
So, as we say here, I'm still on foot (still without solution).
Anyone here have installed in a Linux box?
Helio

Em Ter 03 Mai 2005 11:56, Manuel Martin escreveu:
 Hello Helio,=20

  I'm trying Xmail Queuemanager, but when I try to run xqmwin I get the=20
  following errors:
  Traceback (most recent call last):
File qmgrwin.py, line 8, in ?
File=20
  /usr/local/lib/python2.3/site-packages/wxPython/__init__.py,
   line 20,=20
  in ?
File=20
  /usr/local/lib/python2.3/site-packages/wxPython/wxc.so, line 4, in ?
  ImportError: libwx_gtkd-2.4.so: cannot open shared object=20
  file: No such file=20
  ordirectory
 =20
  Will it run only with Python 2.3 installed in that place?
  I'm using Slackware 10.1 with Python 2.4.

 sorry, I don't use Linux; seems like GTK is not installed, though.

 Regards, Manuel Martin
 -
 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]

-- 
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Informatica Ltda
+55 19 8137-6822

-- Attached file included as plaintext by Ecartis --

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQBCeERNv9XBVLwh/KURArxNAJ9Qy+KrBtBNw4nZ1DgBFKh9f1dd4gCfUuvf
hMhmYtuJAxtLBpYN4YVXnqY=
=Vwsp
-END PGP SIGNATURE-


-
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 getting hammered

2005-05-03 Thread Helio Cavichiolo Jr
Great Jeff, I agree on almost all you wrote. Almost all because being 
ubiquitous doesn't mean that everything will run on it... :-)
I'll make use of Xmail Queuemanager on a Windows client as I'll also make 
tests using Outluck, oops, Outlook. I also think it's a good thing to use 
what my users use, despite of my preferences.
Anyway, I would like to see, some day, Xmail Queuemanager running on my Linux 
box. So this is not an emergency, just something to realize a dream. :-)
Still talking about Windows omnipresence, one of my enterprise products is to 
do exorcism. We already did it in some clients enterprises (all stations and 
servers with Linux now).
Helio

Em Qua 04 Mai 2005 01:05, Jeff Buehler escreveu:
  Can you install it on a windows client and access your Linux box remotely?
 That is what I would do, if possible, in your situation.  This is not
 becauseI particularly like Windows (I do not - actually, I am beginning to
 despise it because everyone uses it even when it is not to their advantage
 but they don't know any better) but because it is ubiquitous (I add a
 definition of ubiquitous in case English is not your native language:
 extremely common, or as a summarized version of the way that Webster puts
 it, existing everywhere, omnipresent) and so everything runs on it.
 For what it is worth, I feel that having access to a Windows client in
 addition a primary (non-Windows) server is somewhat necessary from the
 standpoint of adequate troubleshooting of XMail, or any email server, ,
 specifically because almost all of your email users are probably using it
 (a few people might be using Mac, and even fewer Linux or FreeBSD).  There
 are likely to be many odd issues to arise over time that will only be
 resolved with testing of Outlook or other email clients under Windows. 
 Even the browser behaviors are different under different OS's, as
 ridiculous as that is by now.  I have numerous CGI applications I have
 written that behave quitedifferently under MAC OS X Internet Explorer than
 they do under Windows XP Internet Explorer.

 My servers are running FreeBSD, but I use a Windows client for most testing
 of email, followed by MAC OS 9 and MAC OS X, and finally Linux.

 Jeff

 Helio Cavichiolo Jr wrote: Thanx Manuel, but GTK is already installed. It
 looks that Xmail Queuemanager requires Python 2.3 installed in an especific
 place. I was thinking of linking Python 2.4 (already installed in my
 machine)to those places shown in the error messages, but there's no
 wxPython directory in /usr/lib/python2.4/site-packages. So, as we say here,
 I'm still on foot (still without solution). Anyone here have installed in a
 Linux box? Helio Em Ter 03 Mai 2005 11:56, Manuel Martin escreveu: Hello
 Helio,=20 I'm trying Xmail Queuemanager, but when I try to run xqmwin I get
 the=20 following errors: Traceback (most recent call last): File
 qmgrwin.py, line 8, in ? File=20
 /usr/local/lib/python2.3/site-packages/wxPython/__init__.py, line 20,=20
 in? File=20 /usr/local/lib/python2.3/site-packages/wxPython/wxc.so, line
 4,in ? ImportError: libwx_gtkd-2.4.so: cannot open shared object=20 file:
 No such file=20 ordirectory =20 Will it run only with Python 2.3 installed
 in that place? I'm using Slackware 10.1 with Python 2.4. sorry, I don't use
 Linux; seems like GTK is not installed, though. Regards, Manuel Martin - 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]

-- 
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Informatica Ltda
+55 19 8137-6822

-- Attached file included as plaintext by Ecartis --

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQBCeFUmv9XBVLwh/KURAsrKAJ4j3eXLSo6IUkKW3LaUZuvMxx4xqgCeL+yd
MM3+LMvnEY6IoyVOT1o0H6A=
=t342
-END PGP SIGNATURE-


-
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] Blocking direct delivery

2005-05-09 Thread Helio Cavichiolo Jr
Hello folks,

Is there a way to make XMail to refuse connections from hosts without a 
reverse name or with reverse like 119.64-127.38.174.200.in-addr.arpa, that is 
most of time used by clients not by true mail servers?
I would like to block direct delivery to reduce spam.

Thanx

-- 
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Informatica Ltda
+55 19 8137-6822
-
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: Blocking direct delivery

2005-05-09 Thread Helio Cavichiolo Jr
 The true is that I already set up SMTP-RDNSCheck, but it blocks only
thosewho doesn't have any reverse. I need a set up that also blocks reverse
that doesn't match the server name.
- Mensagem Original 
De: xmail@xmailserver.org
Para: xmail@xmailserver.org xmail@xmailserver.org
Assunto: [xmail] Re: Blocking direct delivery
Data: 09/05/05 09:22



You should set up SMTP-RDNSCheck variable in server.tab in order to
do that check.

Sergio **

Helio Cavichiolo Jr wrote:

Hello folks,

Is there a way to make XMail to refuse connections from hosts without a
reverse name or with reverse like 119.64-127.38.174.200.in-addr.arpa, that
is
most of time used by clients not by true mail servers?
I would like to block direct delivery to reduce spam.

Thanx





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








--- Links ---
   1 mailto:[EMAIL PROTECTED]
   2 mailto:[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] delivery delaying

2005-06-10 Thread Helio Cavichiolo Jr

Hi ALL,

I have a xmail server with 180 domains and 3000 accounts (total). The problem 
is that it receive the messages but expends too much time to deliver the 
messages to the account.
Anyone have a solutions for this?

Thanks

-- 
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Informatica Ltda
+55 19 8137-6822
-
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: delivery delaying

2005-06-15 Thread Helio Cavichiolo Jr

I started xmail with -Qn 512 and now the delivery is working fast.
Thank you very much, Francis.

Em Sex 10 Jun 2005 12:21, CLEMENT Francis escreveu:
 - First change -Qn parameter that define max number of threads used by
 smail module of xmail (smail is responsible to deliver local and outgoing
 mails). Default value is 256.

 - See also if filters don't take too time to execute
 If you can, use preferably natively compiled filters (written in C, C++,
 ) faster than interpreted (or 'pseudo'-compiled) languages ...
 Verify if filters, especially when using 'shared' files like logs,
 databases, don't wait too much for the shared ressource to be available.

 - See also if real memory is able to take the job without swapping (no swap
 activity is allways the best).

 - Does you mail server used for others tasks ? See if they don't take too
 much system ressources ...
 (a dedicated mail server is the best. Put Webmail/web/ftp/... on another
 server)

 You will need to use analysers to examine performance counters for best
 results in finding best ram/swap/cpu/os/software configuration.

 Francis

  -Message d'origine-
  De : Helio Cavichiolo Jr [mailto:[EMAIL PROTECTED]
  Envoyé : vendredi 10 juin 2005 15:37
  À : xmail@xmailserver.org
  Objet : [xmail] delivery delaying
 
 
 
  Hi ALL,
 
  I have a xmail server with 180 domains and 3000 accounts
  (total). The problem
  is that it receive the messages but expends too much time to
  deliver the
  messages to the account.
  Anyone have a solutions for this?
 
  Thanks
 
  --
  Helio Cavichiolo Jr
  Analista de Sistemas
  Altecnet Informatica Ltda
  +55 19 8137-6822
  -
  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]

-- 
Helio Cavichiolo Jr
Analista de Sistemas
Altecnet Informatica Ltda
+55 19 8137-6822
-
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] alias

2005-11-19 Thread Helio Cavichiolo Jr

Hi all,

Is there a way to create an alias to more than one email address?
I intend to create a [EMAIL PROTECTED] and all email sent to it should
be redirected to more than one email address. Is it possible in xmail?

Thank you

Helio
-
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: alias

2005-11-19 Thread Helio Cavichiolo Jr

Is it possible to anyone (those who are not in the list) send mail to the 
list?

Em Sáb 19 Nov 2005 14:41, Davide Libenzi escreveu:
 On Sat, 19 Nov 2005, Helio Cavichiolo Jr wrote:
  Is there a way to create an alias to more than one email address?
  I intend to create a [EMAIL PROTECTED] and all email sent to it should
  be redirected to more than one email address. Is it possible in xmail?

 We in the circle here, call it mailing list ;)


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

-- 
Helio Cavichiolo Jr
Altecnet Informática Ltda
(19) 8137-6822
-
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: alias

2005-11-19 Thread Helio Cavichiolo Jr

Great Mike, it worked! Thanx.

Em Sáb 19 Nov 2005 23:59, Mike Harrington escreveu:
 Yes...

 Use the ClosedML user variable.

 - Original Message -
 From: Helio Cavichiolo Jr [EMAIL PROTECTED]
 To: xmail@xmailserver.org
 Sent: Saturday, November 19, 2005 9:49 AM
 Subject: [xmail] Re: alias



 Is it possible to anyone (those who are not in the list) send mail to the
 list?

 Em Sáb 19 Nov 2005 14:41, Davide Libenzi escreveu:
  On Sat, 19 Nov 2005, Helio Cavichiolo Jr wrote:
   Is there a way to create an alias to more than one email address?
   I intend to create a [EMAIL PROTECTED] and all email sent to it
   should
   be redirected to more than one email address. Is it possible in xmail?
 
  We in the circle here, call it mailing list ;)
 
 
  - 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]

-- 
Helio Cavichiolo Jr
Altecnet Informática Ltda
(19) 8137-6822
-
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] auto block spammer

2005-11-21 Thread Helio Cavichiolo Jr

Is there a way to automatically block a sender IP address after he/she tried 
to deliver more than (for example)  10 consecutive messagens to email 
addresses that doesn't exist on server in a given elapsed time?
I think it would be a good antispam tool.
It could also releases blocked IPs after a punishment time.

-- 
Helio Cavichiolo Jr
Altecnet Informática Ltda
(19) 8137-6822
-
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: auto block spammer

2005-11-21 Thread Helio Cavichiolo Jr

Em Seg 21 Nov 2005 20:09, Sönke Ruempler escreveu:
 Not native in XMail. Just set up a SpamAssassin ;-)

I already have SpamAssassin installed, but it's not enought.
With this small script I caught 8 bad guys in 15 minutes. The script is called 
by crontab every 5 minutes and every 23:59 (11:59 pm) I run the following 
command to take them out of the punishment:
echo -n  /var/MailRoot/spammers.tab

Here goes the script:

#!/bin/sh

spammer() {
  if [ $2 -gt 30 ]; then
if [ ! `grep \^$1\/24\$\ /var/MailRoot/spammers.tab` ]; then
  echo $1/24  /var/MailRoot/spammers.tab
fi
  fi
}

tail -n 1000 /var/MailRoot/logs/smtp-`date +%Y%m%d` | \
sed 's///g' | cut -f3,4 | sort  /tmp/$$
while read ip datetime ; do
  if [ $ip = $lip ]; then
let n=$n+1
  else
if [ $lip ]; then
  spammer $lip $n
fi
n=1
lip=$ip
  fi
done  /tmp/$$
rm -f /tmp/$$
if [ $ip ]; then
  spammer $ip $n
fi
==
Just it!
Helio
-
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] allowing a spammer

2005-11-23 Thread Helio Cavichiolo Jr

Hi folks,

Now I need a help to allow a spammer to send me email. You may think I'm 
crazy, but it's an emergency. There's an enterprise that a need to receive 
email, but it is listed as spammer in the antispam lists I use 
(CustMapsList).

Thanx.

-- 
Helio Cavichiolo Jr
Altecnet Informática Ltda
(19) 8137-6822
-
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] smtp + userauth

2006-01-24 Thread Helio Cavichiolo Jr

Hi,

I created a program to work with userauth (all functions: auth, add, del, 
edit, drop). This program stores things into a mysql table for my 
administrative system needs.
It's working almost perfectly, also authenticating pop users, but smtp 
authentication is not calling my program.
Does smtp authentication work with userauth?
If yes, is there any trick to make it work?
If no, are there plans to make it work?
I need this working so I can use another server to relay messages using smtp 
authentication.

Thanks

-- 
Helio Cavichiolo Jr
Altecnet Informática Ltda
(19) 8137-6822
-
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: smtp + userauth

2006-01-26 Thread Helio Cavichiolo Jr

Em Qua 25 Jan 2006 18:01, Davide Libenzi escreveu:
 Certain authentications, like CRAM-MD5 for example, has not a clear text
 password but an MD5 hash of the password plus other stuff. So you cannot
 fit the usual call-this-external-program-with-user-and-passwd model.

 - Davide

Thanks Davide, but if xmail routine can, why an external program can't?

Helio
-
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: smtp + userauth

2006-01-30 Thread Helio Cavichiolo Jr

Em Dom 29 Jan 2006 16:19, Davide Libenzi escreveu:
 Not with the current model, in which username and password are passed to
 the external program. I'd need to pass the salt, username and MD5 hashes,
 and haave the external program do MD5 computations and matches by itself.

 - Davide

I got, thanks.
-
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: Using XMail with php

2006-03-09 Thread Helio Cavichiolo Jr

Hi,

Include the following line in the begining of apache startup script (and after 
#/bin/sh, of course), than restart apache:

export MAIL_ROOT=/var/MailRoot

Perhaps you will also have to suid root sendmail binary that comes with XMail.

Another perhaps now for xmail developers, sendmail binary could defaults 
to /var/MailRoot when that environment variable is not defined.

Helio

Em Quarta 08 Março 2006 01:05, Jeffrey Laramie escreveu:
 Hello Folks-

 I'm running XMail and Apache2 on a SuSE 9.2 box. Both servers have been up
 and running normally for months. I'm creating a web page that uses the php
 mail() function to send the data from a form. The php scripts work as
 expected except for the mail() function which fails.

 My question:
 If I run XMail in debug mode will I see an entry for any attempt to access
 the sendmail module, or will I only see an error if the connection is
 successful but the data is formatted wrong?

 I would expect that any attempt to connect would be displayed, but for some
 reason I'm not seeing anything at all. I've even tried connecting directly
 using:

 $fd = popen(/usr/sbin/sendmail,w);
 fputs($fd, ..

 Nothing. Yet I can log on and send mail from the command line using mail
 without problems. Any tips on getting the php mail() function to work with
 XMail? I'm running low on ideas here.

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

-- 
Helio Cavichiolo Jr
Altecnet Informatica Ltda
www.altecnet.com.br
+55 (19) 8137-6822
-
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] userauth

2006-03-14 Thread Helio Cavichiolo Jr

Hi folks,

I created a program to authenticate, add, remove and edit mail users into a 
mysql table using the userauth xmail feature. I was getting problems with 
existing applications because they slow down listing operations when we have 
lots of users in xmail. This way, having the users into a mysql table I don't 
need to query xmail for listing.
Now I am planning to handle ml users, but I need to know if there's a way to 
pass usertype to my program via userauth feature, so I can store this field 
into mysql table and don't need to query xmail while listing users with their 
respective usertypes.

Thanx
Helio
-
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: userauth

2006-03-16 Thread Helio Cavichiolo Jr

Em Quarta 15 Março 2006 16:05, Davide Libenzi escreveu:
 On Tue, 14 Mar 2006, Helio Cavichiolo Jr wrote:
  I created a program to authenticate, add, remove and edit mail users into
  a mysql table using the userauth xmail feature. I was getting problems
  with existing applications because they slow down listing operations when
  we have lots of users in xmail. This way, having the users into a mysql
  table I don't need to query xmail for listing.
  Now I am planning to handle ml users, but I need to know if there's a way
  to pass usertype to my program via userauth feature, so I can store this
  field into mysql table and don't need to query xmail while listing users
  with their respective usertypes.

 There is no way to pass that to the userauth binary. I am pretty sure
 though, that the XMail lookup inside its DB, is faster than an external
 binary execution plus a DB connection and query.

An application that manages xmail users and collect users' list connecting to 
xmail admin port is several times slower than an application that uses sql 
queries. Because of this, I created a binary program to authenticate, add, 
remove and edit xmail users into mysql. So, the application that manages the 
users (I mean the user interface not the binary program), make all queries 
to the mysql and connect to xmail admin port only for changes.
I did this after testing umpl in a xmail server with more than 2000 accounts. 
When you open umpl, it expends minutes before showing users' list.
With my solution, I can see users' list as soon as I open the application.
Did you get what I mean?
And because this, I would appreciate a way to let my binary know if the user 
being created is a normal user (U) or a mailing list user (M) to place this 
information into the sql DB, so the application front-end (users' manager) 
can distinguish among them.

Helio
-
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: userauth

2006-03-22 Thread Helio Cavichiolo Jr

Well, I had to make my binary of userauth check if mlusers.tab exists for the 
user being added and it worked as I need. So, my binary can add U/M into sql 
database and my php application can distiguish among U/M user.
Thanks.

Em Segunda 20 Março 2006 11:57, Rob Arends escreveu:
 Helio,

 I'm not sure which way you are implementing (xmail first or mysql first) so
 I might have this wrong.

 If you are wanting to ask Xmail if the user is u or m, then using the
 ctrl protocol,
 Issue a userlist * user and it will return data, including U or M.

 So if the user is already created in xmail, you can find out the type
 (userlist) and push that to mysql.
 If the user is not already created in xmail, then create the user in xmail
 first, then do the userlist, then push to mysql.

 HTH.

 Rob :-)

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of [EMAIL PROTECTED]
 Sent: Monday, 20 March 2006 11:43 PM
 To: xmail@xmailserver.org
 Subject: [xmail] Re: userauth

 snip

 The email functions of my XMail server is working perfectly (sending
 emails, receiving emails, virus+spam, rbl check).
 If you have a single domain with 2k users, try a telnet to port 6017 and
 make a userlist for that domain and you'll know what I mean.
 It's too expensive for a PHP application to manage those users this way.
 So, an hybrid solution would be perfect. The PHP application would get
 information from a SQL database and change them via XMail admin connection.
 I already have this solution running and it is very fast, the only thing is
 missing is that I would like to distinguish among normal users and mailing
 list, and this must be done while you are adding the user. This way, my
 userauth external binary need to get this information when XMail calls it
 to add a new user.

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

-- 
Helio Cavichiolo Jr
Altecnet Informatica Ltda
www.altecnet.com.br
+55 (19) 8137-6822
-
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] filters

2006-06-23 Thread Helio Cavichiolo Jr

Hello,

Is there a way to make xmail deliver messages in another directory (inside 
home dir) depending on filters?

Thanks
Helio
-
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] filters

2006-06-28 Thread Helio Cavichiolo Jr

Sorry to repost, but how nobody answered, I supposed my explanation or my 
English wasn't that clear.

I'm using xmail with courier-imap and this is working fine.
I also included spamassassin to filter spams, and this is also working fine.
Now, I would like messages marked as spam to be delivered to a specific folder 
inside user homedir (/var/MailRoot/domains/the_domain/the_user/Maildir). Is 
it possible?

Thanks
Helio
-
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] SmtpPerms

2006-06-28 Thread Helio Cavichiolo Jr

I saw SmtpPerms MR in uservars, so I was thinking of what options can 
I set for SmtpPerms and what are their meaning? I couldn't find the meaning 
of M and R and perhaps other letters.

Helio
-
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: filters

2006-06-29 Thread Helio Cavichiolo Jr

Thank you very much for all replies about my question.
I got the idea of using @@FILE to move the message and now I'm writting a 
program (in freepascal) that will read per domain filter rules and actions 
from a mysql table.

Helio
-
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: filters

2006-06-30 Thread Helio Cavichiolo Jr

Em Quarta 28 Junho 2006 12:04, John Kielkopf escreveu:
 While I have yet to do it, I was thinking about accomplishing this by
 copying the message (@@FILE), with Xmail's MAIL-DATA and
 everything before it stripped, to the appropriate folder (after first
 checking that the folder exists), and then returning an error code 4
 (reject without notification).

 Let me know if it works.

Yes, it works.
I wrote the filter using a bash script (regular expressions in fpc was giving 
me a head ache - I hope bash can hold the work).
The script read owners (global, domain or email), rules (regular expression), 
actions (Save, Drop, Reject, Accept) and targets (folder name) from a mysql 
table and apply the first that matches to the message.

I'm using the basename of @@FILE to deliver the message to the folder, anyone 
can tell me if this is correct?

Thank you
Helio

PS: if anyone would like to get my script tell me in private and I'll send
-
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] outlook + imap

2006-07-03 Thread Helio Cavichiolo Jr

I'm using xmail+courier-imap and I can read messages perfectly with kmail 
client, squirrelmail and roundcube. Now I'm trying outlook express and for my 
surprise it shows entire message (headers + body) where it would be showing 
only the message body.
Anyone knows how to solve this?

Thanks
Helio
-
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: outlook + imap

2006-07-05 Thread Helio Cavichiolo Jr

Em Terça 04 Julho 2006 14:39, Davide Libenzi escreveu:
 I remember there was a problem because of the way XMail stores files
 inside the mailbox (keeping \r\n even on unix boxes). But that would show
 up even in other MUAs, not only in OE.

 - Davide

I saw that courier-imap is not prepared to work with files that uses CR+LF. We 
need a patch. I also saw that dovecot can handle CR+LF and LF, but it doesn't 
work with root user, so, it can't access xmail files structure.
I'm thinking of what is better: to patch courier-imap or to change xmail so it 
can work with a different user. Or, perhaps, if anyone has cleaner idea...

Thanks
Helio
-
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: outlook + imap

2006-07-06 Thread Helio Cavichiolo Jr

Em Quinta 06 Julho 2006 17:11, Davide Libenzi escreveu:
  I saw that courier-imap is not prepared to work with files that uses
  CR+LF.= We=20
  need a patch. I also saw that dovecot can handle CR+LF and LF, but it
  doesn= 't=20
  work with root user, so, it can't access xmail files structure.
  I'm thinking of what is better: to patch courier-imap or to change xmail
  so= it=20
  can work with a different user. Or, perhaps, if anyone has cleaner
  idea...

 I think some ppl here managed to make work both of them with XMail.
 Unfortunately, I'm not a member of the some ppl set :)

 - Davide

I've patched courier-imap and it worked.
I'll stay praying to xmail get its own imap server... :-)

Helio
-
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: IMAP Support?

2006-07-19 Thread Helio Cavichiolo Jr

Em Terça 18 Julho 2006 23:08, Dave Henderson escreveu:
 I am also interested to know if Xmail will eventually support  IMAP.  In
 the mean time what is the current opinion of others as  to the best IMAP
 addon (courier, squirrel, etc).

   Dave

I'm using a patched courier-imap (CR+LF patch) with mysql authentication. But 
I'm eager waiting for the day XMail will support imap service, especially 
because I've implemented my own authentication engine via XMail authuser and 
can't use it with imap connections.
The webmail I choose was RoundCube.

Helio
-
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] postmaster messages

2006-07-21 Thread Helio Cavichiolo Jr

Is it possible to set xmail to send error messages to appropriate domain.
I mean, if the error message was generated by a message from a user of domain 
xxx.com, the sender would be [EMAIL PROTECTED], but if the error message was 
generated by a message from a user of domain yyy.com, the sender would be 
[EMAIL PROTECTED]

Helio
-
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: imap once again

2006-08-08 Thread Helio Cavichiolo Jr

When XMail creates a new mail file, it's owned by root and then dovecot can't 
access it. Are your XMail running as root?

Em Terça 08 Agosto 2006 02:59, Adrian Hicks escreveu:
 I've got Dovecot working here by just changing ownership of all the
 directories in the path down to the user folders  their Maildirs.

 Using Dovecot 1.0 rc.

 Set up a second dovecot user and group (dovecotusers) for access to the
 maildb.

 Changed ownership of /var/MailRoot, /var/MailRoot/domains etc. etc. so all
 user directories are owner dovecotuser and group dovecotuser.

 No problems so far.


 Adrian Hicks

 On Tuesday 08 August 2006 11:35, Helio Cavichiolo Jr wrote:
  I'm trying to use XMail + imap + mysql (in Linux), but I still can't
  solve all the problems.
  Both, Dovecot and Courier-imap need some tricks to work with XMail.
  How Dovecot doesn't run as root, I tried to force XMail to run as
  another user, but got other problems.
  How Courier-imap doesn't handle CR+LF, I tried to patch it, but the
  patch brought other problems.
  So, I'm thinking if XMail developers could implement an option into
  XMail so it can work with CR+LF or just with CR depending on this
  option. Maybe a compile time option.
  I don't know  the difficulty of this, but what about to make XMail run
  as another user by default (dropping children processes to an
  unprivileged user - it's a security issue, isn't it?)
 
  Helio
  -
  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]
 
  ---
  [This E-mail was scanned for viruses.]

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

-- 
...: H e l i o   C a v i c h i o l o   J r :...
: Altecnet - Desenvolvimento - (19) 8137-6822 :
:... w w w . a l t e c n e t . c o m . b r ...:
-
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] internal spammers

2006-09-06 Thread Helio Cavichiolo Jr


I have a server running xmail with several domains and users. Is there a way to 
detect and block internal users that are generating spam?

Thanks
Helio

-
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] relay from a banned host

2006-10-03 Thread Helio Cavichiolo Jr

Hello, anyone can help me on this?

I have a server in a datacenter running XMail.
My office has a DSL connection and I need to automate a job so it can send 
emails to my server into the datacenter (it is not for spam intentions).
My office DSL connection has a fixed and not reserved IP address, then I tried 
to place this IP address into smtp.ipprop.tab so it would bypass rbl check, 
but it is not working. I still get the following smtp error message:

551 Server access forbidden by your IP - SMTP Error

Looking into smtp logs I could find that my DSL IP is listed in list.dsbl.org. 
In other words, I think xmail is not respecting smtp.ipprop.tab contents.

What's wrong?
-
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: relay from a banned host

2006-10-03 Thread Helio Cavichiolo Jr

Em Terça 03 Outubro 2006 18:16, Soenke Ruempler escreveu:
 1. Send us the content of smtp.ipprob.tab, check it for _REAL_ tabs!
 2. Consider using SMTP Auth.

This is the content of the smtp.ipprop.tab:

127.0.0.0/8   Whitelist=1
200.161.198.92/32 Whitelist=1

The space between IP and Whitelist is only one tab character (ascii=09).
-
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: relay from a banned host

2006-10-03 Thread Helio Cavichiolo Jr

Em Terça 03 Outubro 2006 19:09, Soenke Ruempler escreveu:
 Check case sensitivy. It's WhiteList (Big L [and not the Roxette song ;)]

 Good luck!

It worked!!! Thank you very much...
I'll write a hundred times: WhiteList is with capital L :-)
-
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] Rescheduling time sending messages

2006-10-23 Thread Helio Cavichiolo Jr

I would like a rescheduling working like this:

1st try - 5 min
2nd try - around 30 min
3rd try - around 1 h
and so on... until it completes 8 h old

Since Qi can only increment the time up to Qt, and Qi can only be an integer, 
I think it's impossible to do what I want, right?

Thanks
Helio
-
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: Rescheduling time sending messages

2006-10-24 Thread Helio Cavichiolo Jr

Em Terça 24 Outubro 2006 15:52, Davide Libenzi escreveu:
  Since Qi can only increment the time up to Qt, and Qi can only be an
  integer, I think it's impossible to do what I want, right?

 Not possible.

 - Davide

Do you think default values are the best ones?
What do you think of these -Qt 300 -Qi 2 -Qr 8 ?

Helio
-
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] Email address reverse check

2006-10-27 Thread Helio Cavichiolo Jr

I'm having problems sending messages to some servers that do reverse check 
because XMail demands email addresses enclosure with .
Is there a way to inhibit this need?
Take a look on this chat:

helo220-host1.northweb.com.br ESMTP Exim 4.52 #1 Fri, 27 Oct 2006 
18:22:29 -0200
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
 corp.cobranet.com.br
250 host1.northweb.com.br Hello corp.cobranet.com.br [200.190.197.66]
mail from: [EMAIL PROTECTED]
250 OK
rcpt to: [EMAIL PROTECTED]
550-Callback setup failed while verifying [EMAIL PROTECTED]
550-(result of an earlier callout reused).
550-The initial connection, or a HELO or MAIL FROM: command was
550-rejected. Refusing MAIL FROM: does not help fight spam, disregards
550-RFC requirements, and stops you from receiving standard bounce
550-messages. This host does not accept mail from domains whose servers
550-refuse bounces.
550 Sender verify failed
quit
221 host1.northweb.com.br closing connection
-
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: Email address reverse check

2006-10-30 Thread Helio Cavichiolo Jr

Em Sexta 27 Outubro 2006 21:04, Kirk Friggstad escreveu:
 From http://xmailserver.org/Readme.html#server_tab_variables

 [AllowNullSender]
 Enable null sender ('MAIL FROM:') messages to be accepted by XMail.

Thanks Kirk, it solved the problem.

Helio
-
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: Copying messages

2006-11-06 Thread Helio Cavichiolo Jr

Em Segunda 06 Novembro 2006 18:08, Davide Libenzi escreveu:
 Ask CIA. This outta be documented somewhere in the Patriot Act ;)
 Seriously, a mailproc.tab with a redirect+mailbox should work just fine.

Well, can I have a copy of relayed messages from a certain XMail user with 
this?
I have a maillist called [EMAIL PROTECTED] All members are supposed to be of 
support staff who can answer support messages.
Unfortunatelly support staff often forget to copy their answers back to 
[EMAIL PROTECTED], so everyone can see his/her answer, preventing double 
answers to 
customers.
I was not planning to spy my secretary messages... at least it wasn't in my 
mind some minutes ago... :-)
-
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: Copying messages

2006-11-07 Thread Helio Cavichiolo Jr

Em Segunda 06 Novembro 2006 20:12, Davide Libenzi escreveu:
 Then *every* message of a given user would be fed back to the mailing
 list. Not good.
 Just use the mailing list reply-to and ask the support dudes to do a
 reply-to-all when answering.

Why *not good* if replying to the mailing list would be the same?
How I said, support people can forget to reply to the mailing list and 
customers aren't members of that mailing list, so we're back to the main 
question: how to force XMail make a copy of messages being relayed by an 
user?

Thanks,
Helio
-
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: Copying messages

2006-11-07 Thread Helio Cavichiolo Jr

Em Terça 07 Novembro 2006 11:24, Jorn Hass escreveu:
 If you need a ticketing system, have a look at the RT system, which is
 free. URL is: http://bestpractical.com/rt.

Thank you Jorn,
I'm trying to install RT.
-
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: Copying messages

2006-11-07 Thread Helio Cavichiolo Jr

Em Terça 07 Novembro 2006 16:11, John Kielkopf escreveu:
 I have some users from the financial sector that are required to forward
 all mail sent from and received on certain email accounts to a
 regulatory service that checks their mail for regulatory compliance.
 Probably a similar situation to what your looking to do.

 If you're doing this under windows, you'll need to write a filter to
 accomplish this, else you can look at what I use below for one of our
 linux xmail servers.

 For capturing the mail going out, I set a filter in filters.out.tab for
 each user a want to capture, like:
 [EMAIL PROTECTED]*0.0.0.0/00.0.0.0/0
 regulatory_fwd.tab

 My regulatory_fwd.tab (in the filers dir) looks like:
 /mailfilters/copyin.sh@@FILE[EMAIL PROTECTED]

 My copyin.sh file looks like:
 #!/bin/sh
 #

 # Account to forward to
 fwd_addr=$2

 # XMail Root
 xmail_root= /var/MailRoot

 # Path of files
 filter_path=/mailfilters/copyin

 # Path that we'll copy temporary messages to
 test_path=$filter_path/temp

 # *
 # *

 testfile=`basename $1`
 echo -ne mail from:$fwd_addr\r\n$test_path/$testfile.fwd
 echo -ne rcpt to:$fwd_addr\r\n$test_path/$testfile.fwd
 echo -ne \r\n$test_path/$testfile.fwd.evolve
 sed -f $filter_path/removeheader.sed $1$test_path/$testfile.fwd
 mv $test_path/$testfile.fwd.evolve $xmail_root/spool/local


 My removeheader.sed looks like:
 # removeheader.sed
 # Strip out all of xmail's special headers.
 1,/^MAIL-DATA/{
   d
 }

Thank you John,
With a few changes it's working perfectly. It's really what I was looking for.
-
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] download

2006-11-10 Thread Helio Cavichiolo Jr

I think I'm going to ask something everyone here knows, but ...
Where can I find xmail pre releases to download? :-/

Thanks
Helio
-
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] REMOTEADDR in UsrAuth

2013-02-06 Thread Helio Cavichiolo Jr
Anyone can help me on how to add REMOTEADDR macro substitution in UsrAuth?

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


Re: [xmail] alias bug

2013-06-18 Thread Helio Cavichiolo Jr
To deliver messages to several accounts you should use lists. Alias is just one 
to one, as it is, an alias for an account.

On Tue Jun 18 09:33:15 2013 U.Mutlu um4...@mutluit.com wrote:
 I think I found a bug relating account aliases:
 
 Adding an alias
     aliasadd[TAB]domain[TAB]alias[TAB]accountCRLF
 
 Deleting an alias
     aliasdel[TAB]domain[TAB]aliasCRLF
 
 (BTW: I wonder why the [TAB] stuff is stated in the above syntax since
 that is a command, not a cfg file; that's at least confusing in the doc.)
 
 The aliasadd syntax indicates that one can add an alias on a per account
 basis. But trying to add the same alias to different accounts fails.
 
 Also, the aliasdel syntax lacks the corrosponding account parameter,
 isn't it?
 
 I would expect that every account be able to use his own aliases
 independent of what other accounts have used.
 But somehow there seems to be a bug, or maybe a design/api bug?
 
 Would be nice if a new version came out including these issues...
 ___
 xmail mailing list
 xmail@xmailserver.org
 http://xmailserver.org/mailman/listinfo/xmail

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