<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Postfix blacklist or reject an email address</title> <atom:link href="http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Davo</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-65531</link> <dc:creator>Davo</dc:creator> <pubDate>Mon, 12 Dec 2011 11:37:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-65531</guid> <description>Does anyone know of a way to blacklist a sender address that works?</description> <content:encoded><![CDATA[<p>Does anyone know of a way to blacklist a sender address that works?</p> ]]></content:encoded> </item> <item><title>By: Manish</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-48391</link> <dc:creator>Manish</dc:creator> <pubDate>Sat, 17 Jul 2010 22:21:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-48391</guid> <description>Hi
I would like to block mails coming from all domains and and allow only those mails from the domains which are whitelisted.
If I use
blacklist_from  *@* all the domains are marked as SPAM and even the whitelist domains are also makred as spam. How can I place a rule for blocking all other domains editing the /etc/mail/spamassassin/local.cf  and or with .procmailrc file. Any suggestion or help would be appreciated.
Thank you
Manish</description> <content:encoded><![CDATA[<p>Hi</p><p>I would like to block mails coming from all domains and and allow only those mails from the domains which are whitelisted.<br
/> If I use<br
/> blacklist_from  *@* all the domains are marked as SPAM and even the whitelist domains are also makred as spam. How can I place a rule for blocking all other domains editing the /etc/mail/spamassassin/local.cf  and or with .procmailrc file. Any suggestion or help would be appreciated.</p><p>Thank you<br
/> Manish</p> ]]></content:encoded> </item> <item><title>By: krish</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-47243</link> <dc:creator>krish</dc:creator> <pubDate>Sat, 08 May 2010 05:40:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-47243</guid> <description>Respected Sir,
Please help me regarding smtp sender mails block. I need to block some users should not send mails to other domain but they get receipt mail from other domain also they send same domain to each others.
Thanks
krish</description> <content:encoded><![CDATA[<p>Respected Sir,<br
/> Please help me regarding smtp sender mails block. I need to block some users should not send mails to other domain but they get receipt mail from other domain also they send same domain to each others.</p><p>Thanks<br
/> krish</p> ]]></content:encoded> </item> <item><title>By: Nick</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-45847</link> <dc:creator>Nick</dc:creator> <pubDate>Fri, 05 Feb 2010 15:13:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-45847</guid> <description>Vivek, PLEASE fix your tutorial above. Following your instructions will make POSTFIX break, and not accept any SMTP connections. The correct line is:
&lt;code&gt;smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access&lt;/code&gt;
Thanks for this tutorial! Besides this minor frustration, GREAT article.</description> <content:encoded><![CDATA[<p>Vivek, PLEASE fix your tutorial above. Following your instructions will make POSTFIX break, and not accept any SMTP connections. The correct line is:</p><p><code>smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access</code></p><p>Thanks for this tutorial! Besides this minor frustration, GREAT article.</p> ]]></content:encoded> </item> <item><title>By: John</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-45122</link> <dc:creator>John</dc:creator> <pubDate>Fri, 11 Dec 2009 01:29:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-45122</guid> <description>Could this be used as a method of blocking mail sent to a valid user, but with a bogus TO address?</description> <content:encoded><![CDATA[<p>Could this be used as a method of blocking mail sent to a valid user, but with a bogus TO address?</p> ]]></content:encoded> </item> <item><title>By: Jacki</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-40697</link> <dc:creator>Jacki</dc:creator> <pubDate>Wed, 11 Mar 2009 15:19:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-40697</guid> <description>@Tom
Yes it will work &amp; and work as recipient_restrictions. This E-mail address still can send e-mail not receive since theres two separate option in postfix to block e-mail address receiving &amp; sending email to this server.
&lt;code&gt;    /etc/postfix/main.cf:
smtpd_sender_restrictions = hash:/etc/postfix/sender_access
unverified_sender_reject_code = 550
# Postfix 2.6 and later.
# unverified_sender_defer_code = 250
# Note 1: Be sure to read the &quot;Caching&quot; section below!
# Note 2: Avoid hash files here. Use btree instead.
address_verify_map = btree:/var/lib/postfix/verify
/etc/postfix/sender_access:
aol.com     reject_unverified_sender
hotmail.com reject_unverified_sender
bigfoot.com reject_unverified_sender
... etcetera ...
&lt;/code&gt;
&lt;code&gt;/etc/postfix/main.cf:
smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
...
reject_unknown_recipient_domain
reject_unverified_recipient
...
# Postfix 2.6 and later privacy feature.
# unverified_recipient_reject_reason = Address lookup failed
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>@Tom</p><p>Yes it will work &amp; and work as recipient_restrictions. This E-mail address still can send e-mail not receive since theres two separate option in postfix to block e-mail address receiving &amp; sending email to this server.</p><p><code> /etc/postfix/main.cf:<br
/> smtpd_sender_restrictions = hash:/etc/postfix/sender_access<br
/> unverified_sender_reject_code = 550<br
/> # Postfix 2.6 and later.<br
/> # unverified_sender_defer_code = 250</p><p> # Note 1: Be sure to read the "Caching" section below!<br
/> # Note 2: Avoid hash files here. Use btree instead.<br
/> address_verify_map = btree:/var/lib/postfix/verify</p><p> /etc/postfix/sender_access:<br
/> aol.com     reject_unverified_sender<br
/> hotmail.com reject_unverified_sender<br
/> bigfoot.com reject_unverified_sender<br
/> ... etcetera ...</p><p></code><br
/> <code>/etc/postfix/main.cf:<br
/> smtpd_recipient_restrictions =<br
/> permit_mynetworks<br
/> reject_unauth_destination<br
/> ...<br
/> reject_unknown_recipient_domain<br
/> reject_unverified_recipient<br
/> ...<br
/> # Postfix 2.6 and later privacy feature.<br
/> # unverified_recipient_reject_reason = Address lookup failed<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: Tom</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-40673</link> <dc:creator>Tom</dc:creator> <pubDate>Mon, 09 Mar 2009 21:00:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-40673</guid> <description>Thanks for your tips.
I think Jacki have wrong. It&#039;s well smtpd_recipient_restrictions.
(excuse my english i am from France)
Bye</description> <content:encoded><![CDATA[<p>Thanks for your tips.<br
/> I think Jacki have wrong. It&#8217;s well smtpd_recipient_restrictions.<br
/> (excuse my english i am from France)<br
/> Bye</p> ]]></content:encoded> </item> <item><title>By: Jacki</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-40672</link> <dc:creator>Jacki</dc:creator> <pubDate>Mon, 09 Mar 2009 14:38:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-40672</guid> <description>yes I  followed your tips.
&lt;code&gt;smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/sender_access&lt;/code&gt;
Should be....
&lt;code&gt;smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access&lt;/code&gt;
Thanks</description> <content:encoded><![CDATA[<p>yes I  followed your tips.</p><p><code>smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/sender_access</code></p><p>Should be&#8230;.<br
/> <code>smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access</code></p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-40656</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Sun, 08 Mar 2009 16:57:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-40656</guid> <description>@Jacki,
Do you see any problem with configuration?</description> <content:encoded><![CDATA[<p>@Jacki,</p><p>Do you see any problem with configuration?</p> ]]></content:encoded> </item> <item><title>By: Jacki</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-40655</link> <dc:creator>Jacki</dc:creator> <pubDate>Sun, 08 Mar 2009 13:55:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-40655</guid> <description>Hey still have problem ? please fixed it. Other wise newbie may be confused?</description> <content:encoded><![CDATA[<p>Hey still have problem ? please fixed it. Other wise newbie may be confused?</p> ]]></content:encoded> </item> <item><title>By: Mihir</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-37847</link> <dc:creator>Mihir</dc:creator> <pubDate>Mon, 05 May 2008 12:13:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-37847</guid> <description>I am not able to start internet from RHEL 5
please help me out!!!
plz give step by step instructions</description> <content:encoded><![CDATA[<p>I am not able to start internet from RHEL 5<br
/> please help me out!!!<br
/> plz give step by step instructions</p> ]]></content:encoded> </item> <item><title>By: neotexan</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-37341</link> <dc:creator>neotexan</dc:creator> <pubDate>Mon, 21 Jan 2008 17:13:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-37341</guid> <description>While not stated above, this should work for whitelisting senders as well.  Ideal when you don&#039;t want to whitelist someone&#039;s misconfigured exchange server.</description> <content:encoded><![CDATA[<p>While not stated above, this should work for whitelisting senders as well.  Ideal when you don&#8217;t want to whitelist someone&#8217;s misconfigured exchange server.</p> ]]></content:encoded> </item> <item><title>By: neotexan</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-37340</link> <dc:creator>neotexan</dc:creator> <pubDate>Mon, 21 Jan 2008 17:09:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-37340</guid> <description>Please correct to:
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access
Using the given line, the mail server will not accept communication...yet shows to be running.
Test with &#039;telnet localhost 25&#039;
Normally, you should get a response such as:
220 {yourmailserverFQDN} ESMTP Postfix</description> <content:encoded><![CDATA[<p>Please correct to:</p><p>smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access</p><p>Using the given line, the mail server will not accept communication&#8230;yet shows to be running.</p><p>Test with &#8216;telnet localhost 25&#8242;</p><p>Normally, you should get a response such as:<br
/> 220 {yourmailserverFQDN} ESMTP Postfix</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-36985</link> <dc:creator>vivek</dc:creator> <pubDate>Tue, 06 Nov 2007 07:15:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-36985</guid> <description>Thanks for the heads up!</description> <content:encoded><![CDATA[<p>Thanks for the heads up!</p> ]]></content:encoded> </item> <item><title>By: Jules</title><link>http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-36983</link> <dc:creator>Jules</dc:creator> <pubDate>Mon, 05 Nov 2007 14:56:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/#comment-36983</guid> <description>Thanks! Very helpful.
Ony one slight error: The main.cf line should read:
&lt;blockquote&gt;smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/sender_access&lt;/blockquote&gt;</description> <content:encoded><![CDATA[<p>Thanks! Very helpful.</p><p>Ony one slight error: The main.cf line should read:</p><blockquote><p>smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/sender_access</p></blockquote> ]]></content:encoded> </item> </channel> </rss>
