[xmail] Re: OFFTOPIC Php and Xmail

2003-05-30 Thread Brandon Wittenburg

Pablo Pedernera wrote:

Hi, 
I want to know if someone have already working xmail and php, because I take sometime 
to make works, and the only I get is works php and xmail on the command line, but not 
on the web server.
Thanks
  

I use PHP's mail() function to send e-mails through XMail. You need to 
have the XMail sendmail script setup properly for this to work. And it 
does work with the web server (Apache).

Regards,

Brandon

-
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: OFFTOPIC Php and Xmail

2003-05-30 Thread Davide Libenzi

On Thu, 29 May 2003, Brandon Wittenburg wrote:

 Hi,
 I want to know if someone have already working xmail and php, because I take 
 sometime to make works, and the only I get is works php and xmail on the command 
 line, but not on the web server.
 Thanks
 
 
 I use PHP's mail() function to send e-mails through XMail. You need to
 have the XMail sendmail script setup properly for this to work. And it
 does work with the web server (Apache).

I think I heard some time ago that exist a PHP library that let you send
using SMTP. I do not remember where though.



- Davide

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



[xmail] Re: php error and xmail spool errors

2003-05-30 Thread Davide Libenzi

On Thu, 29 May 2003, Rob Arends wrote:


 Davide,  I have seen this error (missing directories) a few time in this
 list,  do you think it is worth having xmail create them if missing in the
 next build ??

Yes


- Davide

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



[xmail] Re: RV: Re: OFFTOPIC Php and Xmail

2003-05-30 Thread Lord Soth

Hi, I'm spanish too and I know xmail and php (mostly php *lol*) so...write
me to [EMAIL PROTECTED]

Ta lue ;)

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
nombre de Pablo Pedernera
Enviado el: jueves, 29 de mayo de 2003 18:53
Para: Lista Xmail
Asunto: [xmail] RV: Re: OFFTOPIC Php and Xmail



I am need some like a how to, a discussion list, some with kowledge, that
can tell me what are a doing wrong, pls excuse my OFFTOPIC and my english,
another questions is I am working in a translation of the manual to the
spanish
- Original Message -
From: Brandon Wittenburg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 7:57 AM
Subject: [xmail] Re: OFFTOPIC Php and Xmail



 Pablo Pedernera wrote:

 Hi,
 I want to know if someone have already working xmail and php, because I
take sometime to make works, and the only I get is works php and xmail on
the command line, but not on the web server.
 Thanks
 
 
 I use PHP's mail() function to send e-mails through XMail. You need to
 have the XMail sendmail script setup properly for this to work. And it
 does work with the web server (Apache).

 Regards,

 Brandon

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




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/03

-
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: OFFTOPIC Php and Xmail

2003-05-30 Thread Rolf Boxenstreit

- Original Message - 
From: Davide Libenzi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 8:44 AM
Subject: [xmail] Re: OFFTOPIC Php and Xmail



 On Thu, 29 May 2003, Brandon Wittenburg wrote:

  Hi,
  I want to know if someone have already working xmail and php, because I
take sometime to make works, and the only I get is works php and xmail on
the command line, but not on the web server.
  Thanks
  
  
  I use PHP's mail() function to send e-mails through XMail. You need to
  have the XMail sendmail script setup properly for this to work. And it
  does work with the web server (Apache).

 I think I heard some time ago that exist a PHP library that let you send
 using SMTP. I do not remember where though.



 - Davide


This one works fine.  It's actually PERL but allows for PHP to send mail via
SMTP.

http://www.elbtec.de/download/sendmail.php4

- Rolf



-
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 by user and memory

2003-05-30 Thread Vitor Renato Alves de Brito

Hi,

Assuming that I have a contentfilter script that filters all messages to
my site to block some SPAM and that filter has 2000 lines (phrases, words,
urls, etc) in its defition file. I would like to know how many memory
XMail will spend to use this filter together another filter by user?

Example: The user will have a own definition file with yours own phrases,
words, urls, e-mail address, etc, that will be executed after my default
contentfilter.

The message will pass through 2 filters: the default site filter and the
users defined filter.

I have two options to do it: 
1 - the contentfilter script will be the same but the default definition
file will be appended with the users definition file. In this case, I
will have just a line in filters.in.tab that calls contentfilter script
that read default definition file and then append it with user definition
file.
2 - the contentfilter script will be executed 2 times, one to filter the
message using the default definition file and other to filter the message
using the user definition file. In this case, I will have a line in
filters.in.tab that calls default contentfilter to my site and one to
each users that will use contentfilter to call contentfilter script using
the user definition file.

Assuming that I have a default definition file with 2000 lines, a site
with 1000 e-mail accounts, a traffic about 3000-5000 e-mails a day and
the user will be able to create a definition with N lines.

You can see some problem to do it?
Which case will spend more memory?

I think the first case is a good idea.

Até mais,

---
Vitor Renato Alves de Brito - System Manager
Arte Final Provedor Internet - http://www.artefinal.com.br
Alfenas/Lavras - Sul de Minas Gerais


-
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 by user and memory

2003-05-30 Thread Davide Libenzi

On Thu, 29 May 2003, Vitor Renato Alves de Brito wrote:

 Assuming that I have a contentfilter script that filters all messages to
 my site to block some SPAM and that filter has 2000 lines (phrases, words,
 urls, etc) in its defition file. I would like to know how many memory
 XMail will spend to use this filter together another filter by user?

 Example: The user will have a own definition file with yours own phrases,
 words, urls, e-mail address, etc, that will be executed after my default
 contentfilter.

 The message will pass through 2 filters: the default site filter and the
 users defined filter.

 I have two options to do it:
 1 - the contentfilter script will be the same but the default definition
 file will be appended with the users definition file. In this case, I
 will have just a line in filters.in.tab that calls contentfilter script
 that read default definition file and then append it with user definition
 file.
 2 - the contentfilter script will be executed 2 times, one to filter the
 message using the default definition file and other to filter the message
 using the user definition file. In this case, I will have a line in
 filters.in.tab that calls default contentfilter to my site and one to
 each users that will use contentfilter to call contentfilter script using
 the user definition file.

 Assuming that I have a default definition file with 2000 lines, a site
 with 1000 e-mail accounts, a traffic about 3000-5000 e-mails a day and
 the user will be able to create a definition with N lines.

 You can see some problem to do it?
 Which case will spend more memory?

 I think the first case is a good idea.

Definitely 1). You might also want to have some sort of client server for
filters in place to avoid to load the script interpreter each time. This
expecially if you have high load. That you actually do not have (5000 msg/day).



- 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] about non-rooting XMail

2003-05-30 Thread sergey ivanov

Hi All!
I think there is a way to start XMail chrooted without use of 
distribution-dependent tools (compartment, start-stop-daemon...)
After creating xmail group and xmail user, preparing chrooted jail, I've 
added in each *Svr.cpp into ...ThreadProc before for (;;) a line:
setgid(xmailGID); setuid(xmailUID);
and tried to start XMail by command:
# chroot /chroot/xmail /var/MailRoot/bin/XMail  -Ms /var/MailRoot
It started and seems to work! Without any tricks about privileged ports.
May be, it is worth while adding userID and groupID to work in the name 
of to server.tab?

Sergey

   
 

-
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] XMail sending to secondary mail servers

2003-05-30 Thread Wolfy
Hi,

How does XMail go about sending mail to secondary mail servers?

I have some people trying to send mail to a domain that is configured to 
receive ALL mail to the secondary server (higher mail server priority in MX 
record), and then their secondary server forwards it to their primary 
server.  Their primary mail server (lower mail server priority) resolves in 
a DNS lookup, and works some of the time.  But I think they take it off 
line at night-time, and then it does not respond to pings or anything else 
(a tracert actually enters a never-ending loop, just to complicate matters 
a little more.)

When their primary server is offline, it appears that XMail continues to 
try to send the mail to their primary server, and bounces it back without 
trying the secondary server.
Are there settings or something I should look at changing to encourage our 
mail server to attempt to send it to their secondary server if the primary 
fails?
I'm not sure if this is an XMail problem or a DNS issue.

Thanks for any help you can provide,

Scott


-
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] Simple (Default) Installation of XMAIL

2003-05-30 Thread Cemal Dalar
Hi All,

I want to install xmail but I couldn't found any good documentation about
the configuration. I read the html documentation found in the website but
it is not good.. Is there any other documentations? All I want to do is
the things below..

1. SMTP server with POP3 auth before relaying.
2. POP3 server to 3 domains without need to create unix accounts..

That it..

Is it diffucult to do this under Redhat 7.2 ?

Please help it is urgent !

Thanks.
Cemal Dalar.


-- Binary/unsupported file stripped by Ecartis --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s


-
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: Simple (Default) Installation of XMAIL

2003-05-30 Thread Cemal Dalar
-- Binary/unsupported file stripped by Ecartis --
-- Type: application/x-pkcs7-mime
-- File: smime.p7m

-
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: Simple (Default) Installation of XMAIL

2003-05-30 Thread Davide Libenzi

On Fri, 30 May 2003, Cemal Dalar wrote:

 Hi All,

   I want to install xmail but I couldn't found any good documentation about
 the configuration. I read the html documentation found in the website but
 it is not good.. Is there any other documentations?

Yes, the one that you will write, I suppose.



- Davide

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



[xmail] Re: Many threads...

2003-05-30 Thread Davide Libenzi

On Fri, 30 May 2003, Henri van riel wrote:


 Hello all,

 There are several parameters to set the amount of threads XMail starts
 for various tasks. I don't expect much traffic on my mailserver so I
 wonder what a sensible setting would be. Any advice?

If you're running XMail with more than 8MB of RAM you can leave the
default.



- Davide

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



[xmail] Re: XMail sending to secondary mail servers

2003-05-30 Thread Davide Libenzi

On Fri, 30 May 2003, Wolfy wrote:

 Hi,

 How does XMail go about sending mail to secondary mail servers?

 I have some people trying to send mail to a domain that is configured to
 receive ALL mail to the secondary server (higher mail server priority in MX
 record), and then their secondary server forwards it to their primary
 server.  Their primary mail server (lower mail server priority) resolves in
 a DNS lookup, and works some of the time.  But I think they take it off
 line at night-time, and then it does not respond to pings or anything else
 (a tracert actually enters a never-ending loop, just to complicate matters
 a little more.)

 When their primary server is offline, it appears that XMail continues to
 try to send the mail to their primary server, and bounces it back without
 trying the secondary server.
 Are there settings or something I should look at changing to encourage our
 mail server to attempt to send it to their secondary server if the primary
 fails?
 I'm not sure if this is an XMail problem or a DNS issue.

It's hard to believe. The only way that XMail bounces on the first MX is
because it receives a 5xx response.


- Davide


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



[xmail] Re: Simple (Default) Installation of XMAIL

2003-05-30 Thread Snke Ruempler

 1. SMTP server with POP3 auth before relaying.
 2. POP3 server to 3 domains without need to create unix accounts..

1. empty smtprelay.tab
2. setup the ctrlaccounts.tab (-manual)
3. add your domains and accounts with CTRL protocol (CtrlClnt or a web
interface) -manual
4. setup clients and enjoy.

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