<quote who="[EMAIL PROTECTED]"> > I have successfully installed the following scenario: postfix with > amavisd-new & spamassissin which forwards all emails to our lotus server.
> One other config I want to add is if an email is to a particular address, > I want it to deny the email BEFORE any "data" is received. We get approx > 200 spam emails a day that are to two employees that no longer work here. > Does anyone have any clues on how I could do this? The easiest thing to do is block all non-existant addresses, by using local_recipient_maps. If you have a 'foreign' mail system behind postfix, you can do this by syncing user lists to a file or - a far better alternative - by using LDAP. (So when a mail comes in, at the RCPT TO point of the SMTP dialogue, your postfix will query a file or ldap to see if the user is listed. This can also include the *nix passwd database. If the domain is in mydestinations and the username is not found, WHAMMO [1], the mail will be refused.) If you want to do it manually, use the check_recipient_access policy. - Jeff [1] Not in the SMTP protocol. -- linux.conf.au 2004: Adelaide, Australia http://lca2004.linux.org.au/ "2.4.1ac17 is full of innovations and should be used with caution." - Linux Weekly News -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
