Re: [vchkpw] Missing .qmail-alias files?

2004-06-24 Thread Tom Collins
On Jun 21, 2004, at 2:49 PM, Charles M. Gerungan wrote:
On one server I have domain/.qmail-alias files and on another I only
have the .qmail-default file. What did I do differently? The reason I'm
asking is, on the server with the .qmail-alias files I have modified 
the
files to allow for maildrop and I'd like to do the same on the other
server.
If you're using MySQL and enable the 'valias' feature, aliases will be 
stored in the MySQL database.

You'll need to use QmailAdmin 1.2.1 or later to properly access those 
aliases by the way.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] ack, major problem! numbered subdir incremented too high

2004-06-24 Thread Bill Wichers
> At 12:31 PM 6/23/2004, Jeremy Kitchen wrote:
[snip]
>>phpmyadmin (http://phpmyadmin.sf.net) makes working with mysql very easy
>> :)
>
> that it does, but it can also lower your effective security, by creating
> Yet Another Thing To Crack.
>

chmod -R ugo-rwx phpmyadmin/

safety first! ;-) I keep it in a directory that is inside a management
script tree and is secured with Apache's basic username/password auth too.

phpmyadmin is a *great* tool for basic db stuff and editing the occasional
field. Much easier than doing the queries by hand.

 -Bill


*
Waveform Technology
UNIX Systems Administrator




Re: [vchkpw] incoming/outgoing smtp servers

2004-06-24 Thread Bill Wichers
> Currently the smtp server that our clients use to send emails is the same
> smtp server that is used by the "world" sending emails to our clients.
>
> Often we find that emails coming from the "world" being delivered to our
> clients cause high load 40+ and then clients have problems sending
> outgoing email. We are considering changing the MX record so that emails
> being delivered to our clients will use a different smtp server ie
> incomingsmtp.theirdomain.com and clients would use mail.theirdomain.com to
> send emails.

It's pretty easy to setup seperate incoming and outgoing SMTP servers.
I've been thinking a lot about this lately due to increasing spam and
virus load as well as lots of new users being added to our system in
recent months. The best setup I came up with (that we are currently in the
process of deploying), uses a central mailbox depository server (that is
also handling POP3 and IMAP that does no email scanning, several machines
that handled only incoming SMTP (and do all the virus and spam filtering),
and one or two outbound SMTP boxes will soon be added.

The mailbox server has a big RAID and a lot of RAM, and a fair amount of
CPU power to handled the IMAP processing overhead. Eventually it will do
zero tasks besides that. It is built for big, reliable storage first, then
attention to handling lots and lots of relatively small processes
(hundreds of POP and IMAP connects).

The incoming SMTP boxes are built with smallish (relatively) amounts of
disk, lots of CPU and RAM. They handle all the virus filtering and spam
stuff, and generally eat a lot of CPU time. Disk isn't a big concern with
these since they basically just accept an inbound message, scan/filter it,
and then pass the processed mail on to the central mailbox repository for
storage. Their disks mainly are just queue and logs.

The outbound SMTP boxes haven't been built yet, but will be essentially
the same as the inbound SMTP boxes. All the SMTP boxes are load balenced
with simple DNS round robin which seems to work fairly well. Everything
user-wise and the spam preferences are handled by SQL which makes it easy
to split the load up by task.

> We use a total of 8 qmail servers, one for the storage of the email boxes
> and the mysql DBs. One for a backup of this server and select queries for
> the DBs. The other 6 qmail servers are used for pop3/imap/webmail/smtp.
>
> I was thinking we would use 2 servers for pop3/imap/webmail (load
> balanced), 2 for incoming SMTP & Spam filtering, 2 for outgoing SMTP.

Your setup sounds similar to what we are working on. We use dedicated
webmail servers though since we have found that to be a very CPU intensive
task and the users can tell when the webmail servers get loaded. You may
want to consider using QMTP for inter-server mail transfers within your
system though since it has some advantages in terms of speed and overhead,
and when you have control of the sending AND the receiving mail server you
can make it work.

 -Bill


*
Waveform Technology
UNIX Systems Administrator




[vchkpw] incoming/outgoing smtp servers

2004-06-24 Thread techs
Currently the smtp server that our clients use to send emails is the same
smtp server that is used by the "world" sending emails to our clients.

Often we find that emails coming from the "world" being delivered to our
clients cause high load 40+ and then clients have problems sending
outgoing email. We are considering changing the MX record so that emails
being delivered to our clients will use a different smtp server ie
incomingsmtp.theirdomain.com and clients would use mail.theirdomain.com to
send emails.

We use a total of 8 qmail servers, one for the storage of the email boxes
and the mysql DBs. One for a backup of this server and select queries for
the DBs. The other 6 qmail servers are used for pop3/imap/webmail/smtp.

I was thinking we would use 2 servers for pop3/imap/webmail (load
balanced), 2 for incoming SMTP & Spam filtering, 2 for outgoing SMTP.

I would appreciate some feedback about this.

Thanks,
Brian




Re: [vchkpw] qmail & mysql

2004-06-24 Thread Jeremy Kitchen
On Thursday 24 June 2004 05:08 pm, [EMAIL PROTECTED] wrote:
> We run eight qmail servers with one main server that stores the client data
> and acts as the main mysql server. We have a backup server to the main
> server that replicates the mysql DBs. The six additional qmail servers
> connect to these servers as the mysql server. The primary mysql server
> performs all queries that make changes to the DBs and the backup server
> executes all select queries. I am wondering if we are better off
> replicating the mysql DBs to each qmail server (six of them) and performing
> the sql select queries locally rather than over the network.

it's a little more headache to administer the mysql stuff, but definitely a 
better setup.  I've done this with several customers and it works fine.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



[vchkpw] qmail & mysql

2004-06-24 Thread techs
We run eight qmail servers with one main server that stores the client data
and acts as the main mysql server. We have a backup server to the main
server that replicates the mysql DBs. The six additional qmail servers
connect to these servers as the mysql server. The primary mysql server
performs all queries that make changes to the DBs and the backup server
executes all select queries. I am wondering if we are better off replicating
the mysql DBs to each qmail server (six of them) and performing the sql
select queries locally rather than over the network.

We are in the process of upgrading all our qmail servers to Intel gigabit
network cards.

Thanks in advance for your help.

Thanks
Brian








Re: [vchkpw] Archive all emails

2004-06-24 Thread Raúl Galicia
El 24/06/2004 18:38 Bill Gradwohl dijo:
Is there a known technique for archiving per virtual domain? 
You can do that with qmail-monitor.
http://sourceforge.net/projects/qmail-monitor/
Regards,
Raúl Galicia (tcc/aka sahsanu)


RE: [vchkpw] Archive all emails

2004-06-24 Thread Bill Gradwohl
Nick:

Thanks for the suggestion, but I need a copy of all mails - in and out. 
Solutions involving .qmail will only capture inbound messages.

--
Bill Gradwohl
YCC
(817) 224-9400 x211
www.ycc.com
 



Re: [vchkpw] Archive all emails

2004-06-24 Thread Jeremy Kitchen
On Thursday 24 June 2004 12:47 pm, Nick Harring wrote:
> This is pretty easy with vpopmail. For all inbound messages to be
> archived simply add the user you want them sent to to the .qmail-default
>
> file for each domain. It should end up looking like:
> |/var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
> [EMAIL PROTECTED]

you have to be very careful here.  that forward to [EMAIL PROTECTED] might be 
handled by that exact same .qmail file, which means that you'll end up 
looping the mails.  This is one time where using a full Maildir path is a 
better idea.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] Archive all emails

