-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix all results. Updated IPs to match test domain
- Loading branch information
José Borges Ferreira
committed
Jul 14, 2020
1 parent
6419984
commit 543dad7
Showing
17 changed files
with
60 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,9 @@ | ||
#!/bin/bash | ||
|
||
./smf-spf -h | ||
RET=0 | ||
for testfile in tests/* ; do | ||
echo "#########################################" | ||
echo "Running $testfile ..." | ||
miltertest -s $testfile | ||
status=$? | ||
echo -n "returned " | ||
if [ $status -eq 0 ] ; then | ||
echo -e "\e[32msuccessful\e[39m" | ||
else | ||
echo -e "\e[31mfailed\e[39m" | ||
RET=1 | ||
FAILED+="\n\t$testfile" | ||
fi | ||
echo "#########################################" | ||
miltertest -s $testfile | ||
done | ||
|
||
[[ -z "$FAILED" ]] || echo -e "#########################################\nFailed tests $FAILED" | ||
exit $RET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
WhitelistIP 192.168.0.0/16 | ||
relaxedlocalpart on | ||
TTL 1h | ||
tagsubject off | ||
RejectReason "Rejeitado" | ||
User nobody | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
LogTo /dev/stdout | ||
WhitelistIP 192.168.0.0/16 | ||
RefuseFail off # (on|off) | ||
|
||
TTL 1D | ||
relaxedlocalpart on | ||
tagsubject off | ||
FixedClientIP 54.154.126.152 | ||
FixedClientIP 54.154.126.152 | ||
RefuseFail on | ||
User nobody | ||
Socket inet:2424@127.0.0.1 | ||
Syslog none | ||
LogTo /dev/stdout | ||
Syslog mail # (daemon|mail|local0...local7) | ||
Daemonize off # (on|off) | ||
AuthservID mail.example.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
LogTo /dev/stdout | ||
WhitelistIP 127.0.0.0/8 | ||
RefuseFail on # (on|off) | ||
RefuseSPFnone on # (on|off) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters