nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Postfix black listing.

This is a discussion on Postfix black listing. within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Running openbsd 3.8, postfix 2.2.9. On this forum it discusses how to black list domains etc using postfix. I have ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Linux answers from nixCraft.


All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-18-2008, 08:55 PM
Junior Member
User
 
Join Date: Sep 2008
OS: OpenBSD
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ljgross is on a distinguished road
Question Postfix black listing.

Running openbsd 3.8, postfix 2.2.9.

On this forum it discusses how to black list domains etc using postfix. I have created the black list file and entered the address to block (below), changed main.cf to use this file (below), and restarted postfix.

The address I am blocking for testing purposes is my hotmail account. It still comes through. Can someone tell me what is my mistake.

main.cf:
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, check_client_access regexp:/etc/postfix/black_listed, reject_non_fqdn_recipient

blacklist file:
/account\name.name.net$/
Reply With Quote
  #2 (permalink)  
Old 11-19-2008, 10:50 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,683
Thanks: 11
Thanked 241 Times in 181 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Have your tried adding user to sender_access file?

Postfix blacklist or reject an email address
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 11-19-2008, 11:15 PM
Junior Member
User
 
Join Date: Sep 2008
OS: OpenBSD
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ljgross is on a distinguished road
Default

By user do you mean the user id of the account? If yes, I changed my account id to the word account.

I also see that the example uses user@example.com. I have also tried this route with no luck.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Listing memory usages using shell scripting Keshav Murthy Shell scripting 1 09-25-2008 10:25 PM
postfix ramjimh Mail Servers 0 09-16-2008 02:43 PM
postfix relay bkai Mail Servers 0 08-09-2008 10:57 PM
Postfix ramjimh Mail Servers 2 07-02-2008 01:55 PM
postfix ip whitelisting asim.mcp Mail Servers 1 10-12-2007 09:14 PM


All times are GMT +5.5. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38