Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th August 2007, 02:47
micko_escalade micko_escalade is offline
Senior Member
 
Join Date: Jan 2006
Posts: 123
Thanks: 7
Thanked 3 Times in 3 Posts
Default Stuck while implementing SPF In Postfix

Hi,

Tried to follow this tutorial How To Implement SPF In Postfix
and I'm kinda stuck at this point

Code:
[root@linux src]# tar xvfz postfix-policyd-spf-perl-2.001.tar.gz
postfix-policyd-spf-perl-2.001/
postfix-policyd-spf-perl-2.001/postfix-policyd-spf-perl
postfix-policyd-spf-perl-2.001/LICENSE
postfix-policyd-spf-perl-2.001/README
postfix-policyd-spf-perl-2.001/CHANGES
postfix-policyd-spf-perl-2.001/INSTALL
[root@linux src]# cd postfix-policyd-spf-perl-2.001
[root@linux postfix-policyd-spf-perl-2.001]# cp postfix-policyd-spf-perl /usr/lib/postfix/policyd-spf-perl
cp: cannot create regular file `/usr/lib/postfix/policyd-spf-perl': No such file or directory
[root@linux postfix-policyd-spf-perl-2.001]#
I'm on FC6 with Postfix version 2.3.3 which I configured by following tutorial on this great site!
Reply With Quote
Sponsored Links
  #2  
Old 12th August 2007, 10:55
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,981
Thanks: 825
Thanked 5,371 Times in 4,218 Posts
Default

Please post the output of:

ls -la /usr/lib/postfix/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th August 2007, 18:28
micko_escalade micko_escalade is offline
Senior Member
 
Join Date: Jan 2006
Posts: 123
Thanks: 7
Thanked 3 Times in 3 Posts
Default

Hi,

Code:
[root@linux postfix-policyd-spf-perl-2.001]# ls -la /usr/lib/postfix/
ls: /usr/lib/postfix/: No such file or directory
[root@linux postfix-policyd-spf-perl-2.001]#
Reply With Quote
  #4  
Old 13th August 2007, 18:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Create the directory:
Code:
mkdir -p /usr/lib/postfix/
and try again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 14th August 2007, 05:19
micko_escalade micko_escalade is offline
Senior Member
 
Join Date: Jan 2006
Posts: 123
Thanks: 7
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by falko
Create the directory:
Code:
mkdir -p /usr/lib/postfix/
and try again.
Thanks falko!
That helped, but I'm not sure about this part where I have to add
Code:
check_policy_service unix:private/policy
to /etc/postfix/main.cf file because I use SQLgrey
so here's how that part looks in my main.cf
Code:
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_policy_service inet:127.0.0.1:2501
mynetworks = 127.0.0.0/8
where do I add check_policy_service unixrivate/policy ?

Second question, what this does?
Code:
[...]
Reply With Quote
  #6  
Old 15th August 2007, 18:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by micko_escalade
because I use SQLgrey
so here's how that part looks in my main.cf
Code:
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_policy_service inet:127.0.0.1:2501
mynetworks = 127.0.0.0/8
[/B] ?
I think it's correct like that if you use SQLgrey, but I haven't tested it.

Quote:
Originally Posted by micko_escalade
Second question, what this does?
Code:
[...]
It's a placeholder. It means that the files continues or that there something before it in the file. Don't put [...] into your files!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 15th August 2007, 20:24
micko_escalade micko_escalade is offline
Senior Member
 
Join Date: Jan 2006
Posts: 123
Thanks: 7
Thanked 3 Times in 3 Posts
Default

falko,
sorry to bother but where do I add check_policy_service unixrivate/policy

this is what I have now

Code:
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_policy_service inet:127.0.0.1:2501
mynetworks = 127.0.0.0/8
Reply With Quote
  #8  
Old 16th August 2007, 14:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Please re-read my previous post. It means that you don't have to check_policy_service unix:private/policy anywhere because I think that check_policy_service inet:127.0.0.1:2501 is correct for SQLgrey.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

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
Postfix with SPF dfslezak HOWTO-Related Questions 3 16th July 2007 14:13
question about How To Implement SPF In Postfix ID43BJg0 Server Operation 2 19th March 2007 16:00
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 11:51.


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