On Thu, Sep 26, 2002 at 12:31:56PM +0800, william villanueva wrote:
> I've got a couple of users which is being spammed so we have dropped
> those accounts but when the mail gets bounced back to the sender, it
> gets returned to us again 'coz the original sender user does not
> exist.
> 
> Can anybody point out how I can configure Postfix such that when mail
> comes in for an unknown user, it will not be accepted or if not
> deleted.

I have the following in my /etc/postfix/main.cf:

    local_recipient_maps = $alias_maps, unix:passwd.byname

What this does is that mail for unknown users is rejected outright (like
spam), preventing the session from continuing, and relieving us from the
awful task of having to send a bounce back message to a possibly invalid
address.

 --> Jijo

-- 
Federico Sevilla III   :  http://jijo.free.net.ph
Network Administrator  :  The Leather Collection, Inc.
GnuPG Key ID           :  0x93B746BE
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to