filtering mail for each virtual user

2002-05-31 Thread Michal Novotny

Hello!

Can  you  help  me  how to setup filtering mail for each user under virtual
domains ?

I have Postfix and all is under virtusertable, for ex.:
[EMAIL PROTECTED]  michal.domena.cz
[EMAIL PROTECTED]   honza.domena.cz

and in aliases is for ex.:
michal.domena.cz:  /home/virtual/domena.cz/michal
honza.domena.cz:   /home/virtual/domena.cz/honza

But what can I do when user wants to filter mail to different boxes/folders?
for ex.:
each mail from [EMAIL PROTECTED] goes to /home/virtual/domena.cz/michal.tomas

I think there can be procmail used, but how? I imagine this:
michal.domena.cz: | /usr/bin/procmail -m /home/virtual/domena.cz/michal.proc

But how about cpu and disk consumption? do you have any other ideas?

Thank you for any reply.

Regards
Michal Novotny


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Thomas Kaehn

Hi,

we try to use sbox and Apache in order to provide a chroot()ed
environment for each virtual host. Is there a small sendmail-replacement 
so that users may use /usr/lib/sendmail -t or similar without
having to configure a complete sendmail for every virtual host?
I know that some webhosters are using such replacements, but I don't
know whether these are freely available. 

Thanks in advance!

Ciao,
Thomas
-- 
Thomas Kähn  WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet  Security for ProfessionalsFax 0241/911879
  WESTEND ist CISCO Systems Partner - Authorized Reseller


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Uwe Kueke

Hi,

 we try to use sbox and Apache in order to provide a chroot()ed
what is sbox? Can't find it in the package list.

Ciao,
Uwe


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Thomas Kaehn

Hi Uwe,

On Fri, May 31, 2002 at 11:14:26AM +0200, Uwe Kueke wrote:
  we try to use sbox and Apache in order to provide a chroot()ed
 what is sbox? Can't find it in the package list.
sbox makes it possible to execute CGIs or PHP-scripts (CGI-version)
under different UIDs and in chroot()ed environments. Additionally
ulimits can be set: http://stein.cshl.org/WWW/software/sbox/

Ciao,
Thomas
-- 
Thomas Kähn  WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet  Security for ProfessionalsFax 0241/911879
  WESTEND ist CISCO Systems Partner - Authorized Reseller


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Russell Coker

On Fri, 31 May 2002 12:33, Uwe Kueke wrote:
  On Fri, May 31, 2002 at 11:14:26AM +0200, Uwe Kueke wrote:
we try to use sbox and Apache in order to provide a chroot()ed
  
   what is sbox? Can't find it in the package list.
 
  sbox makes it possible to execute CGIs or PHP-scripts (CGI-version)
  under different UIDs and in chroot()ed environments. Additionally
  ulimits can be set: http://stein.cshl.org/WWW/software/sbox/

 it seems to be design specialy for BSD. Did you get it working with Debian?
 What about jail for Debian?

I think that SE Linux is capable of doing more for Debian than Jail does for 
BSD.

-- 
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Thomas Kaehn

Hi Uwe,

On Fri, May 31, 2002 at 12:33:32PM +0200, Uwe Kueke wrote:
  sbox makes it possible to execute CGIs or PHP-scripts (CGI-version)
  under different UIDs and in chroot()ed environments. Additionally
  ulimits can be set: http://stein.cshl.org/WWW/software/sbox/
 it seems to be design specialy for BSD. Did you get it working with Debian? 
 What about jail for Debian?
Yes, it works with Debian/Linux, but I modified it a little bit so that
RLIMIT_AS can be set and no file limits are used. A BSD-jail is very
different from a chroot(), but as sbox uses chroot() it is no problem to
use it with Linux.

Ciao,
Thomas
-- 
Thomas Kähn  WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet  Security for ProfessionalsFax 0241/911879
  WESTEND ist CISCO Systems Partner - Authorized Reseller


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Woody php4/apache imap, apc leaks???

2002-05-31 Thread Aljandro Borges

Hey guysif by any chance you are using this combo under a fairly
high load setup (maybe even small server/medium # of users, or just
plain lots of users) could you confirm that it leaks bad




Alex




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: maildir with vacation

2002-05-31 Thread Thedore Knab

I am attempting to get the vacation notice working with Postfix with
virtual users on a Maildir.

I am not sure if I can use the vacation (Debian package) with virtual users. Is
anyone using it ?

Any suggestions ?

Currently all my users are stored in an LDAP database where I use both
the qmail and the courier schema like this:

dn: uid=jerky-user4,ou=mailaccounts,dc=mycoll,dc=edu
uid: jerky-user4
cn:  jerky-user4 
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
uidNumber: 99331
gidNumber: 3332
mailHost: imap.mycoll.edu
homeDirectory: /var/imap/mycoll/jerky-user4
mailMessageStore: /var/imap/mycoll/jerky-user4/Maildir
mailForwardingAddress: [EMAIL PROTECTED]
mailbox: jerky-user4/Maildir/
deliveryMode: normal
mailReplyText: I am on vacation.
objectClass: qmailuser
objectClass: couriermailaccount
creatorsName: cn=admin, dc=mycoll, dc=edu
accountStatus: active

