fetchmail with proemial and mutt

Hire us for your custom mobile application and Web Application development needs . You can be assured your final deliverable, no matter the technology its built on, will be secure, scalable and sustainable in whatever environment its hosted.

WhatsApp : +918500018686 :: skype: sales@sipcosystems.com


One of My Small Projects Required fetch mail to pull mails on linux system.

1. Need to download mail from remote server using fetchmail on linux

2.fetchmail will be added to crontab and scheduled to pull mail for every 2 minutes

3.each mail will be downloaded to a seperate text file

while configuring fetech mail with mda “/usr/bin/procmail -d %T”  getting syntax error   and i tried with  single  quotes ‘  and without quotes too .

/usr/bin/fetchmail –daemon 0 -v -f /etc/fetchmailrc
fetchmail: WARNING: Running as root is discouraged.
fetchmail:/etc/fetchmailrc:13: syntax error at mda


Though it  is not the solution for this problem ,  i called fetch mail in crontab this way

*/1 * * * * /usr/bin/fetchmail -m “/usr/bin/procmail -d %T”–daemon 0 -v -f /etc/fetchmailrc &> /dev/null

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top