Qmail
[Top] [All Lists]

Re: problem with CDB_File in mkvalidrcptto

To: qmail@list.cr.yp.to
Subject: Re: problem with CDB_File in mkvalidrcptto
From: John Simpson <jms1@jms1.net>
Date: Wed, 29 Nov 2006 04:51:47 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <585bd7150611282232w39dac242tdf1b62c1a2e9360@mail.gmail.com>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <724d72960611280347m304021t8af79efe20e115f8@mail.gmail.com> <F3BFDED2-8EF9-400B-A97F-63771E9951E0@jms1.net> <585bd7150611282111u1b5129f9i60a0c4ef9419c872@mail.gmail.com> <585bd7150611282232w39dac242tdf1b62c1a2e9360@mail.gmail.com>
On 2006-11-29, at 0132, Eric d'Alibut wrote:
On 11/29/06, Eric d'Alibut <eric.halibut@gmail.com> wrote:

# mkvalidrcptto > validrcptto.txt
/var/qmail/users/cdb: No such file or directory

Ok. A minute spent looking at lwq fixed the above.

actually, the case where users/cdb doesn't exist is something that i should have written into mkvalidrcptto. i've just added it, thanks for the suggestion.

May I return to
what was to be my orignal question, about system users in validrcptto?

In my install of qmail, /etc/passwd (in part) contains these entries:

alias:x:1008:1004::/var/qmail/alias:
qmaild:x:1009:1004::/var/qmail:
qmaill:x:1010:1004::/var/qmail:
qmailp:x:1011:1004::/var/qmail:
qmailq:x:1012:1005::/var/qmail:
qmailr:x:1013:1005::/var/qmail:
qmails:x:1014:1005::/var/qmail:

Would I be right if I guessed that I do not want any of these users in
my validrcptto.cdb?

probably not (i.e. you are correct, you probably don't want those userids to be receiving mail.)

the numeric uid's should be added to the @uid_ignore array, like so:

        my @uid_ignore = qw ( 1008 1009 1010 1011 1012 1013 1014 ) ;

and if you have any other system userids which you know should never be allowed to receive email, put their numeric uids into the array as well.

--------------------------------------------------
| John M. Simpson - KG4ZOW - Programmer At Large |
| http://www.jms1.net/           <jms1@jms1.net> |
--------------------------------------------------
| Mac OS X proves that it's easier to make UNIX  |
| pretty than it is to make Windows secure.      |
--------------------------------------------------


Attachment: PGP.sig
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>