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: "Renato de Oliveira Diogo" <renato.diogo@gmail.com>
Date: Wed, 29 Nov 2006 08:34:56 -0200
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
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qclMQTL1L9PSriSWkXk0PprlzbEgmZZ4cNRF3cKc4RgNkVG2yB/xAFHKNz/V06+drrXW/cILsMzc+tBB134Y+VqiIgj3/l+qAeVMDq4Dvhmy18DJuk8JzKk/7zSQHejNZsgeB27p9hFmQi9OwGfdff8IzNCr8dQo6VUrc27Hfms=
Domainkey-status: good (test mode)
In-reply-to: <3D31A0F2-9BFC-476C-9ED9-660BB3F244C7@jms1.net>
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> <3D31A0F2-9BFC-476C-9ED9-660BB3F244C7@jms1.net>
Hi

my problem doesn't modules, because make install works....

but I have the many perl versions installed in my server. And the
"#!/../perl -w" see the older version, and I don't knew this.

I modify the line to #!/.../perl5.8.8 because the cpan install in this.

now works fine.

But I saw that the validrcptto.txt created with two or more line per account:

example:
==
postmaster@domain.com
postmaster-default@domain.com
renato.diogo@domain.com
renato.diogo-default@domain.com
rodrigo@domain.com
rodrigo-default@domain.com
rogerio@domain.com
rogerio-default@domain.com
suporte@domain.com
suporte-default@domain.com
suporte-owner@domain.com
suporte-return-default@domain.com
==

user-default@
or list-default@
  list-owner@
 list-return-default@

is normal?

Can I delete this line?

[]s



On 11/29/06, John Simpson <jms1@jms1.net> wrote:
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.      |
--------------------------------------------------







--
________________________________________________
Renato de Oliveira Diogo

Blueeye Web Solutions
14-32243492

Bacharel em Ciência da Computação
UNESP - Bauru
Mestrando em Ciência da Computação
UNESP

renato.diogo@gmail.com
rdiogo01@yahoo.com.br

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