On the file-system all the users are owned by vmail:
drwx--S---  2024 vmailvmail   40960 May 22 14:09 /var/imap/mycoll

My postconf for the IMAP server is pretty straight forward.
imap:/var/imap# postconf -n

biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
delay_warning_time = 4
local_recipient_maps = $virtual_mailbox_maps
local_transport = virtual
mail_owner = postfix
mailbox_size_limit = 2048
message_size_limit = 1028
mydestination = $myhostname, $mydomain, localhost.$mydomain
mydomain = mycoll.edu
myhostname = imap.mycoll.edu
mynetworks = 127.0.0.0/8
myorigin = $mydomain
program_directory = /usr/lib/postfix
smtpd_banner = $myhostname NO UCE ESMTP  (NO SPAM PLEASE)
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/imap/mycoll/
virtual_mailbox_maps = ldap:ldapsource
virtual_minimum_uid = 500
virtual_uid_maps = static:1001

I ran vacation -i.

I also put the following files in my users Maildir.

-rw-r--r--1 vmailvmail  43 May 31 10:09 .forward
-rw-r--r--1 vmailvmail 139 May 31 09:46 .vacation.msg


imap:/var/imap/mycoll/jerky-user4/Maildir# cat .forward 
\jerky-user4, |/usr/bin/vacation jerky-user4

imap:/var/imap/mycoll/jerky-user4/Maildir# cat .vacation.msg 
From: [EMAIL PROTECTED]
Subject: Far Away from my mail.

Hi!.

I am not on vacation, but this is a test of the vacation mail thing.

-- 
-
Looking forward to the Open-Source version of the Oxford English Dictionary ?
-
Ted Knab

-- 
-
Looking forward to the Open-Source version of the Oxford English Dictionary ?
-
Ted Knab


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




filtering mail for each virtual user

2002-05-31 Thread Michal Novotny
Hello!

Can  you  help  me  how to setup filtering mail for each user under virtual
domains ?

I have Postfix and all is under virtusertable, for ex.:
[EMAIL PROTECTED]  michal.domena.cz
[EMAIL PROTECTED]   honza.domena.cz

and in aliases is for ex.:
michal.domena.cz:  /home/virtual/domena.cz/michal
honza.domena.cz:   /home/virtual/domena.cz/honza

But what can I do when user wants to filter mail to different boxes/folders?
for ex.:
each mail from [EMAIL PROTECTED] goes to /home/virtual/domena.cz/michal.tomas

I think there can be procmail used, but how? I imagine this:
michal.domena.cz: | /usr/bin/procmail -m 
/home/virtual/domena.cz/michal.proc

But how about cpu and disk consumption? do you have any other ideas?

Thank you for any reply.

Regards
Michal Novotny


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Thomas Kaehn
Hi,

we try to use sbox and Apache in order to provide a chroot()ed
environment for each virtual host. Is there a small sendmail-replacement 
so that users may use /usr/lib/sendmail -t or similar without
having to configure a complete sendmail for every virtual host?
I know that some webhosters are using such replacements, but I don't
know whether these are freely available. 

Thanks in advance!

Ciao,
Thomas
-- 
Thomas Kähn  WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet  Security for ProfessionalsFax 0241/911879
  WESTEND ist CISCO Systems Partner - Authorized Reseller


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Uwe Kueke
Hi,

 we try to use sbox and Apache in order to provide a chroot()ed
what is sbox? Can't find it in the package list.

Ciao,
Uwe


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Thomas Kaehn
Hi Uwe,

On Fri, May 31, 2002 at 11:14:26AM +0200, Uwe Kueke wrote:
  we try to use sbox and Apache in order to provide a chroot()ed
 what is sbox? Can't find it in the package list.
sbox makes it possible to execute CGIs or PHP-scripts (CGI-version)
under different UIDs and in chroot()ed environments. Additionally
ulimits can be set: http://stein.cshl.org/WWW/software/sbox/

Ciao,
Thomas
-- 
Thomas Kähn  WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet  Security for ProfessionalsFax 0241/911879
  WESTEND ist CISCO Systems Partner - Authorized Reseller


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Uwe Kueke
Hi Tom,

 On Fri, May 31, 2002 at 11:14:26AM +0200, Uwe Kueke wrote:
   we try to use sbox and Apache in order to provide a chroot()ed
 
  what is sbox? Can't find it in the package list.

 sbox makes it possible to execute CGIs or PHP-scripts (CGI-version)
 under different UIDs and in chroot()ed environments. Additionally
 ulimits can be set: http://stein.cshl.org/WWW/software/sbox/
