Yup...you want to add:

"smptd_sender_restrictions = check_sender_access hash:/etc/postfix/spammer_list"

to the /etc/postfix/main.cf file

I happened to call it spammer_list, but you can call it whatever you want.

The format of the text file is:

spammerdomain.com 550 Reason for bouncing the spammer's mail

Then, "postmap hash:/etc/postfix/spammer_list" to create the database.

Then, once you've created the initial database, restart postfix, and 
you're set.

On Tue, 8 Oct 2002, Craig Iffelberg wrote:

> Hey, would you know how to enable bounce
> feature in Postfix?
> 
> I snooped docs, and nothign found.
> 
> I know how to do it in sendmail, via the /etc/mail/access file,
> but I can't find it in Postfix, if this Postfix is so much
> better, then perhaps I should use it?
> 
> Thank you.
> Craig
> 
> On Tuesday 08 October 2002 01:28 pm, juaid wrote:
> > From: "Jeff Bearer" <[EMAIL PROTECTED]>
> >
> > > Second would I benefit from switching to Postfix?  How involved is
> > > switching MTA's?  Does the Red Had mail switcher program take care of it
> > > all?
> >
> > since I switched to Postfix, about 1 year and a half now, I would never
> > touch Sendmail again!!!
> >
> > Postfix is faster, easy to configure (and the main conf file is human
> > readable!!!), has lots of usefull options, and was programmed taking
> > security into account..
> >
> > switching from Sendmail to Postfix is very easy, but first try it on a test
> > box
> >
> > regards,
> >
> > juaid
> 
> 
> 
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to