Re: [vchkpw] Query!

2002-10-15 Thread David Phillips

nilesh kothari writes:
> i am not able to access mail via outlookexpress, netscape.
>
> i tried both [EMAIL PROTECTED], user%domain.com in user field of
> outlook.

Are you using POP3 or IMAP?  What error message are you getting?  What
happens when you directly connect to the POP3 port and try to authenticate
manually?

Did you properly configure the POP3 service to use the vchkpw program?  You
need to pass that as the argument to qmail-popup instead of checkpassword.

--
David Phillips <[EMAIL PROTECTED]>
http://david.acz.org/





[vchkpw] Query!

2002-10-15 Thread nilesh kothari


dear Sir,

i am not able to access mail via outlookexpress, netscape.

i tried both [EMAIL PROTECTED], user%domain.com in user field of
outlook.

i am abel to access mail via sqwebmail.

i read FAQ & Install file both. but problem is still occuring.


  Thanking you
  regards
  Nilesh Kothari












RE: [vchkpw] Vpopbull problem

2002-10-15 Thread Michael Bowe

There were a lot of bug fixes made to the vpopbull program in the devel
version 5.3.6
This was also "backported" to the stable version 5.2.1
You can read more about this at
http://www.inter7.com/vpopmail/ChangeLog
So it is my recommendation that you try either the latest "devel" version
5.3.8 or use the latest "stable" version 5.2.1
Hope that helps!
Michael.

