The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
postfix - reinject mail to postfix from hold queue directory coolatt IP Networking 0 07-23-2009 04:08 PM
Postfix and authentication problem nitin UNIX for Advanced & Expert Users 10 10-21-2008 12:18 PM
Debian: New postfix packages fix installability problem on i386 iBot Security Advisories (RSS) 0 08-19-2008 10:00 AM
Redhat Linux - Postfix problem ramjimh2k3 Red Hat 3 07-28-2008 01:52 AM
Postfix Problem under mailx/sendmail command monkfan UNIX for Dummies Questions & Answers 0 04-10-2007 05:07 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-08-2009
jakethecake jakethecake is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 2
Postfix SPF DNS problem

Hi I have a Postfix mail server in a Debian Linux network and used to be able to connect to it on port 25 via telnet. I also have working DNS on the server.

I added this MX record to the DNS zone file:
Code:
@  IN  MX  10  server.c4.sysinst.ida.liu.se.
It worked fine after that also but then I added this SPF record, the goal is that only the server is supposed to be able to send mail from the nework:
Code:
@    IN     TXT     "v=spf1 mx ip4:130.236.189.218 mx:server.c4.sysinst.ida.liu.se ~all"
But after I added that I'm not able to connect using telnet localhost 25 on the server. Help would be appreciated.
  #2 (permalink)  
Old 09-09-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,930
Which SPF package did you install? The Perl package or the Python package?
  #3 (permalink)  
Old 09-09-2009
jakethecake jakethecake is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 2
Postfix actually got uninstalled while I was adding the spf records, no wonder I couldn't connect to the postfix server. I can connect now but the emails sent to outside my network aren't being delivered, only the ones sent inside the network. And the clients are still able to send even though only the server is supposed to be. mail.log says:

Code:
server postfix/qmgr[2561]: warning: connect to transport smtp: Connection refused
Maybe that's because the spf record is wrong, do you have to install a SPF package to get the record to work, BIND isn't enough?

Last edited by jakethecake; 09-09-2009 at 05:34 PM..
  #4 (permalink)  
Old 09-11-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,930
Quote:
do you have to install a SPF package to get the record to work, BIND isn't enough?
Yes you have to install an additional package. Usually a perl and a python package are both available. Pick either one and install.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:47 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0