[xmail] Re: Davide GLST best timeo to use ?

2005-04-25 Thread Davide Libenzi
On Mon, 25 Apr 2005, CLEMENT Francis wrote:

 Hello Davide and list
 
 I'm trying Davide glst solution.
 
 My question is about the 'timeo' value :
 
 What is the 'best' or recommended value ?
 
 Any idea ?

I use 30 minutes IIRC.



- 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] 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] R: mysql base

2005-04-25 Thread Dario
Userauth works only for pop3 at the moment.

Dario

-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] =
Per
conto di Helio Cavichiolo Jr
Inviato: marted=EC 26 aprile 2005 1.09
A: xmail@xmailserver.org
Oggetto: [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]



[xmail] Re: mysql base

2005-04-25 Thread Rob Arends
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= 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]
 
 

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