Re: Anybody Running OpenWebMail ?

2004-01-15 Thread Ralf G. R. Bergs
Grzegorz Marsza?ek³ek schrieb:
We use it with a lot of success. It servers for web interface to mail
for around 2000 customers - we are quite happy with.
Then you might be able to answer me a question -- is it possible to use 
OpenWebmail with different "mail" users?

Let me elaborate: Usually you have only ONE real mail account ("mail" or 
"exim") that handles mail for all your virtual domains. But I have a 
setup where I have about a dozen "real" (system users.) Delivery of 
e-mail to one of the virtual domains a respective users owns is being 
performed using the uid of that user, to a directory under the home 
directory of said user.

So I have this scenario:
   _ virtdom1.1
  /
sysuser1-*-- virtdom1.2
.
.
  \_ virtdom1.n1

   _ virtdom2.1
  /
sysuser2-*-- virtdom2.2
.
.
  \_ virtdom2.n2
...
   _ virtdomN.1
  /
sysuserN-*-- virtdomN.2
.
.
  \_ virtdomN.nN
Can this scenario be handled with OpenWebmail? If so, how would I have 
to configure OW to handle this?

Thanks,
Ralf



Re: Anybody Running OpenWebMail ?

2004-01-15 Thread Ralf G. R. Bergs
Grzegorz Marsza?ek³ek schrieb:
We use it with a lot of success. It servers for web interface to mail
for around 2000 customers - we are quite happy with.
Then you might be able to answer me a question -- is it possible to use 
OpenWebmail with different "mail" users?

Let me elaborate: Usually you have only ONE real mail account ("mail" or 
"exim") that handles mail for all your virtual domains. But I have a 
setup where I have about a dozen "real" (system users.) Delivery of 
e-mail to one of the virtual domains a respective users owns is being 
performed using the uid of that user, to a directory under the home 
directory of said user.

So I have this scenario:

   _ virtdom1.1
  /
sysuser1-*-- virtdom1.2
.
.
  \_ virtdom1.n1


   _ virtdom2.1
  /
sysuser2-*-- virtdom2.2
.
.
  \_ virtdom2.n2
...

   _ virtdomN.1
  /
sysuserN-*-- virtdomN.2
.
.
  \_ virtdomN.nN
Can this scenario be handled with OpenWebmail? If so, how would I have 
to configure OW to handle this?

Thanks,

Ralf

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


Re: named + virtual domains

2003-10-03 Thread Ralf G. R. Bergs
Rod Rodolico wrote:

Does anyone know the correct way to set up virtual domains (all pointing to one IP). I 
simply
create A records for them, but nslint complains because my reverse DNS points back to 
one
domain. It doesn't seem right to put multiple PTR records for the same IP. Is it just 
nslint
telling me I'm doing something non-standard? Seems to work . . .
What you're doing is perfectly ok. You MUST NOT have multiple PTR 
records for the same IP. This is an error.



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


Re: named: everything working except

2003-10-03 Thread Ralf G. R. Bergs
Travis Loyd wrote:

I have figured out how to host a domain such as foo.net.

I can make these work:
  mail.foo.net
  www.foo.net
  etc...
But I haven't figured out how to make 'foo.net' work... instead a user
will have to type in the 'www.' or it won't work.
@ A  1.2.3.4



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


Re: Server hacked - next...?

2003-06-30 Thread Ralf G. R. Bergs
On Sun, 29 Jun 2003 13:00:57 +0800, Jason Lim wrote:

>Is there a document somewhere, or procedure, to recover after this?

It's as simple as reinstalling. There's no other way, you can't get around 
this...


-- 
   L I N U X   .~.
  The  Choice  /V\
   of a  GNU  /( )\
  Generation  ^^-^^





Re: Server hacked - next...?

2003-06-30 Thread Ralf G. R. Bergs
On Sun, 29 Jun 2003 13:00:57 +0800, Jason Lim wrote:

>Is there a document somewhere, or procedure, to recover after this?

It's as simple as reinstalling. There's no other way, you can't get around 
this...


-- 
   L I N U X   .~.
  The  Choice  /V\
   of a  GNU  /( )\
  Generation  ^^-^^



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