> -Original Message-
> From: Brendan McAlpine [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 16 October 2002 8:46 AM
> To: Michael Bowe
> Subject: Re: [vchkpw] Vpopbull problem
>
>
> I think its 5.3.5.
>
> Is there anyway I can troubleshoot this without sending out test
> messages to all my mailboxes?
>
> I would prefer to work behind the scenes until it is fixed so that my
> users don't get 25 copies of the same test message.
>
> Brendan
> On Tuesday, October 15, 2002, at 05:51 PM, Michael Bowe wrote:
>
> > What version of vpopmail do you have installed?
> > Michael.
> >
> > - Original Message -
> > From: "Brendan McAlpine" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, October 16, 2002 1:40 AM
> > Subject: [vchkpw] Vpopbull problem
> >
> >
> >> Hey all,
> >>
> >> I am having a problem using vpopbull on my server.
> Basically, vpopbull
> >> starts firing off emails to everyone of the users in my
> domain, but
> >> then
> >> after a couple hundred it just stops.  There are about
> 6000 mailboxes
> >> within this domain.
> >>
> >> I'm not sure even where to start looking.
> >>
> >> TIA
> >>
> >>
> >> Brendan
> >>
> >>
> >>
> >
> >
> >
>
>





Re: [vchkpw] Vpopbull problem

2002-10-15 Thread Michael Bowe

What version of vpopmail do you have installed?
Michael.

- Original Message - 
From: "Brendan McAlpine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 1:40 AM
Subject: [vchkpw] Vpopbull problem


> Hey all,
> 
> I am having a problem using vpopbull on my server.  Basically, vpopbull 
> starts firing off emails to everyone of the users in my domain, but then 
> after a couple hundred it just stops.  There are about 6000 mailboxes 
> within this domain.
> 
> I'm not sure even where to start looking.
> 
> TIA
> 
> 
> Brendan
> 
> 
> 





[vchkpw] no HOST environment varilable

2002-10-15 Thread Jose Morales

Hi list...
I have...
qmail + vpopmail 5.3.8 8 (include seekable ) +
maildrop 1.4.0

in the .qmail-default file i have...
| /usr/local/bin/maildrop

when I send email to non-existen or existen user I got
the error in the subject:
vdelivermail: no HOST environment varilable.
The question is why I get that message, if I use in
the .qmail-default
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
I have not problem...
any idea???

Help is welcome!!!

JM:.


below is the maildroprc script

<---
# --- Script Begin ---
import HOME
import EXT
import HOST

VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
if ( $VHOME == /"no such user ${EXT}@${HOST}"/)
  {
   to "| /home/vpopmail/bin/vdelivermail ''
bounce-no-mailbox"
   #to "| `/home/vpopmail/bin/vdelivermail ''
bounce-no-mailbox`"
   exit
  }
#else
#{
if ( $SIZE < 262144 )
{
xfilter "/usr/bin/spamc -f -u $EXT@$HOST"
if (/^X-Spam-Flag: *YES/)
{
`test -d $VHOME/Maildir/.JunkMail`
if( $RETURNCODE != 1 )
{
to $VHOME/Maildir/.JunkMail
   exit
}
else
{
to $VHOME/Maildir
exit
}
}
else
{
to $VHOME/Maildir
exit
}
}
else
{
to $VHOME/Maildir
exit
}
#} # End first else
# --- Script End ---:1


  --->


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com




Re: [vchkpw] Bug (feature) in MySQL select

2002-10-15 Thread Ken Jones

I'm pretty sure that all the vpopmail functions validate 
user names as well as domain names.

Please see the two functions:
is_domain_valid ( char *domainname )
is_username_valid( char *username)

The both return error codes if not valid.
[root@newdevel bin]# ./vadduser "kbo @ken.com" test
user invalid kbo
Error: Illegal username

In pop conversations:
telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user postmaster  NOTE: extra space at the end of postmaster
+OK
pass foober
user invalid postmaster
-ERR authorization failed

When you say you received a mesage for with a space after
the user name. Could you be more specific in how it was 
received and all the programs that handled the email?

Ken Jones


On Tuesday 15 October 2002 03:29 pm, tonix (Antonio Nati) wrote:
> I've received a message for "user @mydomain.it", and vpopmail routine
> validating addresses has let this wrong address pass.
>
> I've found that when you make a
>  SELECT * FROM VPOPMAIL WHERE pw_name = "user "
> it's exactly like
>  SELECT * FROM VPOPMAIL WHERE pw_name = "user
>
> This is a MySQL feature.
>
> All select should be modified to use "like binary" instead of "=" in their
> string comparison.
>  I.e.
>  SELECT * FROM VPOPMAIL WHERE pw_name LIKE BINARY "user "
>  does return 0 lines.
>
> Tonino
>
>
>
> 
>  Inter@zioniInterazioni di Antonio Nati
> http://www.interazioni.it  [EMAIL PROTECTED]
> 





Re: [vchkpw] domain based quota setting?

2002-10-15 Thread Ken Jones

On Tuesday 15 October 2002 01:07 pm, Neo Wee Teck wrote:
> Is there anyway to set a fixed quota for a domain?
> Eg.
>
> Domain xxx.com > 200MB
>
> Users can be added and a total storage space for the domain is 200MB.
>
> Any idea? Please advise :)

The most efficent way we've found to do domain based quota's is
to use file system quotas per user. Then place the domain under
a users home directory vadduser -u"username" "domainname".

Ken Jones





Re: [vchkpw] Vpopbull problem

2002-10-15 Thread Ken Jones

Hmm.. I wonder if it's not closing file descriptors.

On Tuesday 15 October 2002 10:40 am, Brendan McAlpine wrote:
> Hey all,
>
> I am having a problem using vpopbull on my server.  Basically, vpopbull
> starts firing off emails to everyone of the users in my domain, but then
> after a couple hundred it just stops.  There are about 6000 mailboxes
> within this domain.
>
> I'm not sure even where to start looking.
>
> TIA
>
>
> Brendan





Re: [vchkpw] Problems with forwarding from .qmail using maildrop

2002-10-15 Thread Ken Jones

Handling error code returns from "exec'd" scripts in vdelivermail
has been added (two folks sent in patches including Dzuy).
It will be released later this week after more testing.

Ken Jones

On Tuesday 15 October 2002 02:36 pm, Dzuy Nguyen wrote:
> There is a bug in vdelivermail.c which was discussed in earlier threads.
>  I suggested a fix for 5.3.7 but
> am not sure if it made it into the latest version.  You can search on
> past threads for details.
>
> [EMAIL PROTECTED] wrote:
> >Hello All,
> >
> >I have:
> >
> >vpopmail-5.2.1
> >qmail-1.03
> >maildrop-1.4.0
> >qmailadmin-1.0.6
> >
> >among other things running on RH 7.3
> >
> >I have the .qmail-default file for each of my virtual domains read like 
this:
> >| preline maildrop /home/vpopmail/mailfilter
> >
> >where mailfilter reads:
> >
> ># line below only wrapped in mail message...
> >VPOP="| /home/vpopmail/bin/vdelivermail ''
> >/home/vpopmail/domains/$HOST/postmaster"
> >VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
> >
> >if ( $SIZE < 262144 )
> >{
> >exception {
> >xfilter "/usr/bin/spamc -f -u $EXT@$HOST"
> >}
> >}
> >
> >if (/^X-Spam-Flag: *YES/)
> >{
> >exception {
> >to /home/vpopmail/domains/spam/postmaster/Maildir/
> >}
> >}
> >else
> >{
> >exception {
> >to "$VPOP"
> >}
> >}
> >
> >And this works fine, except for forwarding from a users .qmail file.
> >..qmail-whatever files in the domain directory work fine, but $USER/.qmail
> >doesn't work with the:
> >
> >&[EMAIL PROTECTED]
> >
> >format.
> >
> >|forward [EMAIL PROTECTED] works, but qmailadmin doesn't use that format.
> >
> >When I disable my maildrop in the .qmail-default and just call vpopdeliver
> >the &[EMAIL PROTECTED] format in $USER/.qmail works.
> >
> >What have I broken with my mailfilter?
> >
> >I want all my virtual domains to have postmaster as their catchall and I
> >want all mail tagged as spam to end up in a common location. But I need
> >the forwarding functionality to work via qmailadmin...
> >
> >All suggestions greatly appreciated.
> >
> >Joseph





Re: [vchkpw] Vpopmail under devel any longer?

2002-10-15 Thread Ken Jones

On Tuesday 15 October 2002 12:27 am, David U. wrote:
> Steve Fulton wrote:
> > At 22:08 14/10/2002 -0500, David U. wrote:
> >>> post of a link to Vpopmail 5.3.9
> >>
> >> Is anyone actually running it?  I tried to but then reverted because
> >> of a couple issues.
> >
> > I am, though I'm curious about what problems you've discovered..
>
> The most annoying one being the qmail-extension not working.

use the --enable-qmail-ext=y option
It is turned off by default. 

We are preparing a new stable release in the next month or
so. Probably release a new development version later this week.

Hope that helps
Ken Jones






[vchkpw] Bug (feature) in MySQL select

2002-10-15 Thread tonix (Antonio Nati)


I've received a message for "user @mydomain.it", and vpopmail routine 
validating addresses has let this wrong address pass.

I've found that when you make a
 SELECT * FROM VPOPMAIL WHERE pw_name = "user "
it's exactly like
 SELECT * FROM VPOPMAIL WHERE pw_name = "user"

This is a MySQL feature.

All select should be modified to use "like binary" instead of "=" in their 
string comparison.
 I.e.
 SELECT * FROM VPOPMAIL WHERE pw_name LIKE BINARY "user "
 does return 0 lines.

Tonino




 Inter@zioniInterazioni di Antonio Nati
http://www.interazioni.it  [EMAIL PROTECTED]






RE: [vchkpw] Multiple default domains(failover)

2002-10-15 Thread Andre Fortin

Thanks to all who helped; It looks like IP based virtual domains are the
answer :)

Andre

-Original Message-
From: Andre Fortin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 10:55 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Multiple default domains(failover)


Hello,

I'm in charge of 3 email systems.  One is sendmail, one is qmail with system
users and one is qmail/vpopmail.  I'd like to move everything to the
vpopmail system, however with thousands of email accounts on each of the
other domains/mail systems, as well as overlapping usernames, it would be
too much to ask them to start appending @olddomain1.com and @olddomain2.com.

Is there a way to make vpopmail failover to different default domains?  For
example, if a username/password pair do not work on the first default
domain, it will attempt to match on the second domain, failing that it will
try the 3rd domain, etc until there are no more default domains, then fail
if there is no match on any default domains..

I don't know if vpopmail has this functionality built in, or if anyone has
ever done this(I've seen no mention of this searching archives; maybe I've
been looking in the wrong place or not hard enough).  If anyone has any
suggestions or information, it would be greatly appreciated :)


-
Andre Fortin, CCNA
Systems Administrator Technician
Persona Communications, Northern Division
500 Barrydowne Rd.
Sudbury, Ontario
[EMAIL PROTECTED]
Tel.: (705)560-1560 ext. 266








[vchkpw] maildrop and vpopmail

2002-10-15 Thread erti

Hi,

I dont know if this is related with this list but...

Today I have noticed that /var/spool/mail/vpopmail file has reached 12MB and
modified recently. But qmail does not deliver mail to mbox in my server. All
of my accounts are vpopmail accounts. When I look at that file and send some
test mails I saw that :
 * if mail is send to domains which use maildrop
 * and if that e-mail does not exists
a copy of that mail is written to /var/spool/mail/vpopmail. But this problem
(or acction) does not occur if a mail is send to domain which use
vdelivermail.

do you have any experience?

thanks for advance...

Ertan Yusufoglu





Re: [vchkpw] Problems with forwarding from .qmail using maildrop

2002-10-15 Thread Dzuy Nguyen

There is a bug in vdelivermail.c which was discussed in earlier threads. 
 I suggested a fix for 5.3.7 but
am not sure if it made it into the latest version.  You can search on 
past threads for details.

[EMAIL PROTECTED] wrote:

>Hello All,
>
>I have:
>
>vpopmail-5.2.1
>qmail-1.03
>maildrop-1.4.0
>qmailadmin-1.0.6
>
>among other things running on RH 7.3
>
>I have the .qmail-default file for each of my virtual domains read like this:
>
>| preline maildrop /home/vpopmail/mailfilter
>
>where mailfilter reads:
>
># line below only wrapped in mail message...
>VPOP="| /home/vpopmail/bin/vdelivermail '' 
>/home/vpopmail/domains/$HOST/postmaster"
>VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
>
>if ( $SIZE < 262144 )
>{
>exception {
>xfilter "/usr/bin/spamc -f -u $EXT@$HOST"
>}
>}
>
>if (/^X-Spam-Flag: *YES/)
>{
>exception {
>to /home/vpopmail/domains/spam/postmaster/Maildir/
>}
>}
>else
>{
>exception {
>to "$VPOP"
>}
>}
>
>And this works fine, except for forwarding from a users .qmail file.
>..qmail-whatever files in the domain directory work fine, but $USER/.qmail
>doesn't work with the:
>
>&[EMAIL PROTECTED]
>
>format.
>
>|forward [EMAIL PROTECTED] works, but qmailadmin doesn't use that format.
>When I disable my maildrop in the .qmail-default and just call vpopdeliver
>the &[EMAIL PROTECTED] format in $USER/.qmail works.
>
>What have I broken with my mailfilter?
>
>I want all my virtual domains to have postmaster as their catchall and I
>want all mail tagged as spam to end up in a common location. But I need
>the forwarding functionality to work via qmailadmin...
>
>All suggestions greatly appreciated.
>
>Joseph
>
>
>
>
>






[vchkpw] Problems with forwarding from .qmail using maildrop

2002-10-15 Thread joseph

Hello All,

I have:

vpopmail-5.2.1
qmail-1.03
maildrop-1.4.0
qmailadmin-1.0.6

among other things running on RH 7.3

I have the .qmail-default file for each of my virtual domains read like this:

| preline maildrop /home/vpopmail/mailfilter

where mailfilter reads:

# line below only wrapped in mail message...
VPOP="| /home/vpopmail/bin/vdelivermail '' 
/home/vpopmail/domains/$HOST/postmaster"
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`

if ( $SIZE < 262144 )
{
exception {
xfilter "/usr/bin/spamc -f -u $EXT@$HOST"
}
}

if (/^X-Spam-Flag: *YES/)
{
exception {
to /home/vpopmail/domains/spam/postmaster/Maildir/
}
}
else
{
exception {
to "$VPOP"
}
}

And this works fine, except for forwarding from a users .qmail file.
..qmail-whatever files in the domain directory work fine, but $USER/.qmail
doesn't work with the:

&[EMAIL PROTECTED]

format.

|forward [EMAIL PROTECTED] works, but qmailadmin doesn't use that format.
When I disable my maildrop in the .qmail-default and just call vpopdeliver
the &[EMAIL PROTECTED] format in $USER/.qmail works.

What have I broken with my mailfilter?

I want all my virtual domains to have postmaster as their catchall and I
want all mail tagged as spam to end up in a common location. But I need
the forwarding functionality to work via qmailadmin...

All suggestions greatly appreciated.

Joseph






Re: [vchkpw] alias support via vpopmail in PHP

2002-10-15 Thread Raboo Treed

Largo is my girlfriend and my Bitch(tm) ;)

and the reason why i do this reply is cause you didn't reply to the mailinglist, you 
replyed directly to me ;)

