AW: .qmail-default Problem
Yes , I have some users on server1 with domain1, and there are other users on server2 also with domain1. I want all e-mail that is sent to users that are not on server1, to be sent to server 2, so they all get their e-mails Andrei Gologan I have setup qmail with vpopmail. Everyting works. We have users on more machines all with [EMAIL PROTECTED] I have setup qmail for a few user on a server (1). The users can send and receive e-mail to all other domains with no problems. Only when they try to send to [EMAIL PROTECTED] (this user is not on the local computer (1) ), they get an error- no user because of "bounce-no-mailbox" in .qmail-default I have: "| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" What do I have to put instead of "bounce-no-mailbox" to get all mail sent to the nonlocal domain1.dom users, to be sent to server2 ? Andrei I am confused. You want email that is send to domain1.com users to be sent to server2? Ken Jones
Virtual domain mail to Internet ?
Dear all, I have been installed vpopmail with qmail and have 3(three) virtual domain in the local area network, with private IP (192.168.0.1). In this server I have installed DNS too. How to setting connection my mail server to my ISP (Internet Service Provider), if I have both registered IP address and domain so that my 'all virtual domain' can deliver and receive from/to other domain registered in the Internet ? I hope any suggested for this solution. Thanks Arif
big network?
Hi,All! I Have a big network . All user is a domain. I user cdb or mysql or ldap auth? if I use cdb ,i can split vpasswd.cdb to small cdb file to save other machines? i use a lot of machines. ___ ÍøÒ×[µçÄԽ̳Ì] ÄÚÈݳ¬È« ÏÂÔØ¡¢½âÒÉ¡¢Ñ§Ï°Ó¦Óо¡ÓÐ http://school.163.com ÍøÒ×ÐÂÎÅƵµÀ£¬²»µ«Ð£¬¸üÒªupdateÄúµÄÅжÏÁ¦£¡ http://news.163.com
A question of defaulting
Ok, so everything seems good. However. Before I installed vpopmail I had a little C prog that went into my -default files for my domains and if it found an entry in the database that matched, returned the proper alias to forward to. I would like to do that here as well, but I am not sure how to go about it. It could go before the vdelivermail but I would prefer it to run after, I think. Is there some way to do this? -- ___ __ ____ _ _ _ _ / __)( )( ) /__\( \/ )( ___) ( \( )( ___)(_ _) \__ \ )(__)( /(__)\\ / )__)) ( )__) )( (___/(__)(__)(__)\/ ()()(_)\_)() (__) Air conditioned environment - Do not open Windows.
tcp.smtp.tmp.*
While this question may make me look foolish... I cannot figure out what I missed in the vpopmail build/install process that is causing the build up of tcp.smtp.tmp.* files on my system. I need to support roaming users, so I built that in and followed all of the instructions as I understand them, yet the temp files just keep accumulating. I'm wary of just scheduling a cron job to clean them up, because I don't know exactly what part of vpopmail's system (or is it something caused by tcpserver or qmail? I doubt it.) is creating and/or using these files. My suspicion is that vchkpw is creating them after validating a user, but I don't know when they're incorporated into tcp.smtp.cdb, so I'm not sure when they're safe to delete. I think I've rambled enough. I hope someone will understand my question and be able to help me find a solution. Thanks, Steve Valliere
Re: morercpthosts being eaten
Joel Michael wrote: - Original Message - From: "Ken Jones" [EMAIL PROTECTED] To: "Joel Michael" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 06, 2000 9:27 AM Subject: Re: morercpthosts being eaten One thing I have noticed with vpopmail and the files. It is possible to confuse vpopmail library with strange entries in these files. If it's a new system, you might get by with cleaning out all the files and starting fresh. Ken Jones Well, I've decided to write a perl script to check the contents of the virtual domain directory to what's in rcpthosts and morerctphosts, and call that from crontab every night. If you want, I'll post it to you (and to the list if there's enough demand) for people to use for a sanity checking routine. That would be great to add to the distribution. Ken
Re: qmail log file
Martin Chung wrote: I would like to ask how to increase the size of log file. I find that the log file will save to another file when the file size exceed about 98KB. I want to use larger log file instead of many small files. How can I do? Sounds like you are either using cyclog or multilog. Read the man pages for details. For multilog add nNumber sSize where Number = max number of files and Size = max size of each file (default is 100K) Ken Jones
Re: Virtual domain mail to Internet ?
Arif TelkomNet wrote: Dear all, I have been installed vpopmail with qmail and have 3(three) virtual domain in the local area network, with private IP (192.168.0.1). In this server I have installed DNS too. How to setting connection my mail server to my ISP (Internet Service Provider), if I have both registered IP address and domain so that my 'all virtual domain' can deliver and receive from/to other domain registered in the Internet ? I hope any suggested for this solution. Thanks Arif If you have a static external IP which never changes, you can set the MX records in your external DNS for those domains to point to the external IP address of your email server. external = on the internet. Ken Jones
Re: big network?
truename wrote: Hi,All! I Have a big network . All user is a domain. I user cdb or mysql or ldap auth? if I use cdb ,i can split vpasswd.cdb to small cdb file to save other machines? i use a lot of machines. ___ ÍøÒ×[µçÄԽ̳Ì] ÄÚÈݳ¬È« ÏÂÔØ¡¢½âÒÉ¡¢Ñ§Ï°Ó¦Óо¡ÓÐ http://school.163.com ÍøÒ×ÐÂÎÅƵµÀ£¬²»µ«Ð£¬¸üÒªupdateÄúµÄÅжÏÁ¦£¡ http://news.163.com cdb provides the fastest lookup times. but slow update times for large sites. mysql provides medium lookup times and fast updates I don't have enough experience with large ldap sites to know thier lookup/update times during heavy loads. Then you can share your domain directories, including the vpasswd file, over NFS. Ken Jones
Re: A question of defaulting
"Anthony R. J. Ball" wrote: Ok, so everything seems good. However. Before I installed vpopmail I had a little C prog that went into my -default files for my domains and if it found an entry in the database that matched, returned the proper alias to forward to. I would like to do that here as well, but I am not sure how to go about it. It could go before the vdelivermail but I would prefer it to run after, I think. Is there some way to do this? How about we build in a forwarding lookup feature into vdelivermail? :] Ken Jones
Re: AW: .qmail-default Problem
Here is an idea. If email comes into server1 for domain1, and they do not exist in the vpasswd file, then forward them off to server2. You can do this in the .qmail-default file with: | /home/vpopmail/bin/vdelivermail `` $EXT@server2 That will send all non matching email over to user@server2 Ken "Gologan, Andrei" wrote: Yes , I have some users on server1 with domain1, and there are other users on server2 also with domain1. I want all e-mail that is sent to users that are not on server1, to be sent to server 2, so they all get their e-mails Andrei Gologan I have setup qmail with vpopmail. Everyting works. We have users on more machines all with [EMAIL PROTECTED] I have setup qmail for a few user on a server (1). The users can send and receive e-mail to all other domains with no problems. Only when they try to send to [EMAIL PROTECTED] (this user is not on the local computer (1) ), they get an error- no user because of "bounce-no-mailbox" in .qmail-default I have: "| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" What do I have to put instead of "bounce-no-mailbox" to get all mail sent to the nonlocal domain1.dom users, to be sent to server2 ? Andrei I am confused. You want email that is send to domain1.com users to be sent to server2? Ken Jones
Re: tcp.smtp.tmp.*
At 11:47 AM 9/6/00, you wrote: Stray tmp files left behind was observed in an older version of vpopmail. Details of the change are in the ChangeLog. I know we fixed this in a later version, and the problem has not come back. Perhaps upgrading would fix your problem. I'm running version 4.8a that I downloaded from inter7.com not more than a month ago. But I'll look for a new version anyway... I have a nasty tendency to mess up file/group permissions and ownership, since I'm relatively new to linux. I didn't see anything in the instructions about specific requirements, but perhaps that might also have something to do with my problem. Steve
RE: A question of defaulting
I use fastforward (http://cr.yp.to/fastforward.html) for this purpose. I run a cron job (writtin in Perl) that grabs the aliases forwarding addresses from a database and opens a pipe to the 'setforward' command to create the CDB forwarding database. fastforward is written by D.J. Bernstein (the guy who wrote qmail), so it's very fast/efficient/reliable (as all of D.J's software seems to be!) My .qmail-default file looks like this: | /var/qmail/bin/fastforward -p /location/of/forward.cdb | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox Here's the important part: the -p switch to fastforward tells it to only forward the message if it finds a matching alias, otherwise it returns the appropriate error code and qmail will go on to the next line in the -default file, and attempt to deliver using vdelivermail. I hope that makes sense or is somehow helpful to you. You could probably do something similar with your own program--by returning the proper error code you can change the way qmail handles the rest of the lines in the -default file. -Kevin -Original Message- From: Anthony R. J. Ball [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 06, 2000 9:52 AM To: [EMAIL PROTECTED] Subject: A question of defaulting Ok, so everything seems good. However. Before I installed vpopmail I had a little C prog that went into my -default files for my domains and if it found an entry in the database that matched, returned the proper alias to forward to. I would like to do that here as well, but I am not sure how to go about it. It could go before the vdelivermail but I would prefer it to run after, I think. Is there some way to do this? -- ___ __ ____ _ _ _ _ / __)( )( ) /__\( \/ )( ___) ( \( )( ___)(_ _) \__ \ )(__)( /(__)\\ / )__)) ( )__) )( (___/(__)(__)(__)\/ ()()(_)\_)() (__) Air conditioned environment - Do not open Windows.
Can mysql auth and cdb auth co-exist?
I ahve tried this with 4.8.7 as well as 4.9 and can't seem to get it to work. I want to enable BOTH mysql and cdb authentication so I can gradually move my domains over from cdb to mysql. Can this be done? If you say yes, then what do I need to do? I only ask this question as I have tried this a half dozen times on our existing qmail+vpopmail server and it does not work. Once installed, I get these errors in /var/log/maillog: Sep 5 17:31:29 voyager vpopmail[4402]: vchkpw: No virt found [EMAIL PROTECTED]:207.206.15.107 No matter who tries to pop thier mail, a cdb based domain or a mysql based domain. My installation of qmail is very close to that in the LWQ faq. It has worked fine for the past 9 months, and have no complaints. I just want to migrate to mysql authentication. I would appreciate some help.
Re: Feature request
Johan Almqvist wrote: Hey All v* programs should print their version number if called with -v -Johan -- Johan Almqvist Done: 4.9.2 Sep 6 - add version switch to all v* programs, either with -v option or in the default usage statement
Re: Can mysql auth and cdb auth co-exist?
Greg Kopp wrote: I ahve tried this with 4.8.7 as well as 4.9 and can't seem to get it to work. I want to enable BOTH mysql and cdb authentication so I can gradually move my domains over from cdb to mysql. Can this be done? If you say yes, then what do I need to do? I only ask this question as I have tried this a half dozen times on our existing qmail+vpopmail server and it does not work. Once installed, I get these errors in /var/log/maillog: Sep 5 17:31:29 voyager vpopmail[4402]: vchkpw: No virt found [EMAIL PROTECTED]:207.206.15.107 No matter who tries to pop thier mail, a cdb based domain or a mysql based domain. My installation of qmail is very close to that in the LWQ faq. It has worked fine for the past 9 months, and have no complaints. I just want to migrate to mysql authentication. I would appreciate some help. No, you can't do that. Just one auth scheme at a time. Ken
Re: Feature request
Done ChangeLog Sep 6 - vadddomain prints out usage statement if no domain is specified Bill Shupp wrote: Also, it would be cool if vadddomain would print usage syntax if no arguments are supplied. Currently, it tried to add an unspecified domain. -Bill Shupp Quoting Johan Almqvist [EMAIL PROTECTED]: Hey All v* programs should print their version number if called with -v -Johan -- Johan Almqvist
CREATING DATABASE MYSQL
PLEASE I need have create a database vpopmail and tables for use vpopmail What steps I should make? How do I ? Thanks Juan Enciso
Re: tcp.smtp.tmp.*
At 12:22 PM 9/6/00, you wrote: You should definitly upgrade. Alot of changes have happened since 4.8a. It would appear that I lied about 4.9 solving my problem. Here's a listing of /opt/vpopmail/etc from my system after an hour or so with the new (4.9) package: total 28 drwxr-xr-x2 vpopmail vchkpw 4096 Sep 6 14:04 . drwxr-xr-x9 vpopmail vchkpw 4096 Sep 1 14:33 .. -rw-r--r--1 vpopmail vchkpw 63 Sep 6 13:12 tcp.smtp -rw-r--r--1 vpopmail vchkpw 2400 Sep 6 14:04 tcp.smtp.cdb -rw-r--r--1 root root 2194 Sep 6 13:33 tcp.smtp.tmp.7700 -rw-r--r--1 root root 2400 Sep 6 13:48 tcp.smtp.tmp.7858 -rw-r--r--1 root root 2400 Sep 6 13:48 tcp.smtp.tmp.7861 Either I am running at least one of the vpopmail programs under root (incorrectly) or something is still broken. All of the qmail components are installed correctly (to the best of my knowledge), using the accounts specified. qmail is started near the end of my rc.local script by running a SysV style init script which starts qmail like this: supervise /var/lock/qmail-smtpd tcpserver -v \ -x/opt/vpopmail/etc/tcp.smtp.cdb -u$USERID -g$GROUPID 0 25 \ rblsmtpd qmail-smtpd 21 | setuser qmaill accustamp | \ setuser qmaill cyclog -s 500 -n 5 /var/log/qmail/25 If there's anything I can check out or change to get the tmp files cleaned up automatically, I'm all for it. Steve -- | Steve Valliere | [EMAIL PROTECTED] | | System Architect | [EMAIL PROTECTED] | | Electronic Visions, Inc. |[EMAIL PROTECTED] | | 1650 Barrett Drive | Voice: 321.632.7530 | | Rockledge, FL 32955 |Fax: 321.632.3396 | Copyright (C) 2000 by Steven P Valliere All Rights Reserved
Re: CREATING DATABASE MYSQL
[EMAIL PROTECTED] wrote: PLEASE I need have create a database vpopmail and tables for use vpopmail What steps I should make? How do I ? Thanks Juan Enciso install mysql download latest vpopmail code tar zxf vpopmail-version.tar.gz cd vpopmail-version ./configure --enable-mysql=y vi vmysql.h ( set your mysql authentication information, use root for easiest install name) make make install-strip done Or you could read the docs that come with the software, and read the web page http://www.inter7.com/vpopmail/ Your questions are already answered. read INSTALL FAQ and http://www.inter7.com/qmail/vpopmail.html Ken Jones
Re: tcp.smtp.tmp.*
Steve Valliere wrote: At 12:22 PM 9/6/00, you wrote: You should definitly upgrade. Alot of changes have happened since 4.8a. It would appear that I lied about 4.9 solving my problem. Here's a listing of /opt/vpopmail/etc from my system after an hour or so with the new (4.9) package: total 28 drwxr-xr-x2 vpopmail vchkpw 4096 Sep 6 14:04 . drwxr-xr-x9 vpopmail vchkpw 4096 Sep 1 14:33 .. -rw-r--r--1 vpopmail vchkpw 63 Sep 6 13:12 tcp.smtp -rw-r--r--1 vpopmail vchkpw 2400 Sep 6 14:04 tcp.smtp.cdb -rw-r--r--1 root root 2194 Sep 6 13:33 tcp.smtp.tmp.7700 -rw-r--r--1 root root 2400 Sep 6 13:48 tcp.smtp.tmp.7858 -rw-r--r--1 root root 2400 Sep 6 13:48 tcp.smtp.tmp.7861 Either I am running at least one of the vpopmail programs under root (incorrectly) or something is still broken. All of the qmail components are installed correctly (to the best of my knowledge), using the accounts specified. qmail is started near the end of my rc.local script by running a SysV style init script which starts qmail like this: supervise /var/lock/qmail-smtpd tcpserver -v \ -x/opt/vpopmail/etc/tcp.smtp.cdb -u$USERID -g$GROUPID 0 25 \ rblsmtpd qmail-smtpd 21 | setuser qmaill accustamp | \ setuser qmaill cyclog -s 500 -n 5 /var/log/qmail/25 If there's anything I can check out or change to get the tmp files cleaned up automatically, I'm all for it. Where is your open-smtp file? Ken
Re: .qmail-default (Pls help!!)
Daniel Augusto Fernandes wrote: Ken Jones wrote: Daniel Augusto Fernandes wrote: Is there any alternative to how vpopmail use '.qmail-default' for virtual domains? It creates a /home/vpopmail/domains/domain/.qmail-default with: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox Is there any way I can make qmail-lspawn look at the virtual user table for that domain before it calls vdelivermail??? Only if you hack qmail-lspawn. But you probably would want to hack qmail-local, since qmail-lspawn just exec's qmail-locals to do the deliveries ;] Which one look for the existence of a local user? I recommend not hacking qmail-local. Why would you want qmail-local to have virtual user table code ? Thanks for asking! Cause I want to use maildrop as my delivery agent instead of vdelivermail. I want filtering features with quota support for virtual users. And I get a lot of msgs not beeing delivered because it suppose the user really exist. I believe that's why vdelivermail has its 'bounce-no-mailbox'. Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED] GCSNethttp://www.gcsnet.com.br/ Se você não encontra o sentido das coisas é porque este não se encontra, se cria. Antoine Saint-Exupéry
test
test
hardquota problem
Deal all, I have a problem with vpopmail-3.4.11-2, if I use .qmail-username then hardquota no effect. but if the .qmail-user remove from domain directory then hardquota working normally. why ??? thanks. best regards, said madrus
qmail log file
I would like to ask how to increase the size of log file. I find that the log file will save to another file when the file size exceed about 98KB. I want to use larger log file instead of many small files. How can I do?
quota + postmaster + user
Hi, I'm running a vpopmail 4.9.2 + qmail 1.03 system with quota support and my question is: I need send message "User_is_over_quota_email_returned" to remote user AND local postmaster... How make I do? []'s Ricardo