LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-24-2006, 05:42 PM   #1
stomach
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 202

Rep: Reputation: 30
problem postfix (RESTRICTION_CLASS).


Necessary to limit one definitive domain to only send messages in my local net.

I am following the documentation of postfix..
http://www.postfix.org/RESTRICTION_CLASS_README.html

main.cf
Code:
smtpd_recipient_restrictions =
  check_sender_access
hash:/etc/postfix/restricted_senders,
  permit_mynetworks,
  permit_sasl_authenticated,
  reject_non_fqdn_hostname,
  reject_non_fqdn_sender,
  reject_non_fqdn_recipient,
  reject_unauth_destination,
  reject_unauth_pipelining,
  reject_invalid_hostname,
  reject_rbl_client opm.blitzed.org,
  reject_rbl_client list.dsbl.org,
  reject_rbl_client bl.spamcop.net,
  reject_rbl_client sbl-xbl.spamhaus.org,

 smtpd_restriction_classes = local_only
 local_only = check_recipient_access hash:/etc/postfix/local_domains,reject
local_domains
Code:
intranet.test.com       OK
restricted_senders
Code:
intranet.test.com       OK
When I enter in the webmail (squirrelmail) with the user test@intranet.test.com, and sending a message internally or external appears the following error:

Code:
 451 Server configuration error
 
Old 03-24-2006, 06:07 PM   #2
stomach
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 202

Original Poster
Rep: Reputation: 30
Resolved, the problem is that necessary to jump a line...
Code:
local_only =
  check_recipient_access hash:/etc/postfix/local_domains, reject

Last edited by stomach; 03-24-2006 at 06:27 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
postfix problem meblost Linux - Software 4 08-31-2004 10:51 PM
postfix problem zzero Linux - Software 13 03-20-2004 12:39 AM
postfix problem cccc Linux - Networking 0 10-10-2003 05:12 PM
problem with postfix and db.4.1.25 cron19 Linux - Software 1 10-06-2003 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration