Postfix SPF DNS problem


 
Thread Tools Search this Thread
Special Forums IP Networking Postfix SPF DNS problem
# 1  
Old 09-08-2009
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  
Old 09-09-2009
Which SPF package did you install? The Perl package or the Python package?
# 3  
Old 09-09-2009
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  
Old 09-11-2009
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Postfix Problem

Hello, I have a problem remotely connecting to the postfix. It sais "Connection refused". # telnet 104.200.16.232 25 Trying 104.200.16.232... telnet: connect to address 104.200.16.232: Connection refused But the postfix is started and running. # telnet 127.0.0.1 25 Trying... (3 Replies)
Discussion started by: galford
3 Replies

2. UNIX for Dummies Questions & Answers

Postfix Problem

hi guys i have a problem with postfix i can't send any mail to yahoo clients but i cant receive email from yahoo clients Feb 20 11:46:35 cp postfix/qmgr: 83F658003B: from=<ZZZ@XXX.org>, size=508, nrcpt=1 (queue active) Feb 20 11:46:35 cp postfix/smtp: 83F658003B: to=<ZZZ@yahoo.com>,... (1 Reply)
Discussion started by: mhs
1 Replies

3. Red Hat

redhat linux postfix problem..

hello all, If i send mails using postfix,the mails stored in queue,not delivered to required recipient...can anyone please tell me the solution for this problem... (4 Replies)
Discussion started by: tilakraj
4 Replies

4. IP Networking

Problem with forwarding emails (SPF problem)

Hi, This is rather a question from a "user" than from a sys admin, but I think this forum is apropriate for the question. I have an adress with automatic email forwarding and for some senders (two hietherto), emails are bouncing. This has really created a lot of problems those two time so I... (0 Replies)
Discussion started by: carwe
0 Replies

5. UNIX for Advanced & Expert Users

Postfix sender problem

Hi All! I have a very annoying problem. I have an openSuSE box, running postfix on it. It is configured, to use gmail to send mails. It is working fine, I accept the messages, but the sender is my gmail account, not the linux box. How can I (if I can) configure postfix to send the mails with... (0 Replies)
Discussion started by: szzed
0 Replies

6. UNIX for Dummies Questions & Answers

Please help with Postfix config issue - How to allow remote Exchange server to relay to my postfix

Hi guys One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered. What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

7. IP Networking

postfix - reinject mail to postfix from hold queue directory

hi all. Am using smtpd_recipient_restrictions & check_recipient_access in postfix. The hash file looks like this: emailaddress1 HOLD emailaddress2 HOLD The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies

8. UNIX for Dummies Questions & Answers

In BIND 9.3 DNS trying to get past the 256 char limit in SPF TXT records

One way I was told to do was incase strings in quotes. But I was given this option if I can get it to work. Will this work for splitting up SPF records? I am try to make bx.example.com reference spf.eu.***, spfa.eu.***, spfb.eu.***, and spfc.eu.***. spf.eu.example.com 3600 IN TXT "v=spf1... (0 Replies)
Discussion started by: tmanx
0 Replies

9. UNIX for Advanced & Expert Users

Postfix and authentication problem

Hi, I've Postfix 2.5.1 mail server on Ubuntu 8.04. Recently, I got a new SMTP relay service to send out my mails. But for some reason every time I try to send mail I get this error: (host relay.somehost.com said: 550 5.7.1 <testmail@hotmail.com>... Relaying denied. Proper authentication... (10 Replies)
Discussion started by: nitin
10 Replies

10. Red Hat

Redhat Linux - Postfix problem

We have a redhat linux el4 and used as a mail server.We configured postfix.all r working fine.we got a problem for a particular user when he tries to open his mailbox and the error is mentioned below: ERROR: Could not complete request. Query: SELECT "INBOX" Reason Given: Internal error... (3 Replies)
Discussion started by: ramjimh2k3
3 Replies
Login or Register to Ask a Question