when a new email arrives on my gmail account, i want to be labelled (=tagged), letting an external bash script read the message and choose the right label.
i.e.:
from: ebay
to: me
dear matteo, congratulations! BILL_GATES has just bought one of your items! regards, mr. ebay i can easily write a script to calculate the right label (BILL_GATES) but how can i create it (if not already existing) and apply it to the processed message?
it took me 2 minutes to find a guide on how to configure mutt to view my gmail account, but i can't go any further... mutt has a kind of patch or extension to manage labels (view, edit, apply, etc), but i can't figure out how i could make it an automatic procedure... fetchmail + procmail seems to be the best solution, but (before spending a night with any effort)
I found this page to have the configuration of : but I have to adapt and get always errors. [URL] What are the minimum configurations so that one can do : echo test | mutt me and it sends it via msmtp and mutt one can read his emails using hte imap enabled on the account?
In my continuing quest to live without X most of the time, I am trying to set up fetchmail and Mutt to get and send mail. I only want to be able to send and receive text based mail, and so far I am running into trouble with what I think should be pretty simple. For receiving my mail, I believe I only need to create a .fetchmailrc file in my home directory with the entry:
Code: poll [URL] protocol pop3 username "myusername" password "mypassword" But I get: 2 messages for myusername at mail.myISP.com (7965 octets). fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused. fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from wetumpka@mail.btopenworld.com and delivering to SMTP host localhost reading message myusername@pop-smtp.ISP.mail.fy5.b.yahoo.com:1 of 2 (2734 octets)fetchmail: Query status=10 (SMTP)
It appears to me that it is finding mail but does not know where to deliver it and is refused a connection to my machine. Also, I cannot figure out how to set up my SMTP for my ISP in Mutt to send mail. Can someone point me to a simple tutuorial on how to do these things. I really only want to do what you would with Thunderbird, but from the command line.
I use fedora 13 now. I want to try mutt, but I don't know how to make it work.so I search by Google, Then,I add a .fetchmailrc in my home directory as below:
set daemon 60 set logfile /home/kenifanying/.fetchlog poll pop.gmail.com protocol POP3 user "abc@gmail.com" password "123456" ssl sslcertck sslcertpath /home/kenifanying/.certs/
There are two files named gmail.pem and Equifax_Secure_CA.pem in ~/.certs/ I create these two files like this: First, I retrieve the Gmail certificate provided by the Gmail pop server: $ openssl s_client -connect pop.gmail.com:995 -showcerts
My fetchmail stopped working for gmail. These are the error messages:
Code: Mar 29 15:31:17 cannabis fetchmail[8814]: pop.googlemail.com fingerprints do not match! Mar 29 15:31:17 cannabis fetchmail[8814]: SSL connection failed. Mar 29 15:31:17 cannabis fetchmail[8814]: socket error while fetching from xxxxxxxxxx@gmail.com@pop.googlemail.com Mar 29 15:31:17 cannabis fetchmail[8814]: Query status=2 (SOCKET) Mar 29 15:31:17 cannabis fetchmail[8814]: pop.googlemail.com fingerprints do not match! Mar 29 15:31:17 cannabis fetchmail[8814]: SSL connection failed. Mar 29 15:31:17 cannabis fetchmail[8814]: socket error while fetching from xxxxxxxx@gmail.com@pop.googlemail.com Mar 29 15:31:17 cannabis fetchmail[8814]: Query status=2 (SOCKET)
# uname -a Linux newserver 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:40 EST 2010 i686 i686 i386 GNU/Linux
The configuration file for mutt (.muttrc ) : root@newserver ~]# cat .muttrc set from = "kostas123@gmail.com" set realname = "Kostas xxxxx" set imap_user = "kostas123@gmail.com" set imap_pass = "xxxxxxxxxx" set folder = "imaps://imap.gmail.com:993" set spoolfile = "+INBOX" set postponed ="+[Gmail]/Drafts" set header_cache =~/.mutt/cache/headers set message_cachedir =~/.mutt/cache/bodies set certificate_file =~/.mutt/certificates set smtp_url = "smtp://kostas123@smtp.gmail.com:587/" set smtp_pass = "xxxxxxxxxx" set move = no set imap_keepalive = 900
root@newserver ~]# service sendmail status sendmail (pid 6428) is running... root@newserver ~]# mutt Error in /root/.muttrc, line 8: header_cache: unknown variable Error in /root/.muttrc, line 9: message_cachedir: unknown variable Error in /root/.muttrc, line 11: smtp_url: unknown variable Error in /root/.muttrc, line 12: smtp_pass: unknown variable source: errors in /root/.muttrc Press any key to continue...
Mutt can only read email's from my gmail account, but no emails can be send through gmail to the Internet. I need some guide for Mutt , don't know how to configure it , for sending emails via my gmail account. I tried many muttrc conf files from the Internet and even tried to configure my own muttrc file , but still no luck. My windows xp box ( Outlook Express ) is configured and works with gmail account , but I would like to explore the power of Linux.
I need to ask you how canIi make some fetchmail jobs to download mails from my gmail account into my mail account in my own server? My server is : Linux Centos 5.4 Postfix Mail Server
I make a file named .fetchmailrc in my home directory and set its permissions to 755and the content of this file is:
set postmaster "postmaster" set bouncemail set no spambounce set properties "" poll imap.googlemail.com:993 protocol imap username "username@gmail.com" password "password"
I think something is not completed, I need to make that fetch to a specific user only, not all users.
Using ubuntu 10.04 32-bit. I'm unable to get a gmail connection: Polling code in .fetchmailrc:
Code: poll pop.gmail.com with proto POP3 user 'tim042849' there with password 'xxxxxx' is 'tim' here options ssl sslcertck sslcertpath /home/tim/.certs/ Relevant log messages:
fetchmail: Server certificate verification error: unable to get local issuer certificate 4034:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:980: fetchmail: SSL connection failed. fetchmail: socket error while fetching from tim042849@pop.gmail.com fetchmail: Query status=2 (SOCKET)
Code: wget -O equifax.pem [URL] Both of the certificate files have permissions of 644 and user is tim Unless I'm wrong, the key message is Server certificate verification error: unable to get local issuer certificate
When I create a new user account and login the first time to Gnome a series of files and directories is created in the user's home directory. Those directories are for example:
How can I control what files and directories are created? I checked /etc/skel but none of those entries where there. In particular, I do not want to have the folders "Bilder", "Documents", "Musik", "Videos", "Vorlagen" and "�ffentlich" being created.
I am trying to set up Mutt to use my Gmail account. I've followed this tutorial, and I've been able to use IMAP to download and view my messages, however, when I try to send a message I get a error message, "No authenticators available". I've tried using 587 and 465 for the smtp port. 465 results in Mutt freezing and only being closed with kill. Does anyone have any idea? Anyone currently using Mutt with Gmail without the issue's I'm experiencing?
Here is my .muttrc:
set from = "dagoss@gmail.com" set realname = "David" set imap_user = "dagoss@gmail.com" set imap_pass = "mypassword" set folder = "imaps://imap.gmail.com:993" code....
I was lurking about my hidden files and noticed the ".thumbnails" directory. I had been browsing the web for about an hour and had opened some image files from my drive.HOLY CRAP! I had over 2000 thumbnails in that directory! Every time an image is displayed, a thumbnail of it is created? Really? Seriously, I don't care what the reason behind this "feature" is, how do I stop it? It is simply unnecessary and a waste of disk space.
I'm a big fan of the NSLU2-Linux project so I've been doing some developments for this platform for the last three years. In order for the end users to test my applications, I initially created an USB image with everything bundled into it. Then, they only had to download the image and decompress (dd) it into an USB pendrive with capacity equal or greater than 4 GB. The fact is that this has brought me lots of problems in the practice since my Web server hardly accepts long file transfers.
Moreover, flash spaces beyond 4GB are wasted. As result, I'm now considering a different approach as I don't know how to do it. Well, I've thought that I could maybe create an USB disk image only with the root file system partition. Then, the first time a script runs, it creates a home partition and formats it into the rest of the space available in the pendrive. There is maybe some command-line alternative to fdisk without having the user to interact during the format process... ??
I have a windows 7 ultimate host machine, installed oracle virtual box on it. Made a iso image to boot fr fedora. All this is fine when the installation is complete, it asks for reboot. Reboot done. Then I went to terminal. Did a SU - root to get into the root. Then I did a firstboot command to enter information. I created a user for myself and at the end rebooted the virtual box.
When it starts up, it does not show my user. It just shows "Automatic Login" and it logs in as Live System User. Even if I try to switch user then it gave me a authentication failure when I enter the credentials of the user which I created. If I try to create users manually using system administration, the user is lost after reboot. I have tried all possible steps...as instructed on the net.
I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.
use any browser and go to gmail. i can't get gmail to load. if i browse on videos, links to videos don't work. they appear to be taking a long time to buffer, then a message appears saying to try again. sometimes, links on google search pages are all dead. yahoo mail loads as far as logging me in, then i get a page with all dead links.
i'm using a laptop at several locations that have free public wifi. at some places, everything works perfectly normally. at other places, google and yahoo are almost useless. the "bad" places work just fine under ms windows.
so i figure it's a networking/handshaking issue, but that's all i can figure. i need help to troubleshoot it further. if it's happening to me, it has to be happening to other people, and i consider it a major hassle.
My college internet providers shifted to a different setting.. defined in the changing lan proxy settings on the user end. I.e.ip - 192.168.0.200 and port to 3000. This to reduce misuse of the net connection ..The thing is, since then, every other website is working, except GMail. It isnt blocked, the Nebero page shows up for blocked sites. When attempting to open gmail, the default internet page shows up for unavailability of page owing to no or slow response from the server, or the firewall or proxy settings not appropriately configured. I cannot open gmail, the connection on empathy im. I cant ping gmail either. No response. What can be the problem.
I have been trying to configure the mailcheck in gkrellm to check and notify for new mail on my gmail account. I have activated pop of course...
These are the pop info taken from gmail:
Quote:
Server for incoming mail (IMAP) - needs SSL: imap.gmail.com Use SSL: Yes Port: 993 Server outgoing mail (SMTP) - needs TLS: smtp.gmail.com (use verification) Use verifiering: Yes Use STARTTLS: Yes(some clients call this SSL) Port: 465 or 587
My issue is that i'm trying to send emails with postfix and gmail as the mail relay,i'm trying to send emails to my self by sendmail -bv user@gmail.com
In the logs, i can understand that it been delivered to the destination, taken from: /var/log/mail.log: Apr 30 00:05:23 moni postfix/pickup[10490]: 9C7552170C: uid=0 from=<root> Apr 30 00:05:23 moni postfix/cleanup[10495]: 9C7552170C: message-id=<20110429210523.9C7552170C@moni.localdomain> Apr 30 00:05:23 moni postfix/qmgr[10491]: 9C7552170C: from=<root@moni.localdomain>, size=283, nrcpt=1 (queue active) code....
When login in my gmail account i can't see nothing under the sent / inbox / spam folder.
it's seems like the mail are been sent.. but nothing is happening.
I used to be able to see the labels above the icons in the dock when I hover over them. For some reason I can't see them now. I think I may have turned something off in the Cairo Dock settings and can't remember where to implement this functionality again.
I just upgraded to Ubutntu 11.04 64 bit, using the default Unity setup. Everything seems to work fine apart from labels on the dashboard, about half of them appear scrambled. When I press the Ubutnu icon on the top left some of the text is also scrambled. I have an integrated Intel graphics card.
I recently ordered some custom CDs from a local shop. I sent them the ISOs for Debian and a large colorful PNG graphic for the label. They used an inkjet printer to print the label onto some special CDs. A few hours later, I noticed that the red ink transfered to my fingers when I picked up the CD. Previously, I printed some disks with blue, purple, and yellow, but found no such problem.
I wonder if could be damaging to the computer, ie. lots of little paint flakes coming off inside the computer while the CD drive is spinning and heating up?
I have a debian 6 system in my basement acting as a media server. Debian is on a separate HDD from the raid drives and there is one external drive. Under normal conditions the Debian HDD shows up as /dev/sdk and the external shows up as /dev/sdl, no problems here because I use UUID for mounting. The problem is sometimes this drive isn't picked up on restarts (its old and I think the issue is the power supply in the base of it, to be solved later) . This wouldn't be a problem but it some how shuffles the drive addresses and the Debian HDD becomes /dev/sde, this in turn messes up a script that does a weekly dd of that hard drive. I am only really worried about this for when I go on vacation and I wont be at home if the power goes out.
So, is there a way to address the entire hard drive (not just a partition) other than the dev file? Why did this change from Debian 5 to 6? I never had this problem before with 5.
In case you are wondering, I find it easier recover from an image rather than do a reinstall, then get all the updates and software, then put in all the backed up files.
I like having a very minimal, simple desktop. As odd as it sounds, I would love to change "Applications" to "Apps" on the Main Menu. How would I go about doing that?