Excerpts from Javed Sahil's message of 2017-12-03 16:05:23 +0500: > 5. ./process_message_queue.pl > > this error message appears: > > connect to localhost failed (Connection refused) This sounds to me like a postfix configuration problem. What happens when you try this? telnet localhost 25 This should connect to the postfix SMTP server.