Re: How were the apache debs compiled ?

2003-04-16 Thread Ralf G. R. Bergs
On Wed, 16 Apr 2003 17:36:11 +0200, Maarten van der Hoef wrote:

>I wonder how the apache of apache..deb & apache-common..deb (woody) was 
compiled,
>the ./configure line ... etc. 

Get yourself the packages' source code from the Debian packages page (original 
tar.gz package plus Debian-specific diffs.) Then have a look at ./debian/rules. 
This script is executed when you rebuild the packages using dpkg-buildpackage.


-- 
   L I N U X   .~.
  The  Choice  /V\
   of a  GNU  /( )\
  Generation  ^^-^^





Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?

2003-04-07 Thread Ralf G. R. Bergs
On Sun, 06 Apr 2003 22:04:32 +0200, Markus Welsch wrote:

>> Well, performance is not a problem for me. As I already mentioned I'm just 
>> hosting a dozen of domains with only a couple of (low-use) mailboxes 
>> altogether.
>
>Well that really doesn't make a difference, but nevermind !

Well, I think it does. Solutions that are perfect for my needs are probably 
just inacceptable for "real" ISPs (because of the lack of performance, 
comfort, billing facilities, etc.)

>> Sure, but I like the option of quickly having a glance at them using 
"Mutt," 
>> in case something goes wrong etc. This way I can ssh in and remove 
offending 
>> mails, instead having to telnet to 110 and DELE it.
>
>Well you could also set up webmail if you don't like to telnet.

That's right. I will be doing that, in fact, using OpenWebMail (which seems to 
run great UNLESS the home directories are on NFS, which won't be the case for 
me.)

>What do you count to "offending mails" ?

Well, HUGE messages which users can't (or don't want to) download, and which I 
can easily delete using Mutt on the mbox file.

>> What exactly does the above do? I'm sorry but I don't quite get your point.
>
>Well I thought you meant just for some hosts e. g. the mailserver host 
>you would like to have local deliverage and for all others you would 
>like to use cyrus.

Call me stupid but I still don't quite get you. Maybe you would like to 
explain me your point off-list?

>I don't think not using mbox and rather using a better way is not a 
>mistake. And I wouldn't also limit the decision of which 

You're absolutely right, but as I said (because I'm quite familiar with Exim) 
I would like to stick with it unless there are serious (or even compelling) 
reasons to move away fromit. And "better performance" isn't a reason for me 
since the server will be 99% idle all the time.

>POP3/IMAP-server to use just because a MUA can't handle the format of 
>the server ...

Again you're absolutely right, and now that you have reminded me of webmail 
this point is no longer an issue for me.

>> This option I will only consider if there is NO OTHER WAY. I've once 
started 
>> to do that and I have very soon regretted that I did so, so I don't want to 
>> repeat that mistake again.
>
>Those are just php scripts and a sql database creation script. You do 
>not need to compile anything, etc. All it checks for is if you have 
>webserver, php, etc installed.

Ok, in that case I might use it if I don't find a better "environment" for my 
needs.

Thanks,

Ralf


-- 
   L I N U X   .~.
  The  Choice  /V\
   of a  GNU  /( )\
  Generation  ^^-^^





Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?

2003-04-07 Thread Ralf G. R. Bergs
On Mon, 07 Apr 2003 10:13:43 +1000 (EST), Brad Lay wrote:

[...]
>I've just setup this exact same thing on my mail server. You don't need
>any debian packages for everything. Heres my configs.

Thanks for sharing this with us. As I already pointed out I would really like 
a solution that can be realized without not-yet-Debianized software (even it's 
unofficial packages that I have to use.)

[...]
>   server_condition = "${if eq{${md5:$3}}{${substr_5:${lookup mysql{select 
password_hash from popbox where local_part='${local_part:$2}' and 
domain_name='${domain:$2}'}{$value{1}{0}}"

But how can I *easily* enter new users into MySQL? I'm not exactly a MySQL 
expert... Is there a web interface for these kind of jobs? Maybe as part of 
"vmail-sql?"

>Hope this helped. If you need more help shoot me an email offlist.

