Re: [vchkpw] quotas
You need vpopmail-5.3.19 for domain quotas. It may be found at http://shupp.org Brian On Sat, 15 Mar 2003, Payal Rathod wrote: > Hi, > I have installed vpopmail-5.2.1 with just enable-roaming-users=y option. > After that I did make and make install. > > Now I added 2 domains test1 and test2? Do these domains have a default > quota? > > If no, how do I add that? If I am going to use ./configure again what > care must I take? Do i use make install clean or something like that? > > Also can I have domain test1 with say 40Mb quota and domain test2 with > 70Mb quota? How to achieve that? > I read README.quotas, INSTALL and FAQ but still I am unable to figure a > proper solution for different quotas for different domains. > > Can someone tell? > > With regards, > -Payal > > -- > "Visit GNU/Linux Success Stories" > www.geocities.com/rpayal99 > Guest-Book Section Updated. > >
[vchkpw] Ownership question about VPOPMAIL
[EMAIL PROTECTED] vpopmail]# lltotal 7drwxr-xr-x 2 vpopmail vchkpw 1024 fév 21 01:47 bindrwxr-xr-x 4 vpopmail vchkpw 1024 fév 21 01:47 docdrwxr-xr-x 5 vpopmail vchkpw 1024 fév 23 15:12 domainsdrwxr-xr-x 2 vpopmail vchkpw 1024 nov 26 2001 etcdrwxr-xr-x 2 vpopmail vchkpw 1024 fév 21 01:47 includedrwxr-xr-x 2 vpopmail vchkpw 1024 fév 21 01:47 libdrwxr-xr-x 2 vpopmail vchkpw 1024 fév 21 16:40 users[EMAIL PROTECTED] vpopmail]# ll domainstotal 3drwx-- 5 530 7798 1024 fév 23 15:21 mydomain1.comdrwx-- 3 530 7798 1024 fév 23 15:12 mydomain2.comdrwx-- 3 530 7798 1024 fév 23 15:12 mydomain3.com[EMAIL PROTECTED] vpopmail]# My mail server works fine with qmail however I don't know why vadddomain/vadduser use 530:7798 User 530 is not even in /etc/passwd and vpopmail user is : vpopmail:x:510:505::/home/vpopmail:/bin/bash Thanks, Al
Re: [vchkpw] Forwarding....
I have forwards setup like the following: make a .qmail-USER file in the directory of the domain (replace USER with the username) in the file type "&[EMAIL PROTECTED]" (without the quotes) example of a forward from [EMAIL PROTECTED] to [EMAIL PROTECTED] : [EMAIL PROTECTED] closer]# cat /usr/vpopmail/domains/neg9.netnitco.net/.qmail-root &[EMAIL PROTECTED] [EMAIL PROTECTED] closer]# Hope that helps, Scott - Original Message - From: "Bill Sappington" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 15, 2003 5:39 PM Subject: [vchkpw] Forwarding > Ok, > > Well I have the system working I even have the catch all working. > > So what I would like to know is about setting a forwarder for a particular > user of a domain. > > There does not seem to be a reference in the documentation; however, I > could be blind and stupid. > > the .qmail-default file seems to alude to this via the empty set, ie: > > | /home/vpopmail/bin/vdelivermail '' delete > > syntax in as much as the following works... > > | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] > > will forward e-mail for non existant users to the named account, is then > > | /home/vpopmail/bin/vdelivermail [EMAIL PROTECTED] [EMAIL PROTECTED] > > The correct syntax to forward ??? > > > Thanks in advance. > >
[vchkpw] Forwarding....
Ok, Well I have the system working I even have the catch all working. So what I would like to know is about setting a forwarder for a particular user of a domain. There does not seem to be a reference in the documentation; however, I could be blind and stupid. the .qmail-default file seems to alude to this via the empty set, ie: | /home/vpopmail/bin/vdelivermail '' delete syntax in as much as the following works... | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] will forward e-mail for non existant users to the named account, is then | /home/vpopmail/bin/vdelivermail [EMAIL PROTECTED] [EMAIL PROTECTED] The correct syntax to forward ??? Thanks in advance.
Re: [vchkpw] NFS shared
"Jason" <[EMAIL PROTECTED]> writes: > If I'm going to install a couple of mailservers(vpopmail+qmail) and use an > NFS server for storage, is the Maildir the only directory that will be > shared by the mail servers. I think the tcp.smtp.cdb also needs to be > shared. Any others files? How about sharing ezmlm email list files and aliases which live under ~alias? (/var/qmail/alias)? If I have a load-balanced cluster, I want any machine to handle a delivery for any email list. Mostly this would be reading addresses from the subdirs, but doesn't ezmlm also do list cleaning, removing bouncing/dead addrs from the list subscribers? If I put ~alias on NFS, will multiple boxes doing ezmlm list cleaning cause corruption? If so, any suggestions -- maybe having the bounce address go to only one of the smtp replicants so it alone will do the cleaning? Others? Thanks.
Re: [vchkpw] accept selected mails
On Sat, Mar 15, 2003 at 03:14:22PM +0530, Payal Rathod wrote: > Thanks for the reply. Yes, I know about .qmail files but the problem how > to *drop* unwanted mails. I can check the mails against a sample.txt > file and if match is found redirect it to ./Maildir/. But how to drop > the mails otherwise? You can use the `validate-sender` program from my qblue package to accomplish this. If you want to deliver to a regular Maildir you could use the following: |if except validate-sender ~/Maildir/valid.dat; then maildir ./Maildir/ ; fi The `maildir` script is part of the safecat package. I am running vpopmail 5.3.9 with --enable-make-seekable=y and the following also works for me: |if except validate-sender /var/vpopmail/domains/standblue.com/valid.dat; then /var/vpopmail/bin/vdelivermail '' /var/vpopmail/domains/standblue.com/cwright/ ; fi These examples deliver the message if the sender address is listed in the valid.dat file, and drop it otherwise. The validate-sender program relies on $SENDER, which can easily be forged, so this should only be used to do trivial checks. You can find qblue at the following URL: http://projects.standblue.net/software/qblue/index.moto Good luck, Cory -- Cory Wright Stand Blue Technology http://www.standblue.net/
Re: [vchkpw] NFS shared
Sharing the tcp.smtp.cdb file over TCP is not a good idea. Once your traffic starts picking up, you'll have all sorts of problems with that. Check out the writeup I have on exactly this scenario: http://matt.simerson.net/computing/mail/qmail/qmail.toaster.open- smtp_writeup.txt. There are other considerations but to minimize traffic on your backend (NFS) network, you really should be planning to only share what's necessary (~vpopmail/domains) via NFS. Matt On Saturday, March 15, 2003, at 02:27 AM, Jason wrote: Hello All, If I'm going to install a couple of mailservers(vpopmail+qmail) and use an NFS server for storage, is the Maildir the only directory that will be shared by the mail servers. I think the tcp.smtp.cdb also needs to be shared. Any others files? TIA
[vchkpw] virtual domain problem
Title: Message Hi! I'm having the following problem: -default domain is (which is also the hostname of the mail server) -another virtual domain -another virtual domain Everything works fine for and , but when i try to send an email for [EMAIL PROTECTED], the qmail log says: new msg 1256690info msg 1256690: bytes 528 from [EMAIL PROTECTED] qp 7024 uid 506starting delivery 1: msg 1256690 to local [EMAIL PROTECTED] status: local 1/10 remote 0/20delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/status: local 0/10 remote 0/20bounce msg 1256690 qp 7028end msg 1256690 Although I was sending this messege to [EMAIL PROTECTED], the log shows that vpopmail is not looking for the correct domain (it should be [EMAIL PROTECTED]). DNS is correctly configured (i think): virt2.domain1.com points to CNAME virt1.domain1.com. Qmail files: /var/qmail/control/rcpthosts has: virt1.domain1.com virt2.domain1.com domain2.com /var/qmail/control/virtualdomains has: virt1.domain1.com:virt1.domain1.com virt2.domain1.com:virt2.domain1.com domain2.com:domain2.com IMAP authentication (through MySQL) works fine and so does sending mails from [EMAIL PROTECTED]. The problem is that I cannot receive mails for the virt2.domain1.com domain. Any idea would be appreciated. Arthur
Re: [vchkpw] accept selected mails
* Jonas Pasche <[EMAIL PROTECTED]> [2003-03-15 07:35]: > Hi Payal, > > I am using vpopmail + qmail on a test system. Now for user > > [EMAIL PROTECTED] I want to accept mails only from email addresses given in file > > accept_only.dat. The rest of the mails from any other email address > > should be dropped/deleted without any notice. > > > > Can someone please give on hints on writing such a script? > > man dot-qmail > man qmail-command > > Should be a simple two-liner .qmail file; the first line with an "|if" > expression that checks $SENDER against your file and exits with an > appropriate exit code, and a forward rule to a defined Maildir in the > second line. Thanks for the reply. Yes, I know about .qmail files but the problem how to *drop* unwanted mails. I can check the mails against a sample.txt file and if match is found redirect it to ./Maildir/. But how to drop the mails otherwise? Also should i just check the From: field or is there anything else I should check for (against the database, maybe using egrep) Warm regards, -Payal -- "Visit GNU/Linux Success Stories" www.geocities.com/rpayal99 Guest-Book Section Updated.
[vchkpw] quotas
Hi, I have installed vpopmail-5.2.1 with just enable-roaming-users=y option. After that I did make and make install. Now I added 2 domains test1 and test2? Do these domains have a default quota? If no, how do I add that? If I am going to use ./configure again what care must I take? Do i use make install clean or something like that? Also can I have domain test1 with say 40Mb quota and domain test2 with 70Mb quota? How to achieve that? I read README.quotas, INSTALL and FAQ but still I am unable to figure a proper solution for different quotas for different domains. Can someone tell? With regards, -Payal -- "Visit GNU/Linux Success Stories" www.geocities.com/rpayal99 Guest-Book Section Updated.
Re: [vchkpw] roaming users, configure not working
* Jonas Pasche <[EMAIL PROTECTED]> [2003-03-15 07:35]: > Hi Payal, > > > I configured vpopmail-5.2 with, > > You should start with 5.2.1, which is the latest stable. Thanks Jonas. This did the trick. On a previously installed vpopmail system, how do I know which parameters were passed to ./configure ? I have the directory in which the tar file was untarred into. > > Also should the tcpserver file be /etc/tcp.smtp or > > /home/vpopmail/etc/tcp.smtp ? > > Both locations will work fine, but vpopmail will need root access if you > want to use the /etc location. What exactly do I do for giving vpopmail root access? > > And address extensions=OFF as shown above, will it mean I won't be able to use > > .qmail-payal-linux kind of addresses? > > No; these addresses will be handled by qmail itself _before_ vpopmail > drops in (through being called out of .qmail-default) and work in either > case. Then what is the use of qmail-ext parameter for ./configure ? Thanks a lot for the mail. Regards, -Payal -- "Visit GNU/Linux Success Stories" www.geocities.com/rpayal99 Guest-Book Section Updated.
Re: [vchkpw] NFS shared
On Sat, Mar 15, 2003 at 03:27:43PM +0800, Jason wrote: > Hello All, > > If I'm going to install a couple of mailservers(vpopmail+qmail) and use an > NFS server for storage, is the Maildir the only directory that will be > shared by the mail servers. I think the tcp.smtp.cdb also needs to be > shared. Any others files? Be careful sharing tcp.smtp.cdb - lots of logins and updating that file will cause you some hell :) -- Mike Horwath IRC: Drechsau [EMAIL PROTECTED] Home: 763-540-6815 1901 Sumter Ave N, Golden Valley, MN 55427 Opinions stated in this message, or any message posted by myself through my Geeks.ORG address, are mine and mine alone, period.