Software :: Extract Mime-encoded From Broken Email Messages ?
May 6, 2010
Within Evolution, the message body is blank but there is an attachment. This attachment may itself be blank or broken in some way.
If I can alter settings as recipient so that these fractured messages don't happen, terrific. If there is some SaveAs & filter that will let me extract the content, that is good too. If there are settings that the sender might enable on their end, I could always ask, but I'd still need that filter.
I routinely get email with "attachments" . These attachments are supposed to be other messages being forwarded to me. These 2nd, 3rd, ... level messages are routinely broken somehow so that I cannot read them with Evolution or Thunderbird. I can save as mumble.eml and scan with a text editor, but then I find large block of mime-encoded content that is often some sort of image file: JPG, PNG, PDF etc.
I have a small bash/awk program that extracts the date/time/size of thousands of email headers. I'm trying to also extract the last "Received from:" string from these email headers which will give me the senders email server. on extracting the last occurrence of this string, and printing the information after it?
How do I get rid of unwanted ads (lots of it in CNET's newsletter, etc.) when reading messages in Evolution?
PS- Thunderbird at the moment seems the only eMailer capable of adding some kind of adblock... I hope to see some kind of equivalent alternative towards Evolution!!?
I keep getting emails from my 404 error handling system on my CMS saying "mail3.xps.idv.tw:25 cannot be found" with no referer. It would appear that someone is trying to use my server to relay spam to Taiwan. How do I check that my server has the right security to stop this happening?
I currently have a NAS (Ubuntu 10.04) on my network without an access to a monitor due to a lack of a graphics card. I noticed that every time I restart the NAS, it's been taking longer to fully restart. I suspect that something might be wrong, and the warning or error messages are being displayed during startup.
Is there a log file that Ubuntu prints to for everything that is displayed from the moment the system starts up until the login screen? I have email set up on the system via .mailrc and .mstmprc where I could email out with the mail command. I would like to email myself the log file every time the system starts up so I can monitor the system's health.
My wife uses Evolution for emailing. I have just set up an new email account for her and the strangest thing is happening. When she sends mail, a copy was going to the old Sent folder for her old account. Fine. So I tried Edit->Preferences->Mail Accounts->Edit->Defaults and pointed the sent mail to the Sent folder in the new account.Now she sends a mail and there is no copy going anywhere! It is not being saved in the old Sent folder or the new.Compaq Presario 610, Maverick 10.04.
I wanted to try out new Ubuntu 11 and while doing it I managed to connect to facebook, twitter, all my chat accounts and MY EMAIL via Evolution. Everything went well until I restarted and went back to my lovely Karmic to log in into the email account and find all messages GONE!
I'm setting up email gateway using Postfix, Amavisd-new, ClamAV and SpamAssassin on Opensuse 11.1. Everything seems okie, but I can't have messages with added spam headers, such as:
X-Spam-Flag: NO X-Spam-Score: 0.233 X-Spam-Level: X-Spam-Status: No, score=0.233 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.536, BAYES_50=0.001,]
When I try to debug amavis, I can see that SPAM-TAG, <abc@yahoo.com> -> <celeron@domain.com>, No, score=5.406 tagged_above=-999 required=6.2 tests=[LOCAL_DRUG=4, NO_DNS_FOR_FROM=1.407, NO_RELAYS=-0.001] but they don't add to email messages. I've configured amavisd-new with $sa_tag_level_deflt = -999 to add spam headers at all but not successful.
I was wondering if you could recommend a simple way to achieve functionality where received email messages are automatically processed and used in SQL commands (depending on certain criteria, of course). For example, say I have made a PHP-based blog application and it's located at example.com and I'd like to give members the option of posting to their blogs by sending email to a special @example.com address. The email messages received there will be inserted into a database depending on the sender's address, with the body becoming the post and the subject line becoming the post's title, etc.
Another example could be how those trouble ticket systems let customers submit tickets via email, while the support agents operate via a database-driven Web application. Is this the type of thing one must code from scratch, or is there an open source solution out there which only needs to be configured accordingly?
I'm trying to effectively use EVOLUTION for email but am finding it frustrating. I created a folder to house a specific group of messages. For each message, I went to the "Message" tab and clicked on "move to folder." The folder heading on the top left indicates that there are 30 messages in that folder, BUT NO MESSAGES ARE APPEARING.
My Evolution email client is able to send only smal messages. As soon as the email message is more than approx. 20 lines, sending is blocked. The status line displays "Sending message (0% complete)" for a few minutes and then it displays "Error while sending message." Receiving of email messages works fine.
We have a sendmail server located in a DMZ that has normally been able to send SMTP traffic to whatever destination is listed in the address of any given e-mail message. A recent change in network configuration has introduced an e-mail gateway that all servers need to send smtp traffic to in order for the messages to go out to the Internet.
I recently ran across a Windoz program that allows you to send Voice Messages in your email, it's called TalktheTalk. and I am wondering if there is a similar program for Linux. It does not require the recipient to have a chat client or anything like that. You just record your message, I guess, I haven't used the TalktheTalk program, attach it to your email, and send it. The recipient opens the attachment and can listen to your message.
I am trying to figure out how if it is even possible to set up my centos server to email messages to gmail account I have tried mail -S Test account@gmail.com but every time it say in my log files that Connection refused by [127.0.0.1]
I'm running a cobalt raq550 web server (Linux version 2.6) and I want to install a syslog program on it, something that could log messages and send me an instant email in response to certain messages it receives. Is there such a program?
We have MS Exchange email server with postfix/amavis on FreeBSD as proxy for anti-spam and anti-virus. We use our own developed CRM and trying to implement such functionality that when CRM manager send email to CRM client or vice versa through email client like Outlook (no plugins for CRM) this message would be shown in CRM. There is already a solution to parse emails from specific emailbox and show it in CRM.
What I need is to create postfix email filter to check if sender email is in file CRM_managers_emails and recipient email is in file CRM_clients_emails then forward that email to [URL] Filter should check both incoming and outgoing messages. I will auto generate CRM_managers_emails and CRM_clients_email files containing all such emails taken from CRM database. I know i should use something like Postfix After-Queue Content Filter but most of examples are for blocking emails.
I'm trying to trial Ubuntu 10.04 for the first time on my Dell Inspiron 6000 laptop. When I try to create a USB drive, I get a diagnostic message reading that some files are broken. The first time I ignored it and tried to boot Ubuntu from my USB stick anyway, but I couldn't get further than Ubuntu's boot screen. I tried to access the help menu from the boot screen and it said I was missing the kernel (named "casper" something or other).
I cannot play encoded dvds, or access the menu options of dvds with menus.1. My dvd drive appears to work fine. It can play anything else i put in it.2. I have enabled Restricted Formats and Medibuntu. Both are fine.3. I have installed libdvdcss2 and libdvdread4. Both are fine.4. I have installed VLC. It can see the tracks on the disk but cycles through them without playing anything.5. I have Gnome MPlayer. It can see the tracks on the disk, but not open the menu screen. It can even play tracks on the disk, but only from 25 minutes into the track and onwards. (?!?) The image and audio work fine so it can obviously read the data, but it can't manage the menu and finding the first 25 minutes of each track.. Everything is up to date. Nothing appears broken.I have been using Ubuntu for 3 years now and have challenged many Windows friends to change. Some have. But without a dvd player... That's going to be like selling a three-wheeled car.
I have a URL that I'm trying to redirect back to the homepage on my site. For some reason since it contains hex I can't seem to get it to work.
A sample source URL is:
[url]
The destination URL is:
[url]
I've tried many different things to no avail.
Some things include:
Redirecting source URLs with REG_LOGINfromURL will get me what I need. Some of my examples work when the source URL does not contain enconded characters, so if the URL was instead [url] it would redirect.
I am currently trying to play a VC-1 encoded MKV-file under Linux (Ubuntu 10 / latest Mint, both are affected), but VLC reports that it isn't able to decode WVC-1. VLC is able to play this file under Fedora 13, OS X and Windows, while both mplayer and ffplay are able to play this movie under Ubuntu 10 and Linux Mint.
I made two log files that where previously posted on the VLC forum, where I was told that it looks like there is a problem with the avcodec. I have basic experience with compiling stuff, but my knowledge of C++ and the linux internals is close to null. Which packages do I need to build from source in order recreate avcodec and its dpendendcies?
Link to error log running Ubuntu 10 and latest "Linux Mint" (reinstalled multiple times):[url]
Link to log running Fedora13 (works, but I prefer debian based linux):[url]
And last but not least a link to my thread on the VLC board:[url]
I have a few hard disks fully encrypted with Truecrypt. They have not been partitioned, just encoded right of the bat with Truecrypt. I just use Truecrypt command line to mount them, supplying password whe asked.
So from a linux standpoint, they show up as disks with unallocated space.
But I recently updated (moved) my linux from Ubuntu to Kubuntu. In the process, the partition manager asked where to install the new OS, I answered erase existing system and install there. But I noticed too late that the install program decided to install GRUB on another disk, one of my encrypted disks, instead of the system disk already selected. I don't know why, but it did. Now this disk shows up in linux as a disk with multiple partitions, and of course I can no longer mount it with Truecrypt.
I haven't done anything with the disk, except from trying to mount it in Truecrypt. So apart from the GRUB install, nothing else was touched on the disk.
I know Truecrypt place a backup header towards the end of the encrypted disk, so it should still be there intact, but since I now have multiple partitions, Truecrypt is certainly confused and cannot see the end of the disk since I now have 4 of them (partitions).
I am not a beginner but I am hesitant to attempt something that could kill all hopes of recovering the disk. It is a 2TB disk with a lot of data on it. I could probably make a copy of the entire disk but this means buying another 2TB disk....
One of the first idea was to kill the current partition setup to leave it "unpartitionned", so like it was before, maybe Truecrypt will now find the backup header. But before I do so, I would like opinion of real experts on linux.
Trying to play back h264 encoded Quicktime movies in FC9. On the Gnome desktop. Totun needs some non-existant H264 pulgin. Installed Xine, but no UI appears, only a blank screen. Yum can't find VLC. I have downloaded Quicktime for FireFox, which appears to work on many of the website. What am I missing ?
I have this JSON encoded data, which I want to efficiently parse (i.e. fast, with minimal system resources). I don't want to use a/the shell any more than necessary.
Here's a snippet of what the raw serial data looks like:
Code: [{"num":1,"name":"1","visible":false,"focused":false,"rect":{"x":0,"y":0,"width":1680,"height":1050},...blah blah.. So that's fine. I currently have at least two ways of parsing it:
This Perl method (which I don't much care for because I'm not much into Perl, and because the output is not much more useful than the raw form, and imho even more cryptic):
# Which means: at x=1680, draw a 20x20px grey block, then back up -10px and draw a "1" on the block.I figure that the two awk's I've used can be combined into one -- but I began having problems with removing the single quotes if I did it within the awk, which is why I stuck a `tr` in the middle.
I know this sucks. So, if someone has some ideas or thoughts on something else to do with this JSON data, that's less convoluted that where I'm currently going, I'll be happy to hear about it.
PS - I know this whole post is possibly hard to understand -- if you need more info (you mean you're interested in this mess?? )
Is there some kind of universally recognized pragma that one can insert at the beginning of a text document to designate it to be UTF-8 encoded (or any other encoding)? I've seen certain editors insert encoding comments, and one or two compilers that have an encoding pragma. But I was wondering if anyone has tried to establish some kind of universal tag format for text documents.
I have a syslog-ng running and kernel build of 2.6.34.8 I use a syslog API in my program with facility LOG_LOCAL5 and and levels debug err and crit and info. when I ran on the older syslog facility I had everything logged fine as I intended. now I have written these rules into the syslog-ng.conf:
I installed faenza icon theme and would like to have for my pdf docs only mime type (included in mime types/ icon theme), not a thumbnail. Is there some easy way to change this system wide? I tried this and similar suggestions found on net, but no go: http://ubuntuforums.org/showthread.php?t=770142