Well, I'm currently only collecting infos. I've still to rent my server (I'm 
already running a private one since 5 years or so, but this time I'm providing 
the service for "customers" (read: friends) in a somewhat larger scale (but 
still it's small-scale for "real" ISPs ;-)

>[1] Debian's exim needs to be recompiled to use mysql (I can give you a
>url to the one I created).

That's no problem for me. I published an Exim4 package I created myself LONG 
before there were even experimental official ones. But thanks for your offer, 
and thanks for taking the time of writing this all up.


-- 
   L I N U X   .~.
  The  Choice  /V\
   of a  GNU  /( )\
  Generation  ^^-^^





Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?

2003-04-07 Thread Ralf G. R. Bergs
On Mon, 07 Apr 2003 12:12:46 +1000, Donovan Baarda wrote:

[...]
>> I don't want to move away from Exim unless there are serious (or even 
>> compelling) reasons to do so.
>
>This has to rate as a FAQ. Time to start documenting it in the wiki;
>
>http://wiki.debian.net/EmailConfiguration
>
>Includes documentation on configuring Debian for Maildir using procmail
>with exim or postfix.

Thank you for taking the time to provide this.

Now that I've had a look at this I still don't see strong reasons NOT to use 
Exim any longer. I do see reasons to migrate to "maildir"-style mailboxes which 
I might do (altho as I mentioned performance probably won't EVER be an issue at 
all since the server will be running more or less "idle.")


-- 
   L I N U X   .~.
  The  Choice  /V\
   of a  GNU  /( )\
  Generation  ^^-^^





Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?

2003-04-06 Thread Ralf G. R. Bergs
On Sun, 06 Apr 2003 19:14:03 +0200, Markus Welsch wrote:

>> I don't want to move away from Exim unless there are serious (or even 
>> compelling) reasons to do so.
>
>Okay everybody should know which MTA to use and why. I moved a way from 
>Exim right after a performance comparison with Postfix, etc :-)

Well, performance is not a problem for me. As I already mentioned I'm just 
hosting a dozen of domains with only a couple of (low-use) mailboxes 
altogether.

>> I read that Cyrus doesn't use mailbox files. This is a "con," IMHO, because 
>> that way I can't easily browse mail using "mutt" (or can I?!)
>
>Well you can use POP3/IMAP to connect to your mailbox :-) And anyways I 

Sure, but I like the option of quickly having a glance at them using "Mutt," 
in case something goes wrong etc. This way I can ssh in and remove offending 
mails, instead having to telnet to 110 and DELE it.

>don't know how Exim handles that but with Postfix you have transport 
>maps like you could say,
>
>   mail.server.tld local:
>
>To avoid the usage of Cyrus for mail.server.tld :-)

What exactly does the above do? I'm sorry but I don't quite get your point.

>> There doesn't seem to be a Debian package available?!
>
>I think there is but not at packages.debian.org. As a hint: Don't rely 
>on that Debian package - it looks a bit faulty. I did a manual install 
>which worked fine ...

This option I will only consider if there is NO OTHER WAY. I've once started 
to do that and I have very soon regretted that I did so, so I don't want to 
repeat that mistake again.

>How do you do your system monitoring BTW?

"mon" and "logcheck" is what I use to monitor my stuff. It pretty much does 
what I want.

Ralf


-- 
   L I N U X   .~.
  The  Choice  /V\
   of a  GNU  /( )\
  Generation  ^^-^^





Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?

2003-04-06 Thread Ralf G. R. Bergs
On Sun, 06 Apr 2003 20:34:30 +0200, Marcin Sochacki wrote:

[...]
>http://www.ex-parrot.com/~chris/vmail-sql/

Upon first look this looks nice -- but there's no Debian package available 
(AFAIC gather), and it needs tpop3d which also isn't Debianized yet. :-(

Anyway, I've added the above to my bookmarks and will keep that package in mind.

Thanks,

Ralf


-- 
   L I N U X   .~.
  The  Choice  /V\
   of a  GNU  /( )\
  Generation  ^^-^^





Re: How to handle mail for multiple (10-15) domains w/o localpart conflicts?

