Re: silently dropping mail
wildmat patch for qmail - Original Message - From: Qmail [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 26, 2001 4:20 PM Subject: silently dropping mail What's the best way to drop mail to certain accounts (nobody@.com)? Thanks!
RE: silently dropping mail
What's the best way to drop mail to certain accounts (nobody@.com)? echo # ~vpopmail/domains/domainname.tld/.qmail-nobody
RE: Security Doubts.
Look in your mail log files and see what qmail actually did. I'm guessing there is nothing to worry about here. Infact I'm almost willing to bet money on it (I know DJB did) Regards, Tren. -Original Message- From: Alberto Crespo [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 7:05 AM To: [EMAIL PROTECTED] Subject: RV: Security Doubts. Hi, I run Nessus ( a security scanner ), to check my mail server and it show me some security holes on port 25. It possible these security holes are false positive, but I'm not sure. Somebody can help me, please ? I attache the Nessus Scan Report with the results. I have Suse Linux 6.4, ipchains and qmail 1.03 without any patch. NOTE : The file 'nessus_test' doesn't have in the host. Nessus Scan Report.htm Regards --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.282 / Virus Database: 150 - Release Date: 25/09/01
Quotas?
Ken Bill, Is it possible to set a default quota for a domain, one that applies to each user? Yes, quotas can be applied to individual users postmaster (when creating the domain), but how about one that applies to any additional users added to that domain? I thought it worked that way, but it does not our server. Am I missing something? If I'm not, I'll look into writing patch against Vpopmail to check for a default quota when adding a user -- probably using the postmaster account as a basis. -- Steve --- If once a man indulges himself in murder, very soon he comes to think little of robbing; and from robbing he next comes to drinking and Sabbath-breaking, and from that to incivility and procrastination. -- Thomas De Quincey (1785 - 1859)
vpopmail-5.0 patch for NetBSD support and small fixes
Hi I just subscribed to this list, but i hope it's okay to post patch file for vpopmail-5.0. I'm running NetBSD system on my server and i have qmail installed in other than /var/qmail directory. this patch is to workaround of missing getpwnam func in NetBSD and fix for qmaildir. it changes following files : configure vchkpw.c vconvert.c just in case, my configure line is : ./configure --enable-qmaildir=/usr/qmail --enable-many-domains=y --enable-passwd=y i have not checked it with other platform, but i tried to make it clean. vpopmail-5.0-netbsd.diff.gz
Re: Please Help
Just use /home/vpopmail/etc/tcp.smtp.cdb instead of /etc/tcp.smtp.cdb Mike Jimenez wrote: Im having a horrible time trying to figure this out. I have vpopmail-4.9.10 installed with Qmail. The problem is my users cannot send out email. They can pop fine however. But the POP Before SMTP is not working? I have also looked into the /home/vpopmail/etc/open-smtp file all pops are being allowed relay. Ex: 12.46.16.205:allow,RELAYCLIENT=,RBLSMTPD=1004137830 12.46.16.196:allow,RELAYCLIENT=,RBLSMTPD=1004137842 12.46.16.214:allow,RELAYCLIENT=,RBLSMTPD=1004137842 12.46.16.197:allow,RELAYCLIENT=,RBLSMTPD=1004137848 12.46.16.201:allow,RELAYCLIENT=,RBLSMTPD=1004137859 12.46.16.198:allow,RELAYCLIENT=,RBLSMTPD=1004137863 12.46.16.218:allow,RELAYCLIENT=,RBLSMTPD=1004137867 12.46.16.194:allow,RELAYCLIENT=,RBLSMTPD=1004137868 209.179.224.46:allow,RELAYCLIENT=,RBLSMTPD= 1004137870 But its still not allowing my users to send out email they just get a host not found error or a 553 relay error? Also qmaild is running multiple times and I don't know why its doing this. qmaild 975 0.0 0.0 1456 500 ?S15:40 0:00 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 200 -u 50 qmaild1992 0.0 0.0 1456 504 ?S16:12 0:00 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 200 -u 50 Here is an example of how I start the service /var/qmail/supervise/qmail-smtpd/run #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 /var/qmail/supervise/qmail-pop3d/run #!/bin/sh exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ rocky.vpi.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21 Can someone please help me out I cant figure out what is going on Mike Jimenez
Re: Please Help
On Friday, October 26, 2001, at 06:12 PM, Mike Jimenez wrote: Im having a horrible time trying to figure this out. I have vpopmail-4.9.10 installed with Qmail. The problem is my users cannot send out email. They can pop fine however. But the POP Before SMTP is not working? I have also looked into the /home/vpopmail/etc/open-smtp file all pops are being allowed relay. Ex: 12.46.16.205:allow,RELAYCLIENT=,RBLSMTPD=1004137830 12.46.16.196:allow,RELAYCLIENT=,RBLSMTPD=1004137842 12.46.16.214:allow,RELAYCLIENT=,RBLSMTPD=1004137842 12.46.16.197:allow,RELAYCLIENT=,RBLSMTPD=1004137848 12.46.16.201:allow,RELAYCLIENT=,RBLSMTPD=1004137859 12.46.16.198:allow,RELAYCLIENT=,RBLSMTPD=1004137863 12.46.16.218:allow,RELAYCLIENT=,RBLSMTPD=1004137867 12.46.16.194:allow,RELAYCLIENT=,RBLSMTPD=1004137868 209.179.224.46:allow,RELAYCLIENT=,RBLSMTPD= 1004137870 But its still not allowing my users to send out email they just get a host not found error or a 553 relay error? Also qmaild is running multiple times and I don't know why its doing this. qmaild 975 0.0 0.0 1456 500 ?S15:40 0:00 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 200 -u 50 qmaild1992 0.0 0.0 1456 504 ?S16:12 0:00 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 200 -u 50 Here is an example of how I start the service /var/qmail/supervise/qmail-smtpd/run #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 /var/qmail/supervise/qmail-pop3d/run #!/bin/sh exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ rocky.vpi.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21 Can someone please help me out I cant figure out what is going on What happens when you kill both smtp processes and restart it? Do you still have 2 running? And when someone pops in, does the timestamp of tcp.smtp.cdb get updated? I've had difficulty in the past getting roaming users to work when tcp.smtp was somewhere other than ~vpopmail/etc/. You might want to try moving it there, making all the files in ~vpopmail/etc owned by vpopmail,and edit your smtp startup script to use /home/vpopmail/etc/tcp.smtp.cdb Cheers, Bill
Please Help
Okay but /home/vpopmail/etc/tcp.smtp.cdb does not exist? Also I don't think the multiple smtp process are normal. When I kill one I will get sometimes 3 more back? Im confused. Mike -Original Message- From: Bruno Dalapicola Bergamaschi de Souza [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 4:20 PM To: Mike Jimenez Cc: vchkpw Subject: Re: Please Help Just use instead of /etc/tcp.smtp.cdb Mike Jimenez wrote: Im having a horrible time trying to figure this out. I have vpopmail-4.9.10 installed with Qmail. The problem is my users cannot send out email. They can pop fine however. But the POP Before SMTP is not working? I have also looked into the /home/vpopmail/etc/open-smtp file all pops are being allowed relay. Ex: 12.46.16.205:allow,RELAYCLIENT=,RBLSMTPD=1004137830 12.46.16.196:allow,RELAYCLIENT=,RBLSMTPD=1004137842 12.46.16.214:allow,RELAYCLIENT=,RBLSMTPD=1004137842 12.46.16.197:allow,RELAYCLIENT=,RBLSMTPD=1004137848 12.46.16.201:allow,RELAYCLIENT=,RBLSMTPD=1004137859 12.46.16.198:allow,RELAYCLIENT=,RBLSMTPD=1004137863 12.46.16.218:allow,RELAYCLIENT=,RBLSMTPD=1004137867 12.46.16.194:allow,RELAYCLIENT=,RBLSMTPD=1004137868 209.179.224.46:allow,RELAYCLIENT=,RBLSMTPD= 1004137870 But its still not allowing my users to send out email they just get a host not found error or a 553 relay error? Also qmaild is running multiple times and I don't know why its doing this. qmaild 975 0.0 0.0 1456 500 ?S15:40 0:00 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 200 -u 50 qmaild1992 0.0 0.0 1456 504 ?S16:12 0:00 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 200 -u 50 Here is an example of how I start the service /var/qmail/supervise/qmail-smtpd/run #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 /var/qmail/supervise/qmail-pop3d/run #!/bin/sh exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ rocky.vpi.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21 Can someone please help me out I cant figure out what is going on Mike Jimenez
Please Help
Correct when I kill it it still comes back and when I restart it will add another one. Also /home/vpopmail/etc/tcp.smtp.cdb does not exist but this does /etc/tcp.smtp.cdb And its owned by vpopmail Thanks Mike -Original Message- From: Bill Shupp [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 4:24 PM To: [EMAIL PROTECTED] Subject: Re: Please Help On Friday, October 26, 2001, at 06:12 PM, Mike Jimenez wrote: Im having a horrible time trying to figure this out. I have vpopmail-4.9.10 installed with Qmail. The problem is my users cannot send out email. They can pop fine however. But the POP Before SMTP is not working? I have also looked into the /home/vpopmail/etc/open-smtp file all pops are being allowed relay. Ex: 12.46.16.205:allow,RELAYCLIENT=,RBLSMTPD=1004137830 12.46.16.196:allow,RELAYCLIENT=,RBLSMTPD=1004137842 12.46.16.214:allow,RELAYCLIENT=,RBLSMTPD=1004137842 12.46.16.197:allow,RELAYCLIENT=,RBLSMTPD=1004137848 12.46.16.201:allow,RELAYCLIENT=,RBLSMTPD=1004137859 12.46.16.198:allow,RELAYCLIENT=,RBLSMTPD=1004137863 12.46.16.218:allow,RELAYCLIENT=,RBLSMTPD=1004137867 12.46.16.194:allow,RELAYCLIENT=,RBLSMTPD=1004137868 209.179.224.46:allow,RELAYCLIENT=,RBLSMTPD= 1004137870 But its still not allowing my users to send out email they just get a host not found error or a 553 relay error? Also qmaild is running multiple times and I don't know why its doing this. qmaild 975 0.0 0.0 1456 500 ?S15:40 0:00 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 200 -u 50 qmaild1992 0.0 0.0 1456 504 ?S16:12 0:00 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 200 -u 50 Here is an example of how I start the service /var/qmail/supervise/qmail-smtpd/run #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 /var/qmail/supervise/qmail-pop3d/run #!/bin/sh exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ rocky.vpi.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21 Can someone please help me out I cant figure out what is going on What happens when you kill both smtp processes and restart it? Do you still have 2 running? And when someone pops in, does the timestamp of tcp.smtp.cdb get updated? I've had difficulty in the past getting roaming users to work when tcp.smtp was somewhere other than ~vpopmail/etc/. You might want to try moving it there, making all the files in ~vpopmail/etc owned by vpopmail,and edit your smtp startup script to use /home/vpopmail/etc/tcp.smtp.cdb Cheers, Bill
Re: Please Help
Okay but /home/vpopmail/etc/tcp.smtp.cdb does not exist? Also I don't think the multiple smtp process are normal. When I kill one I will get sometimes 3 more back? Im confused. Incoming SMTP-connections are looking (at the beginning) like other tcpserver lines. after all the stuff is done (reverse lookup, if turned on), the tcpserver-line becomes a .. uhm... qmail-smtpd (?) line. if the PIDs doesn't change every seconds i think its ok. if the PIDs change very often, something is maybe not ok with supervise. - blinky
Re: Please Help
Did you use --enable-roaming-users=y at compile time? Mike Jimenez wrote: Correct when I kill it it still comes back and when I restart it will add another one. Also /home/vpopmail/etc/tcp.smtp.cdb does not exist but this does /etc/tcp.smtp.cdb And its owned by vpopmail Thanks Mike -Original Message- From: Bill Shupp [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 4:24 PM To: [EMAIL PROTECTED] Subject: Re: Please Help On Friday, October 26, 2001, at 06:12 PM, Mike Jimenez wrote: Im having a horrible time trying to figure this out. I have vpopmail-4.9.10 installed with Qmail. The problem is my users cannot send out email. They can pop fine however. But the POP Before SMTP is not working? I have also looked into the /home/vpopmail/etc/open-smtp file all pops are being allowed relay. Ex: 12.46.16.205:allow,RELAYCLIENT=,RBLSMTPD=1004137830 12.46.16.196:allow,RELAYCLIENT=,RBLSMTPD=1004137842 12.46.16.214:allow,RELAYCLIENT=,RBLSMTPD=1004137842 12.46.16.197:allow,RELAYCLIENT=,RBLSMTPD=1004137848 12.46.16.201:allow,RELAYCLIENT=,RBLSMTPD=1004137859 12.46.16.198:allow,RELAYCLIENT=,RBLSMTPD=1004137863 12.46.16.218:allow,RELAYCLIENT=,RBLSMTPD=1004137867 12.46.16.194:allow,RELAYCLIENT=,RBLSMTPD=1004137868 209.179.224.46:allow,RELAYCLIENT=,RBLSMTPD= 1004137870 But its still not allowing my users to send out email they just get a host not found error or a 553 relay error? Also qmaild is running multiple times and I don't know why its doing this. qmaild 975 0.0 0.0 1456 500 ?S15:40 0:00 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 200 -u 50 qmaild1992 0.0 0.0 1456 504 ?S16:12 0:00 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 200 -u 50 Here is an example of how I start the service /var/qmail/supervise/qmail-smtpd/run #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 /var/qmail/supervise/qmail-pop3d/run #!/bin/sh exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ rocky.vpi.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21 Can someone please help me out I cant figure out what is going on What happens when you kill both smtp processes and restart it? Do you still have 2 running? And when someone pops in, does the timestamp of tcp.smtp.cdb get updated? I've had difficulty in the past getting roaming users to work when tcp.smtp was somewhere other than ~vpopmail/etc/. You might want to try moving it there, making all the files in ~vpopmail/etc owned by vpopmail,and edit your smtp startup script to use /home/vpopmail/etc/tcp.smtp.cdb Cheers, Bill
Mass mail.
is there a function to send mail all the users in vpopmail? Forone domain or for all the domains. has anybody try this before?
RE: Autorespond 2.0.
Brad Dameron wrote: Anyone have any additions they want to see in the new autorespond or any bugs? I noticed tonight the autorespond 1.x doesn't honor Reply-to headers, and it doesn't appear the 2.0 does either. I'm not sure if this is a bug to fix, or a feature request. ;) Ron
Re: Mass mail.
is there a function to send mail all the users in vpopmail? For one domain or for all the domains. has anybody try this before? From the FAQ: 13. How do I post a email to all users of a virtualdomain or a set of domains? use the new vpopbull program: vpopbull -f email_file vdomain vdomain ... To see all the available options run vpopmail with no options. It will print out a complete list.
/etc/passwd
i was using sendmail before i have 100 user in file /etc/passwd when i'm install qmail whitout vpopmail, i can send email to user1 in file /etc/passwd using command echo to: user1 | /var/qmail/bin/qmail-inject but... when i'm install vpopmail, i can't send to user1 i just can send to user in vpopmail user :( all mail to user in /etc/passwd can't recieve mail :( why?? how to use user in /etc/passwd file?? how to setup?? i was use ./configure --with-passwd=y i still can't send :( thanks jontor
Re: AGAIN: BUG in vdelivermail
In the immortal words of Yavuz Aydin ([EMAIL PROTECTED]): I am posting this again because it has been a week now and this bug is not resolved. Mail is not being delivered to catch-all accounts of domains added with vadddomain with the -u option. The error that is generated is as follows: can not open new email file errno=2 file=/var/www/domains/exdomain.com/domains/exdomain.com/postmastertmp/100291503 1.19983.viper.w3b.nl,S=929 system error This only happens when the domain is added with the -u option, and not if it has been added without -u. The directory in wich vdelivermail wants to deliver is wrong (/var/www/domains/exdomain.com/domains/exdomain.com/postmastertmp/), it should be /var/www/domains/exdomain.com/domains/exdomain.com/postmaster/Maildir/tmp/. I appear to have duplicated this error, and can add a bit more information to it. The error occurs when the directory that vdelivermail is being asked to deliver to contains a symlink. For instance, I encountered the following problem: 2001-10-27 01:06:25.232087500 starting delivery 24418: msg 346280 to local [EMAIL PROTECTED] 2001-10-27 01:06:25.232097500 status: local 1/10 remote 0/20 2001-10-27 01:06:25.265759500 delivery 24418: failure: can_not_open_new_email_file_errno=2_file=/home/vpopmail/domains/iyago.com/nkatztmp/1004159185.4457.bigtime,S=759/system_error/ As a result of a somewhat rushed system upgrade, /home/vpopmail is actually a symlink to /project/vpopmail. The original ~vpopmail/domains/iyago.com/.qmail-default file read: | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/iyago.com/nkatz Changing the line to read: | /project/vpopmail/bin/vdelivermail '' /project/vpopmail/domains/iyago.com/nkatz ...appears to have resolved the problem. Why this would be so is anyone's guess, but I can re-create the problem just by changing the directory back to /home/vpopmail... -n [EMAIL PROTECTED] I have seen the future of the net, and it's a pimply 14-year old boy shouting ADD ME TO THE LIST11!!! Forever. http://blank.org/memory/