10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Apologies if I posted it in a wrong section as it is related to gcc on cygwin. Please move it to appropriate section.
I'm trying to compile and build libsigc++-2.10.2 on cygwin with gcc 8.3.0.
when I run ./configure, I get this:
I couldn't fully understand what does... (13 Replies)
Discussion started by: prvnrk
13 Replies
2. Red Hat
Hi All,
Has Any body configured Photon3G ( ZTE MF190 ) on RHEL6.5.
Any Device as below ..
Bus 001 Device 033: ID 19d2:1254 ZTE WCDMA Technologies MSM
Kernel -- 2.6.32-431.30.1.el6.x86_64
Usb modeswitch Version ..
usb_modeswitch-data-20120815-2.el6.noarch... (0 Replies)
Discussion started by: linux.amrit
0 Replies
3. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
cant configure dns in virtual box. im using rhel6.3. i have a cd containing rhel which the professor provided us.... (2 Replies)
Discussion started by: rpmacaspac
2 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
want to add field to route cache and packet of DSR routing protocol in ns2.34, add field, DSR package in ns2.34... (2 Replies)
Discussion started by: khubalkar
2 Replies
5. Programming
hi
i am student doing project in ns2.34.
i hav to add field in route cache and packet of DSR routing protocol.
which files hv to be changed...pl help me (1 Reply)
Discussion started by: khubalkar
1 Replies
6. Solaris
I try a static ip assign mode while i installed the Solaris 10(U 8). But i can't access the internet, i try the ifconfig -a command and see my configuration is correct in the interface. So i want to get my ip using dhcp. I search from internet. They give me the suggestions.
ifconfig interface... (1 Reply)
Discussion started by: papertiger
1 Replies
7. Programming
Hello to all Gurus out there,
Could you show me a source code in Unix platform using C language. I want to read the status or voltage level of the DSR and CTS.
Thanks a lot,
Swing5 (2 Replies)
Discussion started by: Swing5
2 Replies
8. Shell Programming and Scripting
output of uname -a:
Linux XXXXX 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux
i'm trying to configure php with mcrypt support.
output is below:
./configure --with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql=/usr/lib/mysql3/mysql/mysql_config \... (1 Reply)
Discussion started by: pupp
1 Replies
9. AIX
Hi all,
I have a p520 machine running 5.2ML9 with a 2Gb FC HBA from IBM, i.e.
# lscfg -vl fcs0
fcs0 U787A.001.DNZ06YM-P1-C3-T1 FC Adapter
Part Number.................80P4543
EC Level....................A
Serial Number...............1F4270A0B6
... (5 Replies)
Discussion started by: Bookie
5 Replies
10. Programming
Hi,
I am a newbie using linux. I want to use the 9 pins of the COM port for data transmission. I am trying to write a code to toggle the DTR pin in /dev/ttyS0.
Can any one help by giving a sample code or links that will help me pick up fast
Regards (2 Replies)
Discussion started by: Srikanthks_2000
2 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)