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

Re: [vps-mail] mail to unknown user delivered to local mailbox



On Fri, Dec 02, 2005 at 05:47:36PM +0100, Martin Fischer, ATvirtual.NET wrote:
> he (I) mean to block incoming mail if valid user is addressed through BCC, 
> or the other way round no valid user through TO or CC 

With procmail, the only hope you'd have would be to look for the last
legitimate (consecutive) 'Received' header and look for the "for
user@xxxxxxxxxx". This can be done, but it's not for the faint of
heart.

You might want to key off of other characteristics if you're doing
spam scanning, for example.

Scott
-- 
Scott Wiersdorf
scottw@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


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