Re: [vchkpw] Re: Not Virtual
- Original Message - From: Gary [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:04 AM Subject: Re: [vchkpw] Re: Not Virtual From: Eirik Haavik [EMAIL PROTECTED] I am really not sure of that. Gary, Anyway i emtyed the locals file and restarted qmail and it had no effect so i put back mail.spritux.com into it. of all the files inside /var/qmail/control/ these 2 are the ones that worryes me. [EMAIL PROTECTED]:/# cat /var/qmail/control/plusdomain spritux.com [EMAIL PROTECTED]:/# cat /var/qmail/control/defaultdomain spritux.com [EMAIL PROTECTED]:/# the reason? Well i really dont know mutch about any of the files from qmail, but my mailserver name is mail.spritux.com and those 2 files above are the ONLY files inside /var/qmail/control/ witch ONLY contains spritux.com (and thats where my mailserver sends all the mails, regardless of the spesified domain. Did you read the faq? http://www.inter7.com/vpopmail/FAQ.txt - uses one uid/gid for all email accounts two types of email addresses 1) for domains in /var/qmail/control/locals the email addresses are: [EMAIL PROTECTED] pop authentication user name is: user 2) for virtual domains in /var/qmail/control/virtualdomains addresses are of the form [EMAIL PROTECTED] pop authentication user name is: user%virtualdomain or [EMAIL PROTECTED] depending on email client So, if you have mail.spritux.com in /var/qmail/control/locals, qmail will try to deliver to [EMAIL PROTECTED] locally, and not to vpopmail virtualdomains. Gary Thank You Gary [EMAIL PROTECTED]:/# cat /var/qmail/control/locals [EMAIL PROTECTED]:/# As you can see my locals file is emty now, but it still did not fix det problem. My server still tryes to deliver all mail to [EMAIL PROTECTED] if i send a mail to [EMAIL PROTECTED] Any more thoughts? Sinserly Eirik Haavik
Re: [vchkpw] Re: Not Virtual
From: Eirik Haavik [EMAIL PROTECTED] [EMAIL PROTECTED]:/# cat /var/qmail/control/locals [EMAIL PROTECTED]:/# As you can see my locals file is emty now, but it still did not fix det problem. My server still tryes to deliver all mail to [EMAIL PROTECTED] if i send a mail to [EMAIL PROTECTED] Did you do svc -h /service/qmail-send to have qmail-send to reread locals? If you installed per LWQ, then you can do qmailctl reload. Gary
Re: [vchkpw] Re: Not Virtual
- Original Message - From: Gary [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 10:47 AM Subject: Re: [vchkpw] Re: Not Virtual From: Eirik Haavik [EMAIL PROTECTED] [EMAIL PROTECTED]:/# cat /var/qmail/control/locals [EMAIL PROTECTED]:/# As you can see my locals file is emty now, but it still did not fix det problem. My server still tryes to deliver all mail to [EMAIL PROTECTED] if i send a mail to [EMAIL PROTECTED] Did you do svc -h /service/qmail-send to have qmail-send to reread locals? If you installed per LWQ, then you can do qmailctl reload. Gary Hi again Gary, yes i actually did: [EMAIL PROTECTED]:/# qmailctl reload Sending HUP signal to qmail-send. [EMAIL PROTECTED]:/# qmailctl restart Restarting qmail: * Stopping qmail-smtpd. * Sending qmail-send SIGTERM and restarting. * Restarting qmail-smtpd. [EMAIL PROTECTED]:/# after i saw your mail i did: [EMAIL PROTECTED]:/# svc -h /service/qmail-send To be on the safe side... and tryed to send yet another message trough the mailserver. Still same result, if i sant mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] or [EMAIL PROTECTED] the qmail server want to deliver the message to [EMAIL PROTECTED] (note NOT [EMAIL PROTECTED] ) if [EMAIL PROTECTED] is present it delivers the mail and i can get the email at [EMAIL PROTECTED] if the user not is present it bouces the e-mail. I plain tekst, i still have the same problem. And i am still lost. (sadly) My vpomail and qmail server actually works, but not with virtual domains. Oh, how i wish for a nice jucy error message Anyway thanks to everyone who have tryed to help me so far. Sinserly Eirik Haavik
[vchkpw] Blackholing a sender
Hi List Members, I have a peculiar requirement of just trashing a particular Mail From: to any of the virtual domains hosted on a Server. In that case even I do not want to bounce the mail just trash (/dev/null) it. Any pointers, please !! __ Devendra Singh IndiaMART InterMESH Limited (Global Gateway to Indian Market Place) B-1, Sector 8, Noida, UP - 201301, India EPABX : +91-120-2424945, +91-120-3094634, +91-9810646342 Fax: +91-120-2424943 http://www.indiamart.com http://www.indiangiftsportal.com http://www.indiantravelportal.com __
[vchkpw] SMTP AUTH with vchkpw
hello, i've problems with smtp-auth, when i try to send email from a client the server ask always for a password (but the passwd is ok) please help me!! thanks signo situation: qmail: qmail-1.03 vpopmail: 5.3.28 smtp-auth patch on qmail: qmail-smtpd-auth-0.4.2 (http://www.fehcom.de/qmail/auth/qmail-smtpd-auth-042_tgz.bin) qmail-smtpd/run: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`head -1 /var/qmail/control/concurrencyincoming` if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD ]; then echo QMAILDUID, NOFILESGID or MAXSMTPD is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 2000 \ /usr/local/bin/tcpserver -v -R -u $QMAILDUID -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true 21 telnet on port 25: 220 ssigno_back.local ESMTP 250-ssigno_back.local 250-PIPELINING 250-8BITMIME 250 AUTH LOGIN PLAIN CRAM-MD5
[vchkpw] OT: Hardware Experiences for a qmail + vpopmail install
Hi, I know this is a little off topic, but still sort of related. Im putting together spec's for a new replacement server to host our qmail/vpopmail install and im thinking of using something similar to below. I was just interested in others oppinions/feedback in that someone may have had good or bad experiences with something similar. The system really shouldn't be under a huge load so I don't think what I have chosen will be a problem, but in the event that we put on a load of users in a short period of time it would be nice to know that the system will handle it. P4 3.2Ghz 2Gb DDR 400 Adaptec 2410 Serial ATA Raid controller 4 x Serial ATA 120Gb disks I guess im more interested in how anyone else has found the serial ATA drives compared with extending the budget and going full scsi again and look into using xeon cpu's like all our winblow's boxes. Cheers Shane
Re: [vchkpw] OT: Hardware Experiences for a qmail + vpopmail install
Hi, Shane Chrisp wrote: Hi, I know this is a little off topic, but still sort of related. Im putting together spec's for a new replacement server to host our qmail/vpopmail install and im thinking of using something similar to below. I was just interested in others oppinions/feedback in that someone may have had good or bad experiences with something similar. The system really shouldn't be under a huge load so I don't think what I have chosen will be a problem, but in the event that we put on a load of users in a short period of time it would be nice to know that the system will handle it. P4 3.2Ghz 2Gb DDR 400 Adaptec 2410 Serial ATA Raid controller 4 x Serial ATA 120Gb disks We don't use serial ATA but we do use UDMA 100 ATA drives on one of our mail servers. AMD Athlon 1000Ghz 1Gb DDR 2 MAXTOR 6L040J2 (Hardware ATA raid) About 8000 users with clamd scanning. SA spamc scanning on a dedicated SA server. Load averages about 0.14 See http://newmail.axess.com/qmailmrtg/ Regards, Rick
[vchkpw] Re: Blackholing a sender
Hello Devendra, On Tuesday, March 30, 2004 at 4:07:31 PM you wrote (at least in part): I have a peculiar requirement of just trashing a particular Mail From: to any of the virtual domains hosted on a Server. echo SENDERADDRESS /var/qmail/control/badmailfrom In that case even I do not want to bounce the mail just trash (/dev/null) it. using badmailfrom is like /dev/null'ing for you. You'll neither see the bounce nor does your qmail have to handle it (even if it can't be delivered). That the absolutely easiest and cleanest solution for that problem. -- Best regards Peter Palmreuther He who laughs last uses OS/2.
[vchkpw] MySQL questions, vchkpw tcpserver
I've got a couple of issues. I'm in the process of migrating a cluster of qmail servers to MySQL backend for authentication, and have a question: I'm set up to use vpopmail:relay table to track pops, and I've applied the tcpserver patch to also use vpopmail:relay to store info on 'always-allowed' relaying from our own IPs. My questions: 1 - Previously, with .cdb arrangement, we used the form 192.168.0. to permit relaying from any machine in that /24 network. How do I specify the same using vpopmail:relay?? When I've tried using the same form, it appears not to work. Do I need to insert each IP individually? (that'd be ugly, with a /21 public network and roughly the same size in combined private networks, but if that's the way then that's the way...) 2 - Allowing 'permanent' relaying - Do I just use a ridiculously high timestamp? 3 - How did I end up with entries like this in vpopmail:relay??? | 216.26.255.33 | 1080657350 | | 216.26.255.65.41.4 | 108036425024 | I've got (currently) two qmail/vpopmail nodes in the cluster running on the MySQL backend, and a third still on cdb (until we're assured of the stability of the new setup). Because of this split, I've written a small perl program that periodically synchronizes the two - it reads in open-smtp, reads in all entries from the relay table, removes the earlier of any duplicates, then inserts/updates entries in the db and writes a new open-smtp. j -- Not all those who wander are lost. - JRR Tolkien
[vchkpw] SMTP-Auth question
Is there any way to set up SMTP-Auth, while still allowing pop-b4-smtp? So far when I've rebuilt the system with SMTP-Auth patching, it will ONLY accept SMTP-Auth to allow relaying... :( We have several thousand clients set up on pop-b4-smtp, and forcing a mass migration to smtp-auth is out of the question, yet I /really/ want to get proper smtp-auth working, so new clients are already there, and current clients are migrated as we are able to do so. We're set up with qmail/vpopmail on mysql backend, in an IPVS cluster arrangement of three mailnodes, a director, and a DB/fileserver backend. Worst-case I guess I can assign a second public IP and a separate DNS entry, and force SMTP-Auth clients to use the second FQDN, routing that to a single node that supports SMTP-Auth, but then I lose the benefit of clustering. :( Any insights are appreciated. j -- Not all those who wander are lost. - JRR Tolkien
RE: [vchkpw] MySQL questions, vchkpw tcpserver
Im not certain, but I think you can add the IP like 192.168.0 with a NULL timestamp with version 2 of the tcpserver patch. Shane -Original Message- From: Joel Newkirk [mailto:[EMAIL PROTECTED] Sent: Tuesday, 30 March 2004 11:41 PM To: [EMAIL PROTECTED] Subject: [vchkpw] MySQL questions, vchkpw tcpserver I've got a couple of issues. I'm in the process of migrating a cluster of qmail servers to MySQL backend for authentication, and have a question: I'm set up to use vpopmail:relay table to track pops, and I've applied the tcpserver patch to also use vpopmail:relay to store info on 'always-allowed' relaying from our own IPs. My questions: 1 - Previously, with .cdb arrangement, we used the form 192.168.0. to permit relaying from any machine in that /24 network. How do I specify the same using vpopmail:relay?? When I've tried using the same form, it appears not to work. Do I need to insert each IP individually? (that'd be ugly, with a /21 public network and roughly the same size in combined private networks, but if that's the way then that's the way...) 2 - Allowing 'permanent' relaying - Do I just use a ridiculously high timestamp? 3 - How did I end up with entries like this in vpopmail:relay??? | 216.26.255.33 | 1080657350 | | 216.26.255.65.41.4 | 108036425024 | I've got (currently) two qmail/vpopmail nodes in the cluster running on the MySQL backend, and a third still on cdb (until we're assured of the stability of the new setup). Because of this split, I've written a small perl program that periodically synchronizes the two - it reads in open-smtp, reads in all entries from the relay table, removes the earlier of any duplicates, then inserts/updates entries in the db and writes a new open-smtp. j -- Not all those who wander are lost. - JRR Tolkien
Re: [vchkpw] vchkpw won't authorize non-virtual users
Hi, I first compiled with -enable-roaming-users=y, but then re-compiled with no options. None of the docs I consulted referred to the -enable-passwd option (is that a double hyphen in the compile options?). Rob On Mar 30, 2004, at 2:16 AM, Gary wrote: From: Rob Yale Hi, I just finished installing and configuring vpopmail as per instructions in Dave Sill's The Qmail Handbook. When I attempt to test authorization of a non-virtual user, it fails. I telnet'ed to 0.0.0.0 on port 110, specified user rob and then pass 12345. I then get -ERR authorization failed. Here is my /service/qmail-pop3d/run file: #!/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 \ pop.yalemusic.ca /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21 I've been searching for a way to debug this, but haven't found anything. Can anyone suggest something that might be a good place to look? What is your vpopmail build config options? ./configure --? http://www.inter7.com/vpopmail/install.txtLook #12 Gary Rob Yale Yale Music Composition and Production
Re: [vchkpw] MySQL questions, vchkpw tcpserver
On Tuesday 30 March 2004 03:40 pm, Joel Newkirk wrote: I'm set up to use vpopmail:relay table to track pops, and I've applied the tcpserver patch to also use vpopmail:relay to store info on 'always-allowed' relaying from our own IPs. ugh. this is better: http://untroubled.org/relay-ctrl put /var/spool/relay-ctrl on an nfs share. Easy as pie. then you can just use normal tcprules stuff if you want to do static relay controls, etc. -Jeremy -- Jeremy Kitchen Systems Administrator [EMAIL PROTECTED] Kitchen @ #qmail on EFNet - Join the party! . Inter7 Internet Technologies, Inc. www.inter7.com 866.528.3530 toll free 847.492.0470 int'l 847.492.0632 fax GNUPG key ID: 93BDD6CE
RE: [vchkpw] SMTP AUTH with vchkpw
A1: The one I downloaded from here, it doesn't have a version on it. Wget http://archives.servercove.com/qmail/qmail-smtpd.c A2: Here is a copy of my smtpd run file: #!/bin/sh QMAILDUID=85 NOFILESGID=85 exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver \ -H -l yourhost.yourdomain.com \ -v -x /etc/tcp.smtp.cdb \ -c 20 -R -u -g 0 smtp \ /usr/local/bin/rblsmtpd -b -C \ -r 'relays.ordb.org:Your message was rejected because the mail server you use is configured to allow OPEN RELAY - More detailed information regarding this problem is available from http://www.ordb.org/lookup/?%IP% - Please forward this error through to your email server support staff for easy resolution.' \ -t 5 \ /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true 21 A3: I use pam-0.75-48 and how do I show you its file mods. A4: email goes through without a problem instead of prompting for a password when authentication is not activated. A5: smptd log shows no unusual activity and does not prompt for authentication. -Original Message- From: Erwin Hoffmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 3:07 AM To: [EMAIL PROTECTED] Subject: RE: [vchkpw] SMTP AUTH with vchkpw HI, At 23:19 29.03.04 -0500, you wrote: I seem to be having a hard time getting smpt auth to work, when ever I try to send e-mail without authentication enabled it goes through fine. My setup is qmail+vpopmail+mysql+courier-imap+squirrel mail any suggestions? If have to be specific to get a specific answer. Q1: What SMTP Auth patch are you using for qmail ? Q2: How do you call qmail-smtpd ? Q3: What PAM do you use ? show us it's file mods ! Q4: What SMTP responses do you get ? Q5: What do the qmail-smtpd logs say ? regards. --eh. -Original Message- From: Erwin Hoffmann [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 8:22 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [vchkpw] SMTP AUTH with vchkpw Hi Jeremy, At 15:10 28.03.04 -0600, Jeremy Kitchen wrote: On Sun, 2004-03-28 at 14:52, Werner Amon wrote: QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` [required post trimming] exec /usr/local/bin/softlimit -m 1000 /usr/local/bin/tcpserver -v -R -l $LOCAL -u $QMAILDUID -x /etc/tcp.smtp.cdb -c $MAXSMTPD -g $NOFILESGID 0 smtp \ /var/qmail/bin/qmail-smtpd rhost1.zfx.com /bin/checkpassword /bin/true 21 Change QMAILDUID and NOFILESGID from qmaild to vpopmail yes. and change /var/qmail/bin/qmail-smtpd rhost1.zfx.com /bin/checkpassword /bin/true 21 to /var/qmail/bin/qmail-smtpd rhost1.zfx.com /home/vpopmail/bin/vchkpw /bin/true 21 This might not be true. If Chris is using my version of the SMTP Auth patch http://www.fehcom.de/qmail/smtpauth.html the domain argument rhost1.zfx.com has to be omitted. regards. --eh. Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24 Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
RE: [vchkpw] MySQL questions, vchkpw tcpserver
The mysql server patch for tcpserver works very well and its simple to use. That's aside from the fact that almost every qmail install out there is using tcpserver anyway. Makes sense to keep it simple. But each to their own, I personally would rather keep all the IP's that are allowed to relay in one place. PS: I just confirmed the format is as I said before. Add the IP address like 192.168.0 with a NULL timestamp. Shane On Tuesday 30 March 2004 03:40 pm, Joel Newkirk wrote: I'm set up to use vpopmail:relay table to track pops, and I've applied the tcpserver patch to also use vpopmail:relay to store info on 'always-allowed' relaying from our own IPs. ugh. this is better: http://untroubled.org/relay-ctrl put /var/spool/relay-ctrl on an nfs share. Easy as pie. then you can just use normal tcprules stuff if you want to do static relay controls, etc.
[vchkpw] Vpopmail 5.4.0 + spamassassin
Im trying to achieve this: Vpopmail 5.4.0 with SpamAssassin 2.6.3 with auto-created .spamassassin dirs and the user_prefs file copied over. I have the patch on SpamAssassin 2.6.3 to do the auto creation. I am currently calling spamc from .qmail-default with the line: | spamc -f -u [EMAIL PROTECTED] | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox This does not appear to be auto creating the dirs. Do I have to patch vpopmail to make this happen? And if so .. is : http://sourceforge.net/tracker/index.php?func=detailaid=877367group_id=85937atid=577800 the patch I need.. and if so.. how can I download it since its not available for d/l off of that site. btw.. Vpopmail 5.4.0 and SpamAssassin 2.6.3 are both functioning properly and user's ~/.spamassassin/user_prefs is being used
Re: [vchkpw] Vpopmail 5.4.0 + spamassassin
On Tuesday 30 March 2004 12:39 pm, Phisher1 wrote: Im trying to achieve this: Vpopmail 5.4.0 with SpamAssassin 2.6.3 with auto-created .spamassassin dirs and the user_prefs file copied over. I have the patch on SpamAssassin 2.6.3 to do the auto creation. I am currently calling spamc from .qmail-default with the line: | spamc -f -u [EMAIL PROTECTED] | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox This does not appear to be auto creating the dirs. Do I have to patch vpopmail to make this happen? And if so .. is : http://sourceforge.net/tracker/index.php?func=detailaid=877367group_id=85 937atid=577800 the patch I need.. and if so.. how can I download it since its not available for d/l off of that site. btw.. Vpopmail 5.4.0 and SpamAssassin 2.6.3 are both functioning properly and user's ~/.spamassassin/user_prefs is being used Pull down the cvs version of vpopmail. It has my changes to support all of this. Be sure to use the new option --enable-spamassassin=y Then use the default .qmail-default file. vdelivermail will fork the spamc process with the right variables create the directory. Also be sure to patch spamassassin with the patch up on source forge. This setup works great for us. Hope that helps, Ken Jones inter7.com
[vchkpw] Can ALL domains be virtual
Ok, Since I'm having no success getting vchkpw to authorize non-virtual users, could I simply make all my domains virtual? I'd prefer to figure out why vchkpw won't quthorize correctly, but is this a viable solution? Thanks, Rob Yale Yale Music Composition and Production
Re: [vchkpw] Can ALL domains be virtual
On Tuesday 30 March 2004 01:34 pm, Rob Yale wrote: Ok, Since I'm having no success getting vchkpw to authorize non-virtual users, could I simply make all my domains virtual? I'd prefer to figure out why vchkpw won't quthorize correctly, but is this a viable solution? Making all domains virtual is the recommended method. Ken Jones
[vchkpw] mbox to maildir
Not sure if this is the right place to post this or not. If its not, feel free to slap me.\ I have several mailboxes in the mbox format (traditional one file in /var/spool/mail/username). I need to convert these to maildir format. Ive seen the maildir2mbox, but thats going the wrong way. I need mbox2maildir. Thanks, Chris Miller Compuville www.compuville.net
Re: [vchkpw] mbox to maildir
On Tuesday 30 March 2004 08:20 pm, Chris Miller wrote: Not sure if this is the right place to post this or not. If it's not, feel free to slap me.\ *slap* I have several mailboxes in the mbox format (traditional one file in /var/spool/mail/username). I need to convert these to maildir format. I've seen the maildir2mbox, but that's going the wrong way. I need mbox2maildir. google will find this, however, here's the one I use: http://untroubled.org/mbox2maildir The reason I like it is because I can specify the path to the mbox and the path to the maildir, and it just converts it, which makes it handy for scripting. -Jeremy -- Jeremy Kitchen Systems Administrator [EMAIL PROTECTED] Kitchen @ #qmail on EFNet - Join the party! . Inter7 Internet Technologies, Inc. www.inter7.com 866.528.3530 toll free 847.492.0470 int'l 847.492.0632 fax GNUPG key ID: 93BDD6CE
Re: [vchkpw] Vpopmail 5.4.0 + spamassassin
Ken Jones wrote: On Tuesday 30 March 2004 12:39 pm, Phisher1 wrote: Im trying to achieve this: Vpopmail 5.4.0 with SpamAssassin 2.6.3 with auto-created .spamassassin dirs and the user_prefs file copied over. I have the patch on SpamAssassin 2.6.3 to do the auto creation. I am currently calling spamc from .qmail-default with the line: | spamc -f -u [EMAIL PROTECTED] | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox This does not appear to be auto creating the dirs. Do I have to patch vpopmail to make this happen? And if so .. is : http://sourceforge.net/tracker/index.php?func=detailaid=877367group_id=85 937atid=577800 the patch I need.. and if so.. how can I download it since its not available for d/l off of that site. btw.. Vpopmail 5.4.0 and SpamAssassin 2.6.3 are both functioning properly and user's ~/.spamassassin/user_prefs is being used Pull down the cvs version of vpopmail. It has my changes to support all of this. Be sure to use the new option --enable-spamassassin=y Then use the default .qmail-default file. vdelivermail will fork the spamc process with the right variables create the directory. Also be sure to patch spamassassin with the patch up on source forge. This setup works great for us. Hope that helps, Ken Jones inter7.com Thanks alot Ken. I got it working great.. One question though, which template file is it copying over for SpamAssassin I thought it was .../Mail-SpamAssassin-2.63/rules/user_prefs.template But that isn't so..
RE: [vchkpw] Vpopmail 5.4.0 + spamassassin
Never mind. /usr/share/spamassassin/user_prefs.template -Original Message- From: Phisher1 [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 3:35 PM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] Vpopmail 5.4.0 + spamassassin Ken Jones wrote: On Tuesday 30 March 2004 12:39 pm, Phisher1 wrote: Im trying to achieve this: Vpopmail 5.4.0 with SpamAssassin 2.6.3 with auto-created .spamassassin dirs and the user_prefs file copied over. I have the patch on SpamAssassin 2.6.3 to do the auto creation. I am currently calling spamc from .qmail-default with the line: | spamc -f -u [EMAIL PROTECTED] | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox This does not appear to be auto creating the dirs. Do I have to patch vpopmail to make this happen? And if so .. is : http://sourceforge.net/tracker/index.php?func=detailaid=877367group_ id=85 937atid=577800 the patch I need.. and if so.. how can I download it since its not available for d/l off of that site. btw.. Vpopmail 5.4.0 and SpamAssassin 2.6.3 are both functioning properly and user's ~/.spamassassin/user_prefs is being used Pull down the cvs version of vpopmail. It has my changes to support all of this. Be sure to use the new option --enable-spamassassin=y Then use the default .qmail-default file. vdelivermail will fork the spamc process with the right variables create the directory. Also be sure to patch spamassassin with the patch up on source forge. This setup works great for us. Hope that helps, Ken Jones inter7.com Thanks alot Ken. I got it working great.. One question though, which template file is it copying over for SpamAssassin I thought it was .../Mail-SpamAssassin-2.63/rules/user_prefs.template But that isn't so..
Re: [vchkpw] Re: Blackholing a sender
At 30/03/04 20:39 (), you wrote: Hello Devendra, On Tuesday, March 30, 2004 at 4:07:31 PM you wrote (at least in part): I have a peculiar requirement of just trashing a particular Mail From: to any of the virtual domains hosted on a Server. echo SENDERADDRESS /var/qmail/control/badmailfrom In that case even I do not want to bounce the mail just trash (/dev/null) it. using badmailfrom is like /dev/null'ing for you. You'll neither see the bounce nor does your qmail have to handle it (even if it can't be delivered). That the absolutely easiest and cleanest solution for that problem. -- Best regards Peter Palmreuther He who laughs last uses OS/2. Dear Peter, Thanks for your solution. But, the badmailfrom would give a bounce from qmail-smtpd (MTA). I just wanted to blackhole it, without sending any intimation even if it violates any RFC. Any other pointers !!! Devendra Singh
Re: [vchkpw] Re: Blackholing a sender
I bet if you look at the tcprules help file there might be something to help. Check out http://cr.yp.to/ucspi-tcp/tcprules.html -John - Original Message - From: Devendra Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 8:52 PM Subject: Re: [vchkpw] Re: Blackholing a sender At 30/03/04 20:39 (), you wrote: Hello Devendra, On Tuesday, March 30, 2004 at 4:07:31 PM you wrote (at least in part): I have a peculiar requirement of just trashing a particular Mail From: to any of the virtual domains hosted on a Server. echo SENDERADDRESS /var/qmail/control/badmailfrom In that case even I do not want to bounce the mail just trash (/dev/null) it. using badmailfrom is like /dev/null'ing for you. You'll neither see the bounce nor does your qmail have to handle it (even if it can't be delivered). That the absolutely easiest and cleanest solution for that problem. -- Best regards Peter Palmreuther He who laughs last uses OS/2. Dear Peter, Thanks for your solution. But, the badmailfrom would give a bounce from qmail-smtpd (MTA). I just wanted to blackhole it, without sending any intimation even if it violates any RFC. Any other pointers !!! Devendra Singh
Re: [vchkpw] SMTP AUTH with vchkpw
Hi, At 16:12 30.03.04 +0200, signo wrote: hello, i've problems with smtp-auth, when i try to send email from a client the server ask always for a password (but the passwd is ok) please help me!! thanks signo situation: qmail: qmail-1.03 vpopmail: 5.3.28 smtp-auth patch on qmail: qmail-smtpd-auth-0.4.2 (http://www.fehcom.de/qmail/auth/qmail-smtpd-auth-042_tgz.bin) qmail-smtpd/run: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`head -1 /var/qmail/control/concurrencyincoming` if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD ]; then echo QMAILDUID, NOFILESGID or MAXSMTPD is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 2000 \ /usr/local/bin/tcpserver -v -R -u $QMAILDUID -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true 21 telnet on port 25: 220 ssigno_back.local ESMTP 250-ssigno_back.local 250-PIPELINING 250-8BITMIME 250 AUTH LOGIN PLAIN CRAM-MD5 Please read: http://www.fehcom.de/qmail/smtpauth.html Do you have an error messages; traces ? Do a which true ! Does /bin/true exist ? regards. --eh. Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
Re: [vchkpw] SMTP-Auth question
Hi, At 10:48 30.03.04 -0500, Joel Newkirk wrote: Is there any way to set up SMTP-Auth, while still allowing pop-b4-smtp? Yes. So far when I've rebuilt the system with SMTP-Auth patching, it will ONLY accept SMTP-Auth to allow relaying... :( You have to write a wrapper script around qmail-smtpd (called from tcpserver). In case a client is accepted via pop-4-smtpd, the $RELAYCLIENT environment variable is set. It might be useful to define this variable explicitely, ie. RELAYCLIENT=PB4S. Check it and call qmail-smtpd without any arguments. In case the variable is not set or empty, call qmail-smtpd with the proper SMTP Auth args. We have several thousand clients set up on pop-b4-smtp, and forcing a mass migration to smtp-auth is out of the question, yet I /really/ want to get proper smtp-auth working, so new clients are already there, and current clients are migrated as we are able to do so. We're set up with qmail/vpopmail on mysql backend, in an IPVS cluster arrangement of three mailnodes, a director, and a DB/fileserver backend. Worst-case I guess I can assign a second public IP and a separate DNS entry, and force SMTP-Auth clients to use the second FQDN, routing that to a single node that supports SMTP-Auth, but then I lose the benefit of clustering. :( Any insights are appreciated. I charge $1 for each mail client. Read: http://www.fehcom.de/qmail/smtpauth.html regards. --eh. Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24