so ppl in the list, read below

- Original Message - 
From: "Mustafa Hashmi" <[EMAIL PROTECTED]>
To: "Raboo Treed" <[EMAIL PROTECTED]>
Sent: Monday, October 14, 2002 9:31 PM
Subject: Re: [vchkpw] alias support via vpopmail in PHP


> On Tue, 15 Oct 2002 02:07:10 +0200
> "Raboo Treed" <[EMAIL PROTECTED]> wrote:
> 
> > well as my friend largo nicely put it
> > 
> > 01:13 < Iargo> --enable-valias=y
> > 
> 
> thanks, This largo guys sounds very clever ;)
> 
> P.S: though I have valias support enabled and it seems to be working fine (can use 
>command line valias to add re-director (as well as test it), php refuses to add 
>support for it. Have re-built from clean tree sources for vpopmail as well as php, no 
>luck. 
> 
> Though not a vpopmail problem, if anyone has any idea why this may be, I'd 
>appreciate it some guidance.
> 
> -mustafa.
> 
> >  
> > - Original Message - 
> > From: "Mustafa Hashmi" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, October 14, 2002 5:40 PM
> > Subject: [vchkpw] alias support via vpopmail in PHP
> > 
> > 
> > > Hi all,
> > > 
> > > We have moved to qmail / vpopmail completely and it's working very well for our 
>needs. We run a control panel written (in-house) in php which used to take care of 
>adding / deleting users before we had moved to vpopmail.
> > > 
> > > The new mail server however works in a jailed freebsd environment and does not 
>offer direct access to commands, and in our limited environment, we don't want to 
>offer qmailadmin to our clients.
> > > 
> > > I decided a good way to link our control panel to the new mail server using 
>php's internal vpopmail functions would be via an xml gateway. One sends 
>authenticated internal posts (via ssl) to the this gateway -- the gateway is running 
>as vpopmail and carries out the requests. The response is sent back to our control 
>panel as an xml document. This solves many issues and offers great flexibility. I 
>finished implementing the code yesterday and it's all working well.
> > > 
> > > Enough with the background, on with the problem.
> > > 
> > > The valias function is not support by php as the functionality is left out of 
>vpopmail itself (please correct me if I am wrong), and I the way around this, as far 
>as I can figure out, is writing a .qmail-user file in the domains/domainname.com 
>directory with the | vdelivermail line for the new email address.
> > > 
> > > As the (xml) server is running as vpopmail, this is hardly a problem to do -- 
>however, I was curious if this would be the most sound method. What do you guys 
>think? Am I overlooking something very obvious or is writing a file manually a good 
>solution?
> > > 
> > > I appreciate your comments.
> > > 
> > > Best regards,
> > > Mustafa.
> > > -- 
> > > "If I knew I'd live this long, I'd take better care of myself."
> > > 
> > > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> "If I knew I'd live this long, I'd take better care of myself."
> 






RE: [vchkpw] Blackhole?

2002-10-15 Thread Paul Theodoropoulos


Thanks for the reply Clayton. Out of sheer stubbornness and frustration, I 
kept poking away at it, and I finally figured out the magical incantations 
to make Blackhole work with Vpopmail. It's actually pretty darned simple, 
but took an awful lot of poking and digging to figure it out! I've posted a 
'cookbook' (after a fashion) to the discussion forum that's reachable from 
the Blackhole pages (again, the site is http://www.groovy.org ).

I do recommend Blackhole - while the config file structure is kind of a 
mess, there are a ton of options making it very fine-grained, and of 
course, it's written in C, making it pretty efficient on resources.


At 02:54 PM 10/14/2002, Clayton Weise wrote:
>I tried to get blackhole running, but it was tough without the docs.  I
>originally decided not to go with SA because it's written in perl, but it
>can be run as a daemon and there's a client written in C that actually is
>pretty quick.  I gave up on blackhole though.. I wasn't able to get it to
>work, but I was also pressed for time so I didn't have too much luxury to
>screw around with it all that much either.
>
>-Clayton

Paul Theodoropoulos
http://www.anastrophe.com
http://folding.stanford.edu
The Nicest Misanthrope on the Net






[vchkpw] domain based quota setting?

2002-10-15 Thread Neo Wee Teck

Is there anyway to set a fixed quota for a domain?
Eg.

Domain xxx.com > 200MB

Users can be added and a total storage space for the domain is 200MB.

Any idea? Please advise :)





RE: [vchkpw] Multiple default domains(failover)

2002-10-15 Thread Tren Blackburn

Probably the best thing to do would be use IP aliased domains.  It will
require an IP per domain that you want to not specify the @domain.com
part, but the feature is there and has been for a couple years now.

Regards,

Tren

> -Original Message-
> From: Andre Fortin [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, October 15, 2002 8:55 AM
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] Multiple default domains(failover)
> 
> 
> Hello,
> 
> I'm in charge of 3 email systems.  One is sendmail, one is 
> qmail with system users and one is qmail/vpopmail.  I'd like 
> to move everything to the vpopmail system, however with 
> thousands of email accounts on each of the other domains/mail 
> systems, as well as overlapping usernames, it would be too 
> much to ask them to start appending @olddomain1.com and 
> @olddomain2.com.
> 
> Is there a way to make vpopmail failover to different default 
> domains?  For example, if a username/password pair do not 
> work on the first default domain, it will attempt to match on 
> the second domain, failing that it will try the 3rd domain, 
> etc until there are no more default domains, then fail if 
> there is no match on any default domains..
> 
> I don't know if vpopmail has this functionality built in, or 
> if anyone has ever done this(I've seen no mention of this 
> searching archives; maybe I've been looking in the wrong 
> place or not hard enough).  If anyone has any suggestions or 
> information, it would be greatly appreciated :)
> 
> 
> -
> Andre Fortin, CCNA
> Systems Administrator Technician
> Persona Communications, Northern Division
> 500 Barrydowne Rd.
> Sudbury, Ontario
> [EMAIL PROTECTED]
> Tel.: (705)560-1560 ext. 266
> 
> 
> 
> 
> 





