Sponsored Content
Full Discussion: Postfix SPF DNS problem
Special Forums IP Networking Postfix SPF DNS problem Post 302351806 by jakethecake on Wednesday 9th of September 2009 03:36:26 PM
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..
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
python-spf(1)						      General Commands Manual						     python-spf(1)

NAME
pyspf - pure-Python SPF library VERSION
2.0.7 DESCRIPTION
SPF does email sender validation. For more information about SPF, please see http://www.openspf.org/ One incompatible change was introduced in version 1.7. Prior to version 1.7, connections from a local IP address (127...) would always return a Pass result. The special case was eliminated. Programs calling pySPF should not do SPF checks on locally submitted mail. This SPF client is intended to be installed on the border MTA, checking if incoming SMTP clients are permitted to forward mail. The SPF check should be done during the MAIL FROM:<...> command. USAGE
There are multiple ways to use this package: To check an incoming mail request: % pyspf [-v] {ip} {sender} {helo} % pyspf 69.55.226.139 tway@optsw.com mx1.wayforward.net To test an SPF record: % pyspf [-v] "v=spf1..." {ip} {sender} {helo} % pyspf "v=spf1 +mx +ip4:10.0.0.1 -all" 10.0.0.1 tway@foo.com a To fetch an SPF record: % pyspf {domain} % pyspf wayforward.net To test this script (and to output this usage message): % pyspf For instance, during an SMTP exchange from client 69.55.226.139:: S: 220 mail.example.com ESMTP Postfix C: EHLO mx1.wayforward.net S: 250-mail.example.com S: ... S: 250 8BITMIME C: MAIL FROM:<terry@wayforward.net> Then the following command line would check if this is a valid sender: % pyspf 69.55.226.139 terry@wayforward.net mx1.wayforward.net ('pass', 250, 'sender SPF authorized') Command line calls return RFC 4408 result codes, i.e. 'pass', 'fail', 'neutral', 'softfail, 'permerror', or 'temperror'. RFC 4408 TEST SUITE The package also installs the python-spf test driver and the current (as of the release date) YAML (Yet Another Markup Language) RFC 4408 test definitions. As errors or improvements in the test definitions are approved, they are available from: <http://www.openspf.net/Test_Suite> To run the test suite, change the directory the test suite is installed in: $ cd /usr/share/doc/python-spf Uncompress testspf.py.gz, testspf.py.gz, and rfc4408-tests.yml.gz and then run testspf.py: $ python testspf.py The test suite supports multiple allowed results with a warning for a non-preferred result. For the current version, the expected results are: WARN: invalid-domain-long in rfc4408-tests.yml, ['8.1/2', '5/10']: fail preferred to temperror WARN: txttimeout in rfc4408-tests.yml, 4.4/1: fail preferred to temperror WARN: spfoverride in rfc4408-tests.yml, 4.5/5: pass preferred to fail WARN: multitxt1 in rfc4408-tests.yml, 4.5/5: pass preferred to permerror WARN: multispf2 in rfc4408-tests.yml, 4.5/6: permerror preferred to pass OTHER PROGRAMS
This package also provides two additional helper scripts; type99.py and spfquery.py. The type99.py script will convert DNS TXT strings to a binary equivalent suitable for use in a BIND zone file. The spfquery.py script is a Python reimplementination of Wayne Schlitt's spf- query command line tool. These scripts are described in pyspf-type99(1) and spfquery.pyspf(1) man pages. SEE ALSO
RFC 4408, <http://www.openspf.org> AUTHORS
This version of pyspf was written by Terence Way <terry-spf@wayforward.net> and updated by Stuart Gathman <stuart@bmsi.com> and Scott Kit- terman <scott@kitterman.com>. This man-page was created by Scott Kitterman <scott@kitterman.com>. 2012-02-05 python-spf(1)
All times are GMT -4. The time now is 06:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy