Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 7th November 2008, 23:06
gianni21 gianni21 is offline
Junior Member
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix restriction problem

Hi i'm giovanni, i've a mailserver with postfix (relase 2001) and i've added an alias all@domain.it that point to all the mailbox of my domain, so now i've a big problem, this alias is shooted by spammers and i want to restrict the policy and allows to use it only if the sender is logged on my domain. Well, i've find this official tutorial:
/etc/postfix/main.cf:
smtpd_recipient_restrictions =
check_recipient_access hash:/etc/postfix/access

/etc/postfix/access:
all@my.domain permit_mynetworks,reject
all@my.hostname permit_mynetworks,reject
--------
so i've applied it to my config. files:

/etc/postfix/main.cf:
smtpd_recipient_restrictions =

check_recipient_access hash:/etc/postfix/access

/etc/postfix/access:
all@domain.it permit_mynetworks,reject
------
so at the end i've given these command:
postmap /etc/postfix/access
postfix reload

The result isn't good, when any mail client try to send an email the mail client software give a timeout and it's impossible to reach the addressee.
When i clean up the access file and main.cf all returns like before...(the clients can send emails and everyone can send email at all@domain.it)
maybe with this tutorial i've cancelled part of the default configuration and therefore doesn't it work ?
Thanks a lot
Reply With Quote
Sponsored Links
 

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Postfix problem satimis Server Operation 1 29th September 2008 17:24
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
Postfix: connection refused error tosin Server Operation 1 30th October 2007 17:30
postfix - myhostname, mydoman problem adam Server Operation 14 26th September 2006 07:57


All times are GMT +2. The time now is 10:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.