[vchkpw] Vpopbull problem

2002-10-15 Thread Brendan McAlpine

Hey all,

I am having a problem using vpopbull on my server.  Basically, vpopbull 
starts firing off emails to everyone of the users in my domain, but then 
after a couple hundred it just stops.  There are about 6000 mailboxes 
within this domain.

I'm not sure even where to start looking.

TIA


Brendan





Re: [vchkpw] Multiple default domains(failover)

2002-10-15 Thread Rick Romero


My first thought is to fiddle with the Mysql tables.  Copy a users info,
so they appear to be part of domain A, but their data is part of domain
B. 

Of course, that creates problems with password changes, and maybe reduce
potential addresses for domain A.  chad@domainB would have a password in
domainA, so you couldn't have a chad@domainA user.

Better, you could run multiple vpopmails.  I assume that each domain's
user is sending receiving mail to/from mail.theirdomain.com

3 boxes, NFS mount the home directories, and a single Mysql table.
You get a little load balancing that way too, especially if you're
running qmail-scanner and an AV.
Or maybe you could do it with IP aliases, instead of 3 boxes?

IMHO, Matt Simerson is a good source for 'large install' info.  
(I think he's on this list. or: matt.simerson.net)


Rick

On Tue, 2002-10-15 at 09:55, Andre Fortin wrote:
> Hello,
> 
> I'm in charge of 3 email systems.  One is sendmail, one is qmail with system
> users and one is qmail/vpopmail.  I'd like to move everything to the
> vpopmail system, however with thousands of email accounts on each of the
> other domains/mail systems, as well as overlapping usernames, it would be
> too much to ask them to start appending @olddomain1.com and @olddomain2.com.
> 
> Is there a way to make vpopmail failover to different default domains?  For
> example, if a username/password pair do not work on the first default
> domain, it will attempt to match on the second domain, failing that it will
> try the 3rd domain, etc until there are no more default domains, then fail
> if there is no match on any default domains..
> 
> I don't know if vpopmail has this functionality built in, or if anyone has
> ever done this(I've seen no mention of this searching archives; maybe I've
> been looking in the wrong place or not hard enough).  If anyone has any
> suggestions or information, it would be greatly appreciated :)
> 
> 
> -
> Andre Fortin, CCNA
> Systems Administrator Technician
> Persona Communications, Northern Division
> 500 Barrydowne Rd.
> Sudbury, Ontario
> [EMAIL PROTECTED]
> Tel.: (705)560-1560 ext. 266
> 
> 
> 






