[vchkpw] autorespond with a [dot] in the email address
Hi I'm using autorespond (the debian package version) and vpopmail (custom deb) and it's set up and working but only partially. For address [EMAIL PROTECTED] with the .qmail file .qmail-foo the autorespond works, however for [EMAIL PROTECTED] with the .qmail file .qmail-foo.bar it won't, simple as that. If I rename to .qmail-foo and set up a valias for foo to foo.bar it works. The problem is that the foo.bar address is the one that everyone will be using. I did think about deleting foo.bar reinstating the account to foo and setting up a valias foo.bar but this seems heavy handed and will require quite a bit of work to migrate a lot of users. Is this easy to fix? have I missed something obvious? thanks Darren Beale
Re: [vchkpw] autorespond with a [dot] in the email address
On Saturday, February 21, 2004 7:16 AM, Darren Beale wrote: it won't, simple as that. If I rename to .qmail-foo and set up a valias for foo to foo.bar it works. try: mv .qmail-foo.bar .qmail-foo\:bar Is this easy to fix? have I missed something obvious? think so.. qmail-local translates dot to colon. Jeremy Kister www.jeremykister.com/jeremy/ Argus: The World's Most Advanced Monitoring System: http://argus.tcp4me.com
Re: [vchkpw] autorespond with a [dot] in the email address
Darren Beale wrote: Hi The problem is that the foo.bar address is the one that everyone will be using. I did think about deleting foo.bar reinstating the account to foo and setting up a valias foo.bar but this seems heavy handed and will require quite a bit of work to migrate a lot of users. Is this easy to fix? have I missed something obvious? Try.qmail-foo:bar See man dot-qmail Look for the WARNING: below the major heading EXTENSION ADDRESSES. Rick
RE: [vchkpw] autorespond with a [dot] in the email address
You should be using .qmail-user:name man dot-qmail -Original Message- From: Darren Beale [mailto:[EMAIL PROTECTED] Sent: Saturday, 21 February 2004 8:16 PM To: [EMAIL PROTECTED] Subject: [vchkpw] autorespond with a [dot] in the email address Hi I'm using autorespond (the debian package version) and vpopmail (custom deb) and it's set up and working but only partially. For address [EMAIL PROTECTED] with the .qmail file .qmail-foo the autorespond works, however for [EMAIL PROTECTED] with the .qmail file .qmail-foo.bar it won't, simple as that. If I rename to .qmail-foo and set up a valias for foo to foo.bar it works. The problem is that the foo.bar address is the one that everyone will be using. I did think about deleting foo.bar reinstating the account to foo and setting up a valias foo.bar but this seems heavy handed and will require quite a bit of work to migrate a lot of users. Is this easy to fix? have I missed something obvious? thanks Darren Beale
Re: [vchkpw] autorespond with a [dot] in the email address
Jeremy Kister wrote: try: mv .qmail-foo.bar .qmail-foo\:bar cool, thanks ;D
Re: [vchkpw] Re: [qmailadmin] Re: PHP vpopmail extension
Existence wrote: Rick Widmer wrote: That is what i meant, not everyone is able to have a special server just for mail, and thus running Apache as vpopmail:vchkpw is not an option. If you created some sort of deamon that allows you with public and privatekey's to communicate. Then you can run apache as www:www and not have to worry about users being able to alter vpopmail stuff cause of the mail server running under vpopmail:vchkpw. It is very easy to start a second instance of Apache. Just create a second httpd.conf file with different users, different DocumentRoot and add Listen directives to both httpd.conf files specifying which ports and IP addresses each server handles. The more I think about it the more it looks like the most secure solution. (Other than a separate mail server.) A binary that handled a few information retrieval functions is probably all that would be needed. I think there would be about 4-6 functions it should be able to return data from. I actually considered writing it before I decided to attack the PHP extension. For the rest we may as well exec the existing progtrams and not re-invent existing functionality. I've already got a PHP program that manages mail domains that way, but it reads the ~vpopmail/domains/ directory to get all its information. Well, what i meant is that having one binary that can do everything in one, is easier than having to run several different commands each time to add or remove domains, and having to parse different output each time. I personally might start on this, if i get the chance, as it would be a lot better than running apache as the mail user, when other there are other websites on it. If you do, please be sure to implement security within your program. Each page hit the php program needs to pass user supplied credentials so you can verify the user. The vpopmail library does not do this security checking, so you have to. If the vpopmail library becomes directly available to anyone running as www:www, they can do ANYTHING to your mail accounts. Rick
Re: [vchkpw] Re: [qmailadmin] Re: PHP vpopmail extension
Rick Widmer wrote: Existence wrote: Rick Widmer wrote: That is what i meant, not everyone is able to have a special server just for mail, and thus running Apache as vpopmail:vchkpw is not an option. If you created some sort of deamon that allows you with public and privatekey's to communicate. Then you can run apache as www:www and not have to worry about users being able to alter vpopmail stuff cause of the mail server running under vpopmail:vchkpw. It is very easy to start a second instance of Apache. Just create a second httpd.conf file with different users, different DocumentRoot and add Listen directives to both httpd.conf files specifying which ports and IP addresses each server handles. The more I think about it the more it looks like the most secure solution. (Other than a separate mail server.) I personally dont like the idea that i have to use resources on two running Apache's, but it is indeed possible. A binary that handled a few information retrieval functions is probably all that would be needed. I think there would be about 4-6 functions it should be able to return data from. I actually considered writing it before I decided to attack the PHP extension. For the rest we may as well exec the existing progtrams and not re-invent existing functionality. I've already got a PHP program that manages mail domains that way, but it reads the ~vpopmail/domains/ directory to get all its information. Well, what i meant is that having one binary that can do everything in one, is easier than having to run several different commands each time to add or remove domains, and having to parse different output each time. I personally might start on this, if i get the chance, as it would be a lot better than running apache as the mail user, when other there are other websites on it. If you do, please be sure to implement security within your program. Each page hit the php program needs to pass user supplied credentials so you can verify the user. The vpopmail library does not do this security checking, so you have to. If the vpopmail library becomes directly available to anyone running as www:www, they can do ANYTHING to your mail accounts. Yeah, that much i have figured out :P. I would use http auth, and then use the checkpasswd implementation in this long running deamon, to check if it is correct or not, if it is not correct, we drop the connection, if this happens 3 times in a row, that user is disallowed to contact the deamon again, until they have waited 1 hour. Rick
Re: [vchkpw] autorespond with a [dot] in the email address
Quoting Darren Beale [EMAIL PROTECTED]: Hi I'm using autorespond (the debian package version) and vpopmail (custom deb) and it's set up and working but only partially. For address [EMAIL PROTECTED] with the .qmail file .qmail-foo the autorespond works, however for [EMAIL PROTECTED] with the .qmail file .qmail-foo.bar it won't, simple as that. If I rename to .qmail-foo and set up a valias for foo to foo.bar it works. Use .qmail-foo:bar instead of .qmail-foo.bar It's in FAQ:) Ilic Aleksandar
[vchkpw] delete incoming emails
Hi, I'm looking with a qmail/vpopmail/no-mysql setup how to have messages going to a specific address to be deleted instantly. I don't want to bounce, and I don't want a catch-all deleted setup. Ie, [EMAIL PROTECTED] - /dev/null. I'm basically just looking for a pointer on how to do this. We have an account on a customer's machine that needs this done. I don't have remote access to the machine. Currently, I wrote a perl script to check the account through pop3 and delete any messages found, running on a continuous basis. I want to be able to go in, spend 2 minutes setting up the blackhole account (without a hitch, as is often the case with computers ;), and leave a happy man. :}