2004-06-24 Thread Nick Harring
Title: Re: [vchkpw] Archive all emails





This is pretty easy with vpopmail. For all inbound messages to be
archived simply add the user you want them sent to to the .qmail-default
file for each domain. It should end up looking like:
|/var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
[EMAIL PROTECTED]
Hope that helps,
Nick Harring
Webley Systems
On Thu, 2004-06-24 at 11:38, Bill Gradwohl wrote:
> I've checked the archives, but searching on "archive" or "log" is
> fruitless.
> 
> Generic qmail offers a way to archive all emails to a specific user
> via a
> fix to the extra.h file prior to compiling. For years, I've patched it
> to
> route mail to user "qmaillog" and its worked well.
> 
> Every time I try to implement this along with vpopmail, I get hundreds
> of
> vdelivermail processes launched and nothing ends up in
> domains/whatever.com/qmaillog's Maildir. When I recompile qmail with a
> default extra.h everything works as expected, but there's no
> archiving.
> 
> What I'm really after is an archive per virtual domain, not an archive
> for
> qmail as a whole. At this point however, since I can't get any form of
> archiving to work, I'd implement whatever I can get to function.
> 
> Is there a known technique for archiving per virtual domain? 
> Any help would be appreciated. Thank You.
> 
> -- 
> Bill Gradwohl
> YCC
> (817) 224-9400 x211
> www.ycc.com 


-==-
Nicholas Harring
System Administrator
Webley Systems
Ph/Fax/VM#877-609-4795
Email: [EMAIL PROTECTED]





[vchkpw] Archive all emails

2004-06-24 Thread Bill Gradwohl
I've checked the archives, but searching on "archive" or "log" is fruitless.

Generic qmail offers a way to archive all emails to a specific user via a
fix to the extra.h file prior to compiling. For years, I've patched it to
route mail to user "qmaillog" and its worked well.

Every time I try to implement this along with vpopmail, I get hundreds of
vdelivermail processes launched and nothing ends up in
domains/whatever.com/qmaillog's Maildir. When I recompile qmail with a
default extra.h everything works as expected, but there's no archiving.

What I'm really after is an archive per virtual domain, not an archive for
qmail as a whole. At this point however, since I can't get any form of
archiving to work, I'd implement whatever I can get to function.

Is there a known technique for archiving per virtual domain? 
Any help would be appreciated. Thank You.

-- 
Bill Gradwohl
YCC
(817) 224-9400 x211
www.ycc.com 




[vchkpw] RV: limit external relay and service smtp

2004-06-24 Thread José Antonio García



Hi,


 
I have vpopmail 5.4.4 with qmail1.03 and I cannot limit external_relay and service of smtp but limit imap, pop3, bounces 
 yes. Can  help me anything, 
please?
 
I use vmoduser -r -s [EMAIL PROTECTED] 
 
is necesary some 
patch?
 
My S.O is redhat9
 
Thanks