diff --git a/tests/test_send_email.sh b/tests/test_send_email.sh
index 302867d2b8e86b5bc66d4085d4f3f849a628e7fd..49b263cf6f4b8405f8a236c64edc6ad6845b125d 100755
--- a/tests/test_send_email.sh
+++ b/tests/test_send_email.sh
@@ -3,7 +3,8 @@
 # envoyer un mail contenant un truc random
 RAND="$RANDOM"
 EMAIL="noreply+$RAND@ubicast.eu"
-echo "Sending email to $EMAIL"
+RELAY=`grep relayhost /etc/postfix/main.cf`
+echo "Sending email to $EMAIL using $RELAY"
 echo "This is a test email" | mail -s "Test email from `cat /etc/hostname`" $EMAIL
 sleep 10
 grep $EMAIL /var/log/mail.log | grep bounced > /dev/null