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. |
--------------------------------------------------
PGP.sig
Description: This is a digitally signed message part
|