mail queue notification script error.

12 views
Skip to first unread message

Mrugesh Shah

unread,
Jul 13, 2015, 10:50:38 AM7/13/15
to vg...@googlegroups.com
Hello All,

I want to create shell script for mail queue warning notification.

I am facing problem while running the script.

I have attached script file and the below error message.

a.sh: line 10: unexpected EOF while looking for matching ``'
a.sh: line 19: syntax error: unexpected end of file

-- 
Thanks & Regards,
Mrugesh C Shah
mail_queue_script.txt

Tejas Barot

unread,
Jul 13, 2015, 11:18:08 AM7/13/15
to VGLUG
Hello,

Small mistake, it should be like this, 

_exim="`/usr/local/atmail/mailserver/bin/exim`" 

At Line number 10: In Script, At last, You have used single quote (') instead of back quote (`)

Try to edit this and execute script, Please share output if you are still facing issue.

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

---
You received this message because you are subscribed to the Google Groups "VGLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vglug+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Mrugesh Shah

unread,
Jul 14, 2015, 2:21:02 AM7/14/15
to vg...@googlegroups.com
Hello Tejas,

I have changed the script. but still getting the error.

"Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.
./a.sh: line 11: [: ”193”: integer expression expected"

Thanks,

Mrugesh Shah
Thanks & Regards,
Mrugesh C Shah
mail_queue_script.txt

Tejas Barot

unread,
Jul 14, 2015, 2:26:46 AM7/14/15
to VGLUG
Hi Mrugesh,

You have used HTML quotes ”, I would request you to replace it with normal quotes ".

Change this and share output.
Reply all
Reply to author
Forward
0 new messages