it seems to be design specialy for BSD. Did you get it working with Debian? 
What about jail for Debian?

Ciao,
Uwe


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Russell Coker
On Fri, 31 May 2002 12:33, Uwe Kueke wrote:
  On Fri, May 31, 2002 at 11:14:26AM +0200, Uwe Kueke wrote:
we try to use sbox and Apache in order to provide a chroot()ed
  
   what is sbox? Can't find it in the package list.
 
  sbox makes it possible to execute CGIs or PHP-scripts (CGI-version)
  under different UIDs and in chroot()ed environments. Additionally
  ulimits can be set: http://stein.cshl.org/WWW/software/sbox/

 it seems to be design specialy for BSD. Did you get it working with Debian?
 What about jail for Debian?

I think that SE Linux is capable of doing more for Debian than Jail does for 
BSD.

-- 
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Small sendmail replacement for chroot()ed webservers?

2002-05-31 Thread Thomas Kaehn
Hi Uwe,

On Fri, May 31, 2002 at 12:33:32PM +0200, Uwe Kueke wrote:
  sbox makes it possible to execute CGIs or PHP-scripts (CGI-version)
  under different UIDs and in chroot()ed environments. Additionally
  ulimits can be set: http://stein.cshl.org/WWW/software/sbox/
 it seems to be design specialy for BSD. Did you get it working with Debian? 
 What about jail for Debian?
Yes, it works with Debian/Linux, but I modified it a little bit so that
RLIMIT_AS can be set and no file limits are used. A BSD-jail is very
different from a chroot(), but as sbox uses chroot() it is no problem to
use it with Linux.

Ciao,
Thomas
-- 
Thomas Kähn  WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet  Security for ProfessionalsFax 0241/911879
  WESTEND ist CISCO Systems Partner - Authorized Reseller


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Woody php4/apache imap, apc leaks???

2002-05-31 Thread Aljandro Borges
Hey guysif by any chance you are using this combo under a fairly
high load setup (maybe even small server/medium # of users, or just
plain lots of users) could you confirm that it leaks bad




Alex




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: maildir with vacation

2002-05-31 Thread Thedore Knab
I am attempting to get the vacation notice working with Postfix with
virtual users on a Maildir.

I am not sure if I can use the vacation (Debian package) with virtual users. Is
anyone using it ?

Any suggestions ?

Currently all my users are stored in an LDAP database where I use both
the qmail and the courier schema like this:

dn: uid=jerky-user4,ou=mailaccounts,dc=mycoll,dc=edu
uid: jerky-user4
cn:  jerky-user4 
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
uidNumber: 99331
gidNumber: 3332
mailHost: imap.mycoll.edu
homeDirectory: /var/imap/mycoll/jerky-user4
mailMessageStore: /var/imap/mycoll/jerky-user4/Maildir
mailForwardingAddress: [EMAIL PROTECTED]
mailbox: jerky-user4/Maildir/
deliveryMode: normal
mailReplyText: I am on vacation.
objectClass: qmailuser
objectClass: couriermailaccount
creatorsName: cn=admin, dc=mycoll, dc=edu
accountStatus: active

On the file-system all the users are owned by vmail:
drwx--S---  2024 vmailvmail   40960 May 22 14:09 /var/imap/mycoll

My postconf for the IMAP server is pretty straight forward.
imap:/var/imap# postconf -n

biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
delay_warning_time = 4
local_recipient_maps = $virtual_mailbox_maps
local_transport = virtual
mail_owner = postfix
mailbox_size_limit = 2048
message_size_limit = 1028
mydestination = $myhostname, $mydomain, localhost.$mydomain
mydomain = mycoll.edu
myhostname = imap.mycoll.edu
mynetworks = 127.0.0.0/8
myorigin = $mydomain
program_directory = /usr/lib/postfix
smtpd_banner = $myhostname NO UCE ESMTP  (NO SPAM PLEASE)
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/imap/mycoll/
virtual_mailbox_maps = ldap:ldapsource
virtual_minimum_uid = 500
virtual_uid_maps = static:1001

I ran vacation -i.

I also put the following files in my users Maildir.

-rw-r--r--1 vmailvmail  43 May 31 10:09 .forward
-rw-r--r--1 vmailvmail 139 May 31 09:46 .vacation.msg


imap:/var/imap/mycoll/jerky-user4/Maildir# cat .forward 
\jerky-user4, |/usr/bin/vacation jerky-user4

imap:/var/imap/mycoll/jerky-user4/Maildir# cat .vacation.msg 
From: [EMAIL PROTECTED]
Subject: Far Away from my mail.

Hi!.

I am not on vacation, but this is a test of the vacation mail thing.

-- 
-
Looking forward to the Open-Source version of the Oxford English Dictionary ?
-
Ted Knab

-- 
-
Looking forward to the Open-Source version of the Oxford English Dictionary ?
-
Ted Knab


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]