Postfix and local users.

Chris Wagner ismgr at atchisonkansas.net
Thu Aug 28 14:03:00 CDT 2003


Justin wrote:

> Chris Wagner wrote:
>
>>
>> Also, isn't there a way to write a Procmail recipe that would kill 
>> content based on the attachment type as opposed to having to write 
>> the recipe to look for some type of pattern?
>>
>> I noticed in the replies that I saved from Procmail question I asked 
>> last that the script that it suggested has different entries for a 
>> gazillion different virii for Windoze.
>>
>
> I use the following to catch all executable attachements:
>
> :0 B
> *^Content-Type: (application|audio)
> *^.*name=.*.(vb[esx]|ws[hf]|c[ho]m|bat|cmd|hta|exe|lnk|pif|scr|shs)
> .zzz-executables/
>
>
>
>
>
Have another couple of questions about Postfix and Procmail.

1. Do I need to tell Postfix to use Procmail as a local delivery agent, 
or is that typically done during the Postfix installation? How do I 
check to see that Postfix is using Procmail as a local delivery agent?

2. Should I use a server-wide .procmailrc, or localized in user's home 
directories? I mean, I can see a global file being a lot easier, but I 
didn't know if there were issues with this or if it worked well as is.

Thanks!

Chris




More information about the Kclug mailing list