fetchmail issue:fetching multiple account – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.
But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, email, , , .
I have a fetchmail install in my linux machine.
Here are the configuration in my .fetchmailrc
set logfile /root/fetchmail.log ##set daemon 300 poll smtp.gmail.com proto imap user "email@example.com" pass "mypass1" is "root" here poll smtp.gmail.com proto imap user "firstname.lastname@example.org" pass "mypass2" is "root" here ssl fetchall no keep mda "/usr/bin/procmail -f %F -d %T";
I want to fetch from both account but when i run fetchmail -kv , it only fetching the second gmail.I’ve already modified my fetchmailrc based on man fetchmail.But still no use.Can someone help me here?
I’ve finally found solution for my problems.It seems that some changes need to be done in .fetchmailrc.To get the fetchmail working,modify the .fetchmailrc as below:
set postmaster "root" set bouncemail set logfile /root/fetchmail.log poll pop.gmail.com proto pop3 user 'email@example.com' there with password 'paswd' is root here options ssl user 'firstname.lastname@example.org' there with password 'paswd' is root here options ssl fetchall no keep mda "/usr/bin/procmail -f %F -d %T";
Please note that the settings might be different based on your requirement.But these code have the basic settings to keep fetchmail running.Hope this help for whoever getting stuck with the same problem.