Re: [vchkpw] Spam Protection with vpopmail and qmail
the only thing i've yet to figure out using qmail-scanner/SA together is once the message is marked, I want something to server side filter the messages to redirect to specific folders. Currently I use squirrelmail with rules to pipe messages to certain folders but if I check using a full client. I use Outlook express via IMAP all messages show up in the Inbox. I tried procmail but was un-successful. Otherwise I absolutely love Qmail-Scanner/Spamassin, its cut my spam down by 80% without tweaking any of the SA rules. Steve Schofield [EMAIL PROTECTED] http://www.bgeek.com - Original Message - From: Ross Davis - DataAnywhere.net [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 4:14 PM Subject: RE: [vchkpw] Spam Protection with vpopmail and qmail This has been discussed recently, but here is a toaster that will answer most questions http://www.jerfu.com/toaster Ross Davis DataAnywhere.net 250-470-9192 ChaletsOnline.com is coming soon Don't you deserve a vacation! -Original Message- From: Gonzo [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 12:09 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Spam Protection with vpopmail and qmail Hello. I have qmail with vpopmail installed. I don't know how to filter out spam mails. SpamAssassin seems to not support virtual domains and even if it would support them, how to tell procmail to filter mails for vpopmail? Gonzo
Re: [vchkpw] Corrupted Delivered-To header?
On Wed, Jun 25, 2003 at 09:33:36PM -0700, Tom Collins wrote: This is a bug in vdelivermail.c, in the section of code after the following comment: /* use the DTLINE variable, but skip past the dash in * [EMAIL PROTECTED] */ Basically, it assumes the first dash separates the domain name from the email address. The solution might be to find the '@' in DTLINE, determine the length of the domain name (@ to trailing NULL) and skip that many bytes from the beginning of the address. Maybe it's better to use other environment variables (USER, HOST, LOCAL, RECIPIENT?) to build the delivered-to header. I'm looking at the code, and I see that this generation of Delivered-To seems to be special. Other places generate that header use this: /* Set the Delivered-To: header */ if ( strcmp( address, bounce) == 0 ) { snprintf(DeliveredTo, AUTH_SIZE, %sDelivered-To: [EMAIL PROTECTED], getenv(RPLINE), TheUser, TheDomain); What's wrong with using this way all the time? Is it because it's a catch-all address? Is there anything wrong with just [EMAIL PROTECTED] in this special case? Thanks for your help! --Doug
RE: [vchkpw] Spam Protection with vpopmail and qmail
That sounds very interesting in regards to a project im currently working on, do you know if it would be possible to setup with smtproutes: 1. if it find virus in a mail, instead of relaying to original [EMAIL PROTECTED], it transfers it to another server/domain/account (fx. setup a vpopmail account on the relay server called [EMAIL PROTECTED]) qmail-scanner will quarantine viruses it finds locally. It has its own perl based scanner that you can define rules for (block all .exe, block by regexp, etc) -- works great for static subject viruses or hoaxes and other stuff. qmail-scanner will NOT quarantine spam, but it will 'tag' it in the same fashion that SA was written in. This probably answers your question. 2. same as above, just for spam mails instead (spamassasin score = 5) and to [EMAIL PROTECTED] Read the SA docs and the QS docs on this. You never ever ever quarantine an email because SA says it scored high enough. False positives are a fact of life, and quarantining is silly. In some jurisdictions if you quarantine one bad mail you're at fault for not being 100% effective. Therefor, if you are merely scoring, it is up to the end user to a) move it to another folder or b) trash it and risk losing data. I told a specific person here that they should not dump all mail to the trash folder. They ignored me and did it anyway. They attempted to blame Spam Assassin for their loss of an important contract related email a week later, and the fact is the fault lies in the hands of the fool who chose to let a program automatically delete their email without reviewing it. SA and QS work perfect as is. Quarantining or automating deletion is just pointless and dangerous. 3. if you just relay scan why dont you use Messagewall? Not sure what Messagewall does. I love SA's accuracy rate and I like the way it modifies headers. I actually have a system that works like this: border smtp server | Check for spam score | Then, via smtp routes, if domain is paying for spam detection forward to virus scanner qmail implementation. If they're not, forward to internal server that accepts pop connections. The virus scanner will do the same. Scan, then forward to the same internal server. We do this direction detection by changing the destination (per domain) in smtproutes. -jeff 4. OT: does anyone know if ClamAV works with Squid? (viruscanning http transfers)
Re: [vchkpw] Spam Protection with vpopmail and qmail
On Thursday, June 26, 2003, at 01:23 PM, Jeff Garvas wrote: I highly suggest installing qmail-scanner and reading the howto for using spam assassin with it. I don't like the overhead of qmail-scanner, so I'm just using qmail-spamc as a replacement for qmail-queue. Take a look at the qmail directory of SpamAssassin for the source to qmail-spamc and instructions on how to use it. -- Tom Collins [EMAIL PROTECTED]
RE: [vchkpw] Spam Protection with vpopmail and qmail
Jeff, That sounds very interesting in regards to a project im currently working on, do you know if it would be possible to setup with smtproutes: 1. if it find virus in a mail, instead of relaying to original [EMAIL PROTECTED], it transfers it to another server/domain/account (fx. setup a vpopmail account on the relay server called [EMAIL PROTECTED]) 2. same as above, just for spam mails instead (spamassasin score = 5) and to [EMAIL PROTECTED] 3. if you just relay scan why dont you use Messagewall? 4. OT: does anyone know if ClamAV works with Squid? (viruscanning http transfers) Regards Cream At 16:23 26-06-2003 -0400, you wrote: Gonzo, I highly suggest installing qmail-scanner and reading the howto for using spam assassin with it. It works perfect. You scan mail prior to the queue stage, and if you configure it right, everything is hidden in the headers. I scan it this way for over 5000 people and most of them don't even realize its hidden in the headers. This also lets you do it on a separate machine, so if you want to hand it off to a machine with /var/qmail/control/smtproutes you can. qmail-scanner is not as hard to setup as it appears. It requires the QMAILQUEUE patch. -jeff -Original Message- From: Gonzo [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 4:09 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Spam Protection with vpopmail and qmail Hello. I have qmail with vpopmail installed. I don't know how to filter out spam mails. SpamAssassin seems to not support virtual domains and even if it would support them, how to tell procmail to filter mails for vpopmail? Gonzo Cream[DONut] - www.donut.dk www.nethouse2000.dk - admin
Re: [vchkpw] aliases
Hi Francesco, On Thu, 26 Jun 2003 12:32:42 +0200 Francesco Messere wrote: I done it, got qmail restart-command , ^ Why? and set an alias for root, How? but when i send a mail to it I get this error here is qmail log @40003efa9b001bb2c83c info msg 263648: bytes 635 from [EMAIL PROTECTED] qp 2072 uid 50 8 @40003efa9b0022f4c8ac starting delivery 1: msg 263648 to local [EMAIL PROTECTED] @40003efa9b0022f53ddc status: local 1/10 remote 0/20 @40003efa9b00261296f4 delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._vpopmail _(#5.1.1)/ Obviously fastforward wasn't able to lookup the alias and find a forward rules, else vpopmail wouldn't have been invoked. So obviously you've set up the alias in a wrong way. Why don't you simly stick with dot-qmail files in ~vpopmail/domains/domain as intended unless you _know_ what you're doing? I don't see a single advantage in what you're trying to do over simply putting [EMAIL PROTECTED] into ~vpopmail/domains/test.com/.qmail-root This way qmail-local already handles delivery, no additional program is invoked - no fork()'s, spawn()'s or exec()'s, more foolproof than fastforward+vdelivermail, easier to maintain (via qmailadmin). So either get a clue about how qmail works and you'll find out how to invoke fastforward (albeit unnecessary and superfluous) or stick with native qmail-local+vpopmail+qmailadmin solution. P.S.: Top posting (answer above question) is the most efficient way of _not_ getting many answers. Think about it P.P.S.: No, using Outlook is no excuse for this. Only because this is default in Lookout this doesn't make it better (readable). P.P.P.S.: A reply indicator of only 'R' isntead of 'Re' is uncommon and might destroy threading and this is an answer detection in some MUAs, especially if References headers are stripped as well. Try to get used to using 'Re' as zillion of other people too; makes life easier for all of us. -- Ciao, Pit
Re: [vchkpw] maildirsize + vpopmail
hi doods, i have another question that. if I set the quota 50MB then later change to 100MB . why it still keep 50MB quota...ever I receive a new mail...( i send a new email to myself ) tq DOODS wrote: Yup. It is automatically modified. Good to hear it worked. Warm Regards, DOODS TQ it work... it is mean once receive mail it will recalculate and generate the maildirsize ?? tq DOODS wrote: Try sending an email to that account and it will be automatically updated. Don't edit it manually. Warm Regards, DOODS hi, when I do vsetuserquota under vpopmail.. why the maildirsize in Maildir still remain unchange ? tq -- Regards Kenneth Ling ranhill engineers and constructors sdn bhd - Webmail service provided by GlobeLines. Visit us at http://www.glinesnx.com.ph. -- Regards Kenneth Ling ranhill engineers and constructors sdn bhd - Webmail service provided by GlobeLines. Visit us at http://www.glinesnx.com.ph. -- Regards Kenneth Ling ranhill engineers and constructors sdn bhd
Re: [vchkpw] maildirsize + vpopmail
I try on vqadmin Kenneth Ling wrote: hi doods, i have another question that. if I set the quota 50MB then later change to 100MB . why it still keep 50MB quota...ever I receive a new mail...( i send a new email to myself ) tq DOODS wrote: Yup. It is automatically modified. Good to hear it worked. Warm Regards, DOODS TQ it work... it is mean once receive mail it will recalculate and generate the maildirsize ?? tq DOODS wrote: Try sending an email to that account and it will be automatically updated. Don't edit it manually. Warm Regards, DOODS hi, when I do vsetuserquota under vpopmail.. why the maildirsize in Maildir still remain unchange ? tq -- Regards Kenneth Ling ranhill engineers and constructors sdn bhd - Webmail service provided by GlobeLines. Visit us at http://www.glinesnx.com.ph. -- Regards Kenneth Ling ranhill engineers and constructors sdn bhd - Webmail service provided by GlobeLines. Visit us at http://www.glinesnx.com.ph. -- Regards Kenneth Ling ranhill engineers and constructors sdn bhd -- Regards Kenneth Ling ranhill engineers and constructors sdn bhd
Re: [vchkpw] Corrupted Delivered-To header?
On Thu, Jun 26, 2003 at 03:08:47AM +0100, Robin Szemeti wrote: On Thursday 26 June 2003 02:41, Doug Clements wrote: Greetings, We're getting a report of a bogus Delivered-To header from one of our customers. Apparently, Exchange relies on this in some way. it shouldn't. I agree :) The header lines are not normally used in mail routing. exchange *should* be using the smtp envelope (ie the RCPT [EMAIL PROTECTED] that is passed in the SMTP exchange) to route the message, rather than information in a message header, which is purely for post-event audit purposes. They're retrieving the mail via POP after it's been delivered to our mail system, so there's no RCPT for them to use, unfortunately. sadly I don't know of a 'fix' ... but there may be one ... I suspect this is a qmail issue rather than a vchkpw issue,( although really, all its doing is Well, the problem started when I moved from using a .qmail file for each user (which was calling Maildrop to deliver mail) to using vdelivermail. So I was pretty sure it had something to do with vpopmail.. Thanks for your input! I'll see if they can alias systems.com on their side while I try to figure out a better way to generate a Delivered-To header.. --Doug
Re: [vchkpw] Spam Protection with vpopmail and qmail
Nice, that looks like a very nice toaster (so nice im going to dedicate a machine to testing it out), only 2 comments 1. when installing SpamAssasin you should always install Razor2 first (spamassasin will automaticaly use it, and razor is great for those clever spammers that uses tricks) http://razor.sourceforge.nethttphttp://razor.sourceforge.net://razor.sourceforge.net 2. its a pretty old file, a few of the titles have new versions out, so you should check every site before downloading. Cream At 17:57 26-06-2003 -0400, you wrote: I have not tried the full implementation of SA yet with my domains as I am on a temp test of seeing how much mail actually gets tagged as spam, and so far I am impressed .. it is only missing 1 out of every 30 or so, but if you go here ... http://www.jerfu.com/toaster/FullToaster_1.0.6.html there is instructions on how to edit vopmail, and create the sorting script. Regards, Rob G [EMAIL PROTECTED] Cream[DONut] - www.donut.dk www.nethouse2000.dk - admin
[vchkpw] Return usage problem
Hi, I've got problems with some users mailboxs. usage give by vuserinfo command return a different value than real folder size (du). Here, folder have a size of 1.9 Mo. vuserinfo return than 80% of the mailbox is use, the quota is 20 Mo. [EMAIL PROTECTED] Maildir]# /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED] name: cyril.lefevre passwd: $1$E0dEN$HkBIWFsNHE7Ek1jxatPvX/ clear passwd: x uid:1 gid:4096 has qmailadmin administrator privileges dir: /home/vpopmail/domains/mydomain.com/cyril.lefevre quota: 2000 usage: 80% last auth: Fri Jun 27 07:58:26 2003 last auth ip: 192.168.0.16 [EMAIL PROTECTED] Maildir]# du -hs /home/vpopmail/domains/myadomain.com/cyril.lefevre 1.9M/home/vpopmail/domains/mydomain.com/cyril.lefevre I think there is a problem in maildirsize file. Can I delete it ? Or how can I build a new one ? Regards
Re: [vchkpw] Return usage problem
I answer to my own problem : I've remove the maildirsize, and do vuserinfo on mailbox user which have rebuild the file. Someone can say me if it's normal ? Can I avoid that ? David - Original Message - From: David du SERRE-TELMON [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 27, 2003 2:26 PM Subject: [vchkpw] Return usage problem Hi, I've got problems with some users mailboxs. usage give by vuserinfo command return a different value than real folder size (du). Here, folder have a size of 1.9 Mo. vuserinfo return than 80% of the mailbox is use, the quota is 20 Mo. [EMAIL PROTECTED] Maildir]# /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED] name: cyril.lefevre passwd: $1$E0dEN$HkBIWFsNHE7Ek1jxatPvX/ clear passwd: x uid:1 gid:4096 has qmailadmin administrator privileges dir: /home/vpopmail/domains/mydomain.com/cyril.lefevre quota: 2000 usage: 80% last auth: Fri Jun 27 07:58:26 2003 last auth ip: 192.168.0.16 [EMAIL PROTECTED] Maildir]# du -hs /home/vpopmail/domains/myadomain.com/cyril.lefevre 1.9M/home/vpopmail/domains/mydomain.com/cyril.lefevre I think there is a problem in maildirsize file. Can I delete it ? Or how can I build a new one ? Regards
SV: [vchkpw] Return usage problem
sorry if an out of office reply was sent out to the list... my bad. -- Geir O. Høgberg Priority Telecom Norway AS
Re: [vchkpw] Spam Protection with vpopmail and qmail
On Thu, 2003-06-26 at 22:08, Gonzo wrote: Hello. I have qmail with vpopmail installed. I don't know how to filter out spam mails. SpamAssassin seems to not support virtual domains and even if it would support them, how to tell procmail to filter mails for vpopmail? Gonzo I have a setup that my users are happy with. In short, this is what it does... It filter out spam to the users .spam directory with a sitewide ruleset It lets the users toogle filtering on or off from qmailadmin It doesn't use qmail-scanner Install spamassasssin, according to the manual, perform the tests to make sure it is working. Install a recent qmailadmin (= 1.0.21) , compile it with the following options, among the other ones. Install a recent version of promail (3.22 or later) or you will notice that the files insade the maildirs looks sorta strange... erlier procmail doesnt use the maildir name-style format of the files. (watch out for lne wrapping here...) --enable-modify-spam=y \ --enable-spam-command='|preline /usr/bin/spamc -e /usr/bin/procmail -mp ../procmailfilter' The recent versions of qmailadmin has a detect-spam option which the user can toogle on/off as they like. ~vpopmail/domains/example.net/user/.qmail will look like this when detect-spam is checked; |preline /usr/bin/spamc -e /usr/bin/procmail -mp ../procmailfilter' create a decent procmailrc file and put it in the path defined withteh --enable-spam-command option. in this example it would be; ~vpopmail/domains/example.net/procmailfilter # Example of a global procmailfilter for qmail-vpopmail # - # # This file should be be named as stated below # ~/vpopmail/domains/whatever.com/procmailfiler # # This procmailfilter is supposed to be invoked # from ~vpopmail/domains/whatever.com/user/.qmail # # The .qmailfile should contain the following line # |preline /usr/bin/procmail -mp ../procmailfilter # # It is possible to make the line default for any # .qmail files created by users through qmailadmin # versions 1.0.21 or later. # # Shell to execute commands inside. SHELL=/bin/bash # Verbose mode (yes|no) # If set to yes you qmail-send log # will be full of verbose stuff. #VERBOSE=yes VERBOSE=no # Make sure that we have a .SPAM folder to sort SPAM into. # This will create a ~vpopmail/domains/domain/user/Maildir/.SPAM # direcory. This directory will be created as soon as the user # recives any mail. Spam or ham doesn't matter. It simply creates # the .SPAM directory, as well as subscribes it to courier-imap :0wic * ? test ! -d ./Maildir/.SPAM |( /var/qmail/bin/maildirmake ./Maildir/.SPAM ; \ /bin/echo INBOX.SPAM ./Maildir/courierimapsubscribed ) # Sort anything marked as SPAM into the users Maildir/.SPAM/ . :0: * ^X-Spam-Status: YES ./Maildir/.SPAM/ # Everything else goes to the users default Maildir/ . :0: * ./Maildir/ #EOF -- i3 micro technology ab Lars Gustafson System Administrator phone: +46(0)850638856 mobile:+46(0)708472037 [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
[vchkpw] rebuild automaticaly tcp.smtp.cdb
I run clearopensmtp with crontab on every minute to enable relayng for my pop users. How to rebuild tcp.smtp.cdb automaticaly when user logs to pop account ? Thanks
[vchkpw] POP authentication error
Hi, I use vpopmail in a Debian server. I have no problem until yesterday night when I recompile vpopmail for log all authentications. My configuration string is ./configure --enable-defaultquota=5000S,500C --enable-popuser=vpopmail --enable-tcpserver-file=/etc/tcp.smtp --enable-clear-passwd=y --enable-vpopgroup=vchkpw --enable-roaming-users=y --enable-logging=y UID for vpopmail user is 1009 GID for vchkpw group is 1001 ( that was working ok until yesterday ) Now when some user authenticate pop some vchkcw process never go down. And then all users are rejected with the this error: File busy try again later! I check it with strace and it say that: strace -p 3128 wait4(-1, 0xbcb8, 0, NULL) = -1 ECHILD (No child processes) wait4(-1, 0xbcb8, 0, NULL) = -1 ECHILD (No child processes) wait4(-1, 0xbcb8, 0, NULL) = -1 ECHILD (No child processes) wait4(-1, 0xbcb8, 0, NULL) = -1 ECHILD (No child processes) wait4(-1, 0xbcb8, 0, NULL) = -1 ECHILD (No child processes) wait4(-1, 0xbcb8, 0, NULL) = -1 ECHILD (No child processes) wait4(-1, 0xbcb8, 0, NULL) = -1 ECHILD (No child processes) wait4(-1, 0xbcb8, 0, NULL) = -1 ECHILD (No child processes) wait4(-1, 0xbcb8, 0, NULL) = -1 ECHILD (No child processes) When clearopensnmp start it have the same problem ( the same trace too ). And it have an error in the UID and GUI of open-smtp ( it was ok after install the software ). noc-m4alt:~/src/vpopmail-5.2.1# /var/vpopmail/bin/clearopensmtp 21 /dev/null [1] 6092 noc-m4alt:~/src/vpopmail-5.2.1# ls -lisa /var/vpopmail/etc/ total 28 5873204 drwxr-xr-x2 vpopmail vchkpw 4096 Jun 27 14:04 . 18740994 drwxr-xr-x9 root root 4096 Jun 27 12:59 .. 5873224 -rw-r--r--1 vpopmail vchkpw 24 Jun 27 13:11 inc_deps 5873234 -rw-r--r--1 vpopmail vchkpw 31 Jun 27 13:11 lib_deps 5896894 -rw-r--r--1 89 89 1323 Jun 27 14:04 open-smtp 5873250 -rw-r--r--1 vpopmail vchkpw 0 Jun 27 13:59 open-smtp.lock Please HELP Thanks a lot Matias Lambert OSInet Telecomunicaciones Argentina [EMAIL PROTECTED] http://www.osinet.com.ar I dont know what kind of weapons will be used in the third world war, assuming there will be a third world war. But I can tell you what the fourth world war will be fought with sticks and stones. Albert Einstein
RE: [vchkpw] POP authentication error
-Original Message- From: matiaslambert [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 12:14 PM To: [EMAIL PROTECTED] Subject: [vchkpw] POP authentication error Hi, I use vpopmail in a Debian server. I have no problem until yesterday night when I recompile vpopmail for log all authentications. My configuration string is ./configure --enable-defaultquota=5000S,500C --enable-popuser=vpopmail --enable-tcpserver-file=/etc/tcp.smtp --enable-clear-passwd=y --enable-vpopgroup=vchkpw --enable-roaming-users=y --enable-logging=y UID for vpopmail user is 1009 GID for vchkpw group is 1001 ( that was working ok until yesterday ) should be --enable-vpopuser=vpopmail, not --enable-popuser=vpopmail re-compile!
Re: [vchkpw] Re: POP authentication error
Is it possible that when posting to the list, you all use '[EMAIL PROTECTED]' in the To field *instead* of in the Cc:/Bcc:?? Then we can just hit reply instead of having to edit addresses and/or inadvertently duplicating messages! ( I'm sure Peter P. will concur ) Cheers, Chris. __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Re: [vchkpw] Strange Behaviour
On Friday, June 27, 2003, at 11:36 AM, Sérgio Manuel Rosa wrote: After that I replaced /var/qmail/bin/qmail-local with vqmaillocal, and I bellieved that everything was running smothly but It was'nt. I started to see a lot, really a lot of bounced mail, take a look at this bounced message I've never replaced qmail-local with vqmaillocal on my servers. Is this standard procedure? If not, perhaps you should stick with qmail-local. After reading README.vqmaillocal and looking at the date on vqmaillocal.c, I'd say that it's currently an incomplete replacement for qmail-local. -- Tom Collins [EMAIL PROTECTED]
Re: [vchkpw] Re: POP authentication error
Mat, All I can say is that I tried this on Deb Woody and ran into all sorts of authentication problems ( some caused no doubt by my own inexperience ). I ended up using dpkg / apt to remove all the Deb software versions then compiled and installed qmail, tcpserver, vpopmail, qmailadmin etc, from source. With everything then in the default locations, and no Deb Woody stuff getting in the way,way, the problems just seemed to evaporate... Chris. Yes and I recompile the source from the developers for all Chris Pugh writes: Just out of interest, are you using Debian Woody? If so, did you recompile from source on top the existing Debian versions of vpopmail/qmail? __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Re: [vchkpw] Re: POP authentication error
Chris Pugh wrote: I ended up using dpkg / apt to remove all the Deb software versions then compiled and installed qmail, tcpserver, vpopmail, qmailadmin etc, from source. With everything then in the default locations, and no Deb Woody stuff getting in the way,way, the problems just seemed to evaporate... Probably the packages installed themselves into various Debian-specific locations and then conflicted with the install from source. For important stuff, I find it generally better to always install from source and use the package systems just to manage the underlying OS. -- Aj. Systems Administrator / Developer
[vchkpw] Compile error - version 5.2.1
I get the following error when I try to compile on Debian GNU/Linux i686. root:/usr/local/src/vpopmail-5.2.1# make ... gcc -I. -Icdb -g -O2 -Wall -c vconvert.c In file included from vconvert.c:35: vmysql.h:53:22: missing terminating character vmysql.h:60:35: missing terminating character make[2]: *** [vconvert.o] Error 1 Looks like vmysql.h is missing a backslash on line 54 and 58. I see that this is still present in 5.3.20 http://www.mail-archive.com/[EMAIL PROTECTED]/msg12238.html Vinod
RE: [vchkpw] Re: POP authentication error
Thanks for all the advice, I don't know what happened, but I installed all again ( from source ) and it start working. I tried to install with the Debian precompiled packaged ( with apt-get ), Is really good, it have no problem, but I couldn't import all my virtualdomains, users and emails, any way to do that??? What is the best way to backup or import/export all users information? Thanks again. Matias Lambert OSInet Telecomunicaciones Panama 933 12 E Capital Federal - Buenos Aires Argentina - CA1185ACA [EMAIL PROTECTED] http://www.osinet.com.ar I don't know what kind of weapons will be used in the third world war, assuming there will be a third world war. But I can tell you what the fourth world war will be fought with sticks and stones. Albert Einstein
Re: [vchkpw] Compile error - version 5.2.1
On Friday, June 27, 2003, at 07:59 PM, Vinod Kurup wrote: I get the following error when I try to compile on Debian GNU/Linux i686. root:/usr/local/src/vpopmail-5.2.1# make ... gcc -I. -Icdb -g -O2 -Wall -c vconvert.c In file included from vconvert.c:35: vmysql.h:53:22: missing terminating character vmysql.h:60:35: missing terminating character make[2]: *** [vconvert.o] Error 1 Looks like vmysql.h is missing a backslash on line 54 and 58. I see that this is still present in 5.3.20 http://www.mail-archive.com/[EMAIL PROTECTED]/msg12238.html Vinod Ken, please apply this patch to 5.3.20. When can we expect the release of 5.3.21? You've got a lot of patches in there, and it would be great if people could start testing them. The last stable release, 5.2.1, was made over a year ago. We've got a lot of improvements in the 5.3 series and we're not far from having a stable release. diff -u vpopmail-5.3.20/vmysql.h vpopmail-5.3.20-tc/vmysql.h --- vpopmail-5.3.20/vmysql.h2003-03-18 17:27:18.0 -0700 +++ vpopmail-5.3.20-tc/vmysql.h 2003-06-27 22:35:09.0 -0700 @@ -48,11 +48,11 @@ primary key (pw_name, pw_domain ) #else #define TABLE_LAYOUT pw_name char(32) not null, \ -pw_domain char(64) not null, +pw_domain char(64) not null, \ pw_passwd char(40), \ pw_uid int, pw_gid int, \ pw_gecos char(48), \ -pw_dir char(160), +pw_dir char(160), \ pw_shell char(20), \ primary key (pw_name, pw_domain ) #endif -- Tom Collins [EMAIL PROTECTED]
[vchkpw] vpopmail 5.3.20
I've managed to install vpopmail 5.3.20 and use it to create email address for all users. Mail incoming/outgoing is working fine. I've got a question, how do I create mail forwarding rules for say example email [EMAIL PROTECTED] [EMAIL PROTECTED] is being forwarded to: -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] I have read the accompany doc but does not seem to find how to config forwarding rules. My SMTP/Pop is qmail. Thanks!
Re: [vchkpw] Vpopmail --enable-roaming-users=y
clearopensmtp doesn't touch the open-smtp.tmp files, it removes expired addresses from open-smtp and rebuilds tcp.smtp.cdb. The fact that you have a bunch of those files lying around though means most likely that the tcp.smtp.cdb file can not be rebuilt due to one or more things running as the wrong user. chown everything to vpopmail:vchkpw, make sure your pop3 software is running as vpopmail:vchkpw and then make sure your clearopensmtp cron job runs the job as vpopmail. Ok, noted. I deleted all the tmp files out, and watched as more were created (as users POP'ed in). They were owned by root, and all were 0 bytes. Just blank files. I then changed the inetd line to launch pop3d under vpopmail.vchkpw, and these files were still created, just with vpopmail.vchkpw ownership. Also of interest is that an open-smtp.lock file is created under whichever user pop3d is run under, and does not get cleared... hrm. What pop3 software are you using? If qmail-pop3d post your run script for it, if courier, then the problem is courier has disabled the roaming users functionality. As a temporary fix, chown vchkpw vpopmail:vchkpw and then chmod 4755 vchkpw. If that fixes it, you definitely have a daemon running as the wrong user or something similar. Using qmail-pop3d out of inetd. The following line is what I currently have: (matches the docs) pop3 stream tcp nowait.300 root /var/qmail/bin/qmail-popup qmail-popup somehost.five-elements.com /home/vpopmail/bin/vchkpw /var/qmai l/bin/qmail-pop3d Maildir David
Re: [vchkpw] vpopmail 5.3.20
I've got a question, how do I create mail forwarding rules for say example email [EMAIL PROTECTED] [EMAIL PROTECTED] is being forwarded to: -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] I would recommend that you install qmailadmin http://www.inter7.com/qmailadmin.html qmailadmin makes these sorts of tasks very simple Michael.
RE: [vchkpw] Vpopmail --enable-roaming-users=y
From: Phil Doroff [mailto:[EMAIL PROTECTED] Ok, noted. I deleted all the tmp files out, and watched as more were created (as users POP'ed in). They were owned by root, and all were 0 bytes. Just blank files. I then changed the inetd line to launch pop3d under vpopmail.vchkpw, and these files were still created, just with vpopmail.vchkpw ownership. Also of interest is that an open-smtp.lock file is created under whichever user pop3d is run under, and does not get cleared... hrm. Leave it running as vpopmail, that's better. The lock file is normal. What are the permissions on the files in that directory? David
Re: [vchkpw] Spam Protection with vpopmail and qmail
We run spamassassin with vpopmail and it works great. Gonzo wrote: Hello. I have qmail with vpopmail installed. I don't know how to filter out spam mails. SpamAssassin seems to not support virtual domains and even if it would support them, how to tell procmail to filter mails for vpopmail? Gonzo
Re: [vchkpw] Spam Protection with vpopmail and qmail
Joseph Young Involved.com System Admin I have been running SA and qmail-scanner on separate server that routes the email to server. On the server,I am using the latest development qmailadmin. It have spam options included it at the user level. It pipes the email through a maildrop filter script into a IMAP folder. If you would like a copy of my script, I will post it. joe - Original Message - From: Tom Collins [EMAIL PROTECTED] To: vpopmail list [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 3:04 PM Subject: Re: [vchkpw] Spam Protection with vpopmail and qmail On Thursday, June 26, 2003, at 01:23 PM, Jeff Garvas wrote: I highly suggest installing qmail-scanner and reading the howto for using spam assassin with it. I don't like the overhead of qmail-scanner, so I'm just using qmail-spamc as a replacement for qmail-queue. Take a look at the qmail directory of SpamAssassin for the source to qmail-spamc and instructions on how to use it. -- Tom Collins [EMAIL PROTECTED]