2003-04-06 Thread Ralf G. R. Bergs
On Sun, 06 Apr 2003 17:55:04 +0200, Markus Welsch wrote:

[...]
>Do you need to use Exim ? Or could you switch to Postfix also ? Postfix 

I don't want to move away from Exim unless there are serious (or even 
compelling) reasons to do so.

>has a very powerful virtual user configuration - virtual_maps. Maybe you 
>should take a look at that one if it's the solution you want.

I've had a look at the Exim config -- this sort of virtual domains seems 
relatively easy with Exim, too. You create a file for every domain you handle 
that contains the list of valid localparts. Exim then delivers incoming mail 
into mailbox files under a directory /var/mail/As POP3/IMAP server I suggest Cyrus. Postfix 2 can communicate with 
>Cyrus using LMTP!

I read that Cyrus doesn't use mailbox files. This is a "con," IMHO, because 
that way I can't easily browse mail using "mutt" (or can I?!)

>About creating mailboxes on the web you maybe want to take a look at 
>Web-Cyradm!

There doesn't seem to be a Debian package available?!

>Hope this helps :-)

At least it's a good start to look at. :-)

Thanks so far,

Ralf


-- 
   L I N U X   .~.
  The  Choice  /V\
   of a  GNU  /( )\
  Generation  ^^-^^





How to handle mail for multiple (10-15) domains w/o localpart conflicts?

2003-04-06 Thread Ralf G. R. Bergs
Hi there,

is there a package, HOWTO, or FAQ that aids in or describes how to setup your 
Debian box (with Exim as the MTA) to handle mail for multiple (some 10-15) 
domains without conflicts in the local part of incoming mail? Maybe even let 
them add/delete/configure mailboxes using a web interface?

Considering that people also need to fetch their mail using POP/IMAP I guess I 
need a full-blown virtual user solution (since I don't need (want?) my users to 
have system accounts on the box.)

Suggestions, hints, pointers anyone?

Thanks,

Ralf


-- 
   L I N U X   .~.
  The  Choice  /V\
   of a  GNU  /( )\
  Generation  ^^-^^





Re: PPP dial-up server w/ multiple eth adapters: "operation not permitted"

2000-05-23 Thread Ralf G. R. Bergs
On Tue, 23 May 2000 09:12:04 -0200 (GMT+2), Kasparavicius Andrius wrote:

[...]
>> I use mgetty which properly transfers the call to pppd. The clients
>> gets its 
>> correct IP address, but it can't ping the p-t-p address, nor can I ping
>> the 
>> client from the server. If I try to do so I get a "operation not
>> permitted."
>
> I think u need to check ipchains permissions. See ppp.up ppp.down..

I guess you mean ip-up (ip-up.d/*) resp. ip-down (ip-down.d/*)?

Thanks for suggesting this, but I don't think this is the reason.

There aren't any rules that pertain to ppp0. Also, the client machine that 
dials in gets an IP address from out of the LAN. The LAN machines have 
unrestricted access to each other and thru the internal interfaces of the 
router.


-- 
Sign the EU petition against SPAM:  L I N U X   .~.
http://www.politik-digital.de/spam/The  Choice  /V\
of a  GNU  /( )\
   Generation  ^^-^^





RE: Exim Subject rejection, (* **** ***)

2000-05-04 Thread Ralf G. R. Bergs
On Thu, 04 May 2000 15:24:35 -0400 (EDT), Paul Kallstrom wrote:

>It looks like the only system filtering that is
>functional under exim, is sender based.
>
>Since I need to filter by subject, it looks like it's back to sendmail.

WRONG!!

= exim.conf ==

message_filter = /etc/exim.filter


= exim.filter =

# Exim filter

if ($h_subject: is "ILOVEYOU" or $h_subject: is "I LOVE YOU") and not 
error_mess
age
then fail text "This message looks like a virus."
endif

=== 8x 0

No need to use crappy Sendmail for this simple stuff.


-- 
Sign the EU petition against SPAM:  L I N U X   .~.
http://www.politik-digital.de/spam/The  Choice  /V\
of a  GNU  /( )\
   Generation  ^^-^^