[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [vps-mail] Sendmail - going from spammers.db to access.db



At 01:22 2003-11-23, Abigail wrote:
>WW> Marjolein Katsma wrote:
>
>>>And yes, 'vnewaccess' did work. I love it when things are
>>>consistent! (Just one curious message about a leading
>>>space that I can't find but access.db was generated
>>>anyway. Poked at the binary but the last line in access
>>>does seem to have made it into access.db so I'm not
>>>worried.)
>>>  
>
>Just one note: if vnewaccess encounters an error with a
>line, it will generally go ahead and create the rest of the
>database, simply skipping the line with the error. This is
>nice, since one minor error doesn't mess up the whole
>database.

That's good to know.

But I called the error message 'curious' because it gives a line number that is in fact an empty line. The whole file does in fact not contain a single leading space (or traling space, for that matter)... I just added two new entries, one before that line number, and the error message is still there, pointing to the same empty line which now has a line number one higher.


>One very common error is with duplicate entries - you will
>probably run across this more as your database grows larger.

That's what I ran into with the spammers db originally - and the reason I started to organize that in (tld-based) sorted "blocks" So I could find things back easily. I'm now using the same organization in my access db.



-- 
Marjolein Katsma

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
======================================================================


Main Index | Thread Index
Match: Format: Sort by:
Search: