LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-13-2012, 06:49 AM   #1
Haythem
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 79

Rep: Reputation: Disabled
Smile postfix and policyd: Recipient address rejected


hello, i have difficulties integrating "policyd" into postfix, after making the required configuration in postfix "main.cf"
Quote:
# postconf -n | grep restrictions
smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
i cant send any mails and i get this message in maillog
Quote:
Dec 13 06:48:02 host postfix/smtpd[25184]: NOQUEUE: reject: RCPT from unknown[ip.ip.ip.ip]: 450 4.3.2 <anyemail@gmail.com>: Recipient address rejected: Try again later; from=<h@mydomain.com> to=<anyemail@gmail.com> proto=ESMTP helo=<[192.168.1.77]>
i can only send mails if i put "check_policy_service ......" at the end of "smtpd_recipient_restrictions" line , like
Quote:
# postconf -n | grep restrictions
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, check_policy_service inet:127.0.0.1:10031
smtpd_end_of_data_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, check_policy_service inet:127.0.0.1:10031
but no policy checking for the mails sent. postfix just ignore policyd daemon (even if policyd saemon is up or down it's same for postfix) and send the mails without checking.
thanks for your help!
 
Old 12-14-2012, 05:05 AM   #2
Haythem
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 79

Original Poster
Rep: Reputation: Disabled
the problem was in policyd database. after creating new database all work fine.
thanks
 
  


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 + Recipient address rejected: def1 Linux - Server 2 12-09-2012 12:02 AM
[SOLVED] Simple Postfix Setup - Recipient Address Rejected BLaZuRE Linux - Server 6 07-21-2012 05:48 AM
Don't let Postfix reply with "Recipient address rejected: User unknown in virtual mai lithos Linux - Server 3 11-25-2011 04:05 PM
Postfix: Recipient address rejected: Relay access denied; stormrider_may Linux - Networking 5 02-18-2006 05:38 AM
Postfix error - Recipient address rejected: Relay access denied robbiemorgan Linux - Newbie 1 10-01-2004 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:34 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