Skip to content
Snippets Groups Projects
Commit c1df2081 authored by Sami Kerola's avatar Sami Kerola Committed by Kamil Dudka
Browse files

test: use invalid. instead of myhost.org. as mail destination

The myhost.org is real domain.  It is better to use invalid. TLD that is
reserved by IETF to this purpose.

Reference: https://tools.ietf.org/html/rfc6761


Signed-off-by: default avatarSami Kerola <kerolasa@iki.fi>

Closes #138
parent 01b10739
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -103,7 +103,7 @@ createlogs() {
}
 
checkmail() {
(echo -s $PWD/$1 user@myhost.org; echo $2) | diff -u - mail-out
(echo -s $PWD/$1 user@invalid.; echo $2) | diff -u - mail-out
if [ $? != 0 ]; then
exit 5
fi
Loading
Loading
Loading
Loading
@@ -4,6 +4,6 @@ create
daily
# note the white space after this line
rotate 2
mail user@myhost.org
mail user@invalid.
maillast
}
Loading
Loading
@@ -10,5 +10,5 @@ create
delaycompress
create
mailfirst
mail user@myhost.org
mail user@invalid.
}
Loading
Loading
@@ -8,7 +8,7 @@ compressext .gz
&DIR&/test.log {
monthly
rotate 1
mail user@myhost.org
mail user@invalid.
maillast
sharedscripts
 
Loading
Loading
"&DIR&/test.log" {
monthly
rotate 2
mail user@myhost.org
mail user@invalid.
maillast
}
Loading
Loading
@@ -9,5 +9,5 @@ create
delaycompress
 
mailfirst
mail user@myhost.org
mail user@invalid.
}
Loading
Loading
@@ -3,7 +3,7 @@ create
&DIR&/test*.log {
monthly
rotate 1
mail user@myhost.org
mail user@invalid.
maillast
 
postrotate
Loading
Loading
Loading
Loading
@@ -3,7 +3,7 @@ create
&DIR&/test*.log {
monthly
rotate 0
mail user@myhost.org
mail user@invalid.
maillast
sharedscripts
 
Loading
Loading
Loading
Loading
@@ -3,7 +3,7 @@ create
&DIR&/test*.log {
monthly
rotate 0
mail user@myhost.org
mail user@invalid.
maillast
sharedscripts
 
Loading
Loading
Loading
Loading
@@ -3,7 +3,7 @@ create
&DIR&/test*.log {
monthly
rotate 1
mail user@myhost.org
mail user@invalid.
maillast
sharedscripts
 
Loading
Loading
Loading
Loading
@@ -3,7 +3,7 @@ create
&DIR&/test.log &DIR&/anothertest.log {
monthly
rotate 1
mail user@myhost.org
mail user@invalid.
maillast
sharedscripts
 
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@ create
monthly
rotate 1
start 0
mail user@myhost.org
mail user@invalid.
maillast
sharedscripts
 
Loading
Loading
Loading
Loading
@@ -11,6 +11,6 @@ create
compressext .gz
nosharedscripts
dateext
mail user@myhost.org
mail user@invalid.
maillast
}
Loading
Loading
@@ -7,6 +7,6 @@ create
rotate 0
nosharedscripts
dateext
mail user@myhost.org
mail user@invalid.
maillast
}
Loading
Loading
@@ -4,7 +4,7 @@ create
monthly
rotate 3
start 6
mail user@myhost.org
mail user@invalid.
maillast
sharedscripts
 
Loading
Loading
Loading
Loading
@@ -8,7 +8,7 @@ compressext .gz
&DIR&/test.log {
monthly
rotate 3
mail user@myhost.org
mail user@invalid.
mailfirst
sharedscripts
 
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@ compress
&DIR&/test.log {
monthly
rotate 0
mail user@myhost.org
mail user@invalid.
mailfirst
sharedscripts
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment