Re: [vchkpw] qmail-tap documentation error?
On 2005-10-04, at 1317, Paul Theodoropoulos wrote: From the qmailtap INSTALL file: 4) Done To compile it you will at least need to change the error.h file to include errno.h just after the ifdefs at the top of the file. #include error.h doesn't make sense. shouldn't the include line be #include errno.h ? you need angle brackets (i.e. less than and greater than signs) around the filename errno.h. an easier way to describe it is... find this line: extern int errno; and replace it with these lines: /* extern int errno; */ #include errno.h and actually the first line, the one starting with /* and ending with */, is not really necessary. in C, /* starts a comment, and */ ends a comment... so if you were to remove the entire line instead of commenting it out, it ends up having the same effect. this sed one-liner will do the job for any of djb's packages: sed -i -e '/extern int errno/{s/^/\/* /;s/$/ *\//;G;s/$/#include errno.h/;}' error.h and the fix is only necessary for systems using glibc-2.3 or newer... if you're using an older glibc, or not using glibc at all, you don't need to do it. -- | John M. Simpson - KG4ZOW - Programmer At Large | | http://www.jms1.net/ [EMAIL PROTECTED] | -- | Mac OS X proves that it's easier to make UNIX | | pretty than it is to make Windows secure. | -- PGP.sig Description: This is a digitally signed message part
Re: [vchkpw] email wildcards?
On 2005-10-04, at 1959, Ducky wrote: How does one go about setting up wildcards? I just moved servers and all my wild cards do not seem to be working. On my other server with qmail i would just create a .qmail-$email- default file and point it to the local directory. Example: I set up [EMAIL PROTECTED] now I want a wildcard for all [EMAIL PROTECTED] to [EMAIL PROTECTED]'s local mailbox. I would create .qmail-foo-default which contains | true ./foo/Maildir/ this procedure should work. and you don't need the | true line in each file, that's just wasting CPU cycles. you may need to check the ownership and permissions of the .qmail-* files you're creating. they should be owned by the vpopmail user, set to the vchkpw group, and have permissions 0600. if the vpopmail user can't read them, qmail-local (which will be running as the vpopmail user) won't be able to follow the directions they contain. http://qmail.jms1.net/scripts/ has a script called vfixpermissions (currently the last item on the page) which will recursively fix the permissions for all of your vpopmail domains. -- | John M. Simpson - KG4ZOW - Programmer At Large | | http://www.jms1.net/ [EMAIL PROTECTED] | -- | Mac OS X proves that it's easier to make UNIX | | pretty than it is to make Windows secure. | -- PGP.sig Description: This is a digitally signed message part
Re: [vchkpw] qmail-tap documentation error?
At 11:10 PM 10/6/2005, John Simpson wrote: To compile it you will at least need to change the error.h file to include errno.h just after the ifdefs at the top of the file. #include error.h doesn't make sense. shouldn't the include line be #include errno.h ? you need angle brackets (i.e. less than and greater than signs) around the filename errno.h. what i was getting at is that the docs say to change the error.h file to include errno.h - but the include it describes is to include error.h in error.h. i'm no C programmer, but that seemed wrong. as noted it doesn't apply to me, i run solaris. Paul Theodoropoulos http://www.energynucleus.com http://www.anastrophe.com http://www.smileglobal.com
Re: [vchkpw] a vpopbull question
On 2005-10-07, at 1113, [EMAIL PROTECTED] wrote: Yesterday I want to get a list of all emails accounts on my mail server, so i run vpopbull. I got this message ~vpopmail/bin/vpopbull -n -V ~mbeltran/cuentas.txt skipping promotionalrepaldo/home.123.hn (alias of promotionalhome. 123.hn) skipping simon.intertel.hn (alias of hn2.com) ... When i look the file cuentas.txt, in fact, vpopbull skip to list accounts in a alias domain. the question is: how can get the missing alias mails? short answer: you can't. it's written so that your users will see one copy of the message when they log into their mailbox. it adds each PHYSICAL mailbox addresses once- if you were to force it to include these alias domains, users in the alias domains would possibly receive multiple copies. I really need all accounts beause i need then for use in a recipients features for spamcontrol pathc vpopbull is the wrong tool for the job. this is the equivalent of using a chisel to loosen a screw- it can eventually be forced to work, but it's a lot of unnecessary effort. vpopbull is designed to fake message deliveries into vpopmail mailboxes, not to build a list of valid email addresses. you may want to look at my mkvalidrcptto script- it scans the system and vpopmail directories and generates a list of valid email addresses, with @domain for domains which accept all email addresses. it was designed to build a file for use with my validrcptto.cdb patch, although its output is just a plain-text list of email addresses (and @domain lines) and can be used for any number of other things, whether you're using my patches or not. http://qmail.jms1.net/patches/validrcptto.cdb.shtml -- | John M. Simpson - KG4ZOW - Programmer At Large | | http://www.jms1.net/ [EMAIL PROTECTED] | -- | Mac OS X proves that it's easier to make UNIX | | pretty than it is to make Windows secure. | -- PGP.sig Description: This is a digitally signed message part
RE: [vchkpw] a vpopbull question
Mr. Simpson: thank you for your advice. you may want to look at my mkvalidrcptto script- I'm interested on your script mkvalidrcptto but it has not a help. what is the syntax? it scans the system and vpopmail directories and generates a list of valid email addresses, with @domain for domains which accept all email addresses. I don't know if I wrong but I understand that if I have this: main domain: hn2.com alias of hn2.com: simon.intertel.hn So, if i have this email ie: [EMAIL PROTECTED] (of course it has an alias [EMAIL PROTECTED]) When I run ./mkvalidrcptto.pl [syntax ] I'll got the following list?: [EMAIL PROTECTED] [EMAIL PROTECTED] Thanks in advence Mario