any one use fetchmail mutt postfix to access gmail?
I tried several methods on the web, but all failed.
My mailbox receive Code:
This is the mail system at host wizard-desktop. Code:
fetchmail: reading message wizard@gmail.com@pop.gmail.com:1 of 5 (10071 octets) (log message incomplete)fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused. |
Icedove works well with gmail & is simple to setup.
Also you have to enable it iat gmail account settings. |
I use getmail, rather than postfix.
I have a page on mutt that might be of some use, at http://home.roadrunner.com/~computertaijutsu/mutt.html. I use msmtp for sending. I've come to prefer getmail to fetchmail, there's a section on the page on setting it up, and it works with gmail (using pop) without a problem. |
Is postfix running and accepting connections?
This is what I do with a new install from postfix Code:
stop postfix |
Quote:
I will have to change to getmail and msmtp? Other solution? |
I only found getmail4 on Ubuntu 11.04.
Does this works fine? Same configurations step? |
yes, getmail4 is getmail. (The author made major changes between 3 and 4, I guess that's why Ubuntu calls it getmail4).
Note that I only offered it as a suggestion--you don't HAVE to change, I was just saying I don't know how to do it with fetchmail, but this way works for me. |
The problem isn't fetchmail, but postfix
Quote:
Any firewall? Quote:
Kind regards |
Hi, guys
I tried again for fetchmail. This works for me if I create a special user on my desktop. This user has the same id with my gmail user id. If I use another account on my desktop, I couldn't get mail. I have changed the user in .fetchmailrc to the same as the login user. I couldn't think of any other reason now. |
In gmail settings I think you can create aliases.
|
Please post the fetchmailrc file for both cases.
Kind regards |
Sure
1. login user: wizard, but not work set postmaster wizard #set syslog set daemon 30 set logfile /home/wizard/.fetchmail.log poll pop.gmail.com with proto POP3 and options no dns user "wizarddewhite@gmail.com" there with pass 'xxx' is 'wizard' here options ssl keep sslfingerprint '90:9A:84:92:E7:60:7C:A2:45:73:C9:11:D7:FE:7D:8A' sslcertck sslcertpath /etc/ssl/certs 2. login user: wizarddewhite, works set postmaster wizarddewhite #set syslog set daemon 30 set logfile /home/wizarddewhite/.fetchmail.log poll pop.gmail.com with proto POP3 and options no dns user "wizarddewhite@gmail.com" there with pass 'xxx' is 'wizarddewhite' here options ssl keep sslfingerprint '90:9A:84:92:E7:60:7C:A2:45:73:C9:11:D7:FE:7D:8A' sslcertck sslcertpath /etc/ssl/certs Anything related to mutt? |
Do you still get the connection refused in the logfiles?
Kind regards |
Below is the fetchmail log file for the working one.
Still see the "connection refused" message,while I can see the mail via mutt. Quote:
|
While I tried again on the "wizard" account.
The fetchmail log file shows Quote:
But I can't see mail via mutt. |
Quote:
|
ok!!!
I found I made a stupid mistake!!! The fetchmail config is correct, while the mail file is readonly! Now fetchmail could get mail correctly, and I have to solved the send mail problem. |
All times are GMT -5. The time now is 07:53 AM. |