diff --git a/tests/p_postfix/30_postfix_mta_ehlo.sh b/tests/p_postfix/30_postfix_mta_ehlo.sh
index 9f7fdb6..8b502ed 100755
--- a/tests/p_postfix/30_postfix_mta_ehlo.sh
+++ b/tests/p_postfix/30_postfix_mta_ehlo.sh
@@ -7,7 +7,7 @@ ret_val=1
 # send mail to localhost
 mail=$(echo -e "ehlo localhost\nmail from: root@localhost\nrcpt to: root@localhost\ndata\nt_functional test\n.\nquit\n" | nc -w 5 localhost 25 | grep queued)
 MTA_ACCEPT=$?
-if [ $MTAQ_ACCEPT == 0 ]
+if [ $MTA_ACCEPT == 0 ]
   then
   t_Log 'Mail has been queued successfully'
 fi