[vchkpw] Multiple default domains(failover)

2002-10-15 Thread Andre Fortin

Hello,

I'm in charge of 3 email systems.  One is sendmail, one is qmail with system
users and one is qmail/vpopmail.  I'd like to move everything to the
vpopmail system, however with thousands of email accounts on each of the
other domains/mail systems, as well as overlapping usernames, it would be
too much to ask them to start appending @olddomain1.com and @olddomain2.com.

Is there a way to make vpopmail failover to different default domains?  For
example, if a username/password pair do not work on the first default
domain, it will attempt to match on the second domain, failing that it will
try the 3rd domain, etc until there are no more default domains, then fail
if there is no match on any default domains..

I don't know if vpopmail has this functionality built in, or if anyone has
ever done this(I've seen no mention of this searching archives; maybe I've
been looking in the wrong place or not hard enough).  If anyone has any
suggestions or information, it would be greatly appreciated :)


-
Andre Fortin, CCNA
Systems Administrator Technician
Persona Communications, Northern Division
500 Barrydowne Rd.
Sudbury, Ontario
[EMAIL PROTECTED]
Tel.: (705)560-1560 ext. 266






[vchkpw] valias and maildrop question

2002-10-15 Thread John C

I am trying to add a line into the valias table which calls maildrop.

When I add a user with underscores(_) in their name to the table, the
maildrop script is not run.
If I add a user with only letters and/or numbers in their username,
everything works fine.

Any ideas why?  Is there a limitation to valias here?

By they way, dot qmail files with an underscore and this particular maildrop
setup work.  When moved to the database it ceases to work.


Here is an example:


mysql> select * from valias;
+--+-+--
---+
| alias| domain  | valias_line
|
+--+-+--
---+
| teddy_tester | knology.net | | /var/qmail/bin/preline /usr/bin/maildrop
storeSpam.filter |  Does not work
| teddytester  | knology.net | | /var/qmail/bin/preline /usr/bin/maildrop
storeSpam.filter |  Works
+--+-+--
---+
2 rows in set (0.00 sec)


John Councilman
Knology Systems Engineer





[vchkpw] backup old mails

2002-10-15 Thread Yu You

Hi,

I have a question regarding backuping old mails for all domain users. My 
mail system is qmail + vpopmail.
The logic is as follows: (what I would like to have)
1) automatically move and backup old mails, e.g. either when their 
timestamp are older than certain pre-defined date, or  have reached 
their quotas and have to be removed but copied to somewhere (backup 
purpose);
2) backuped mails can be restored under the requests by the 
administrators, manually or automatically.

Is there existing program/script that can do this type of job? or I just 
simply use "cp"?

Thanks.

Yu

--