Programming :: Read Mailbox & Attachments From Script?
Nov 17, 2010
How would one go about reading a mailbox, and detaching the attachment (a csv file) in all unread mails for processing?
I plan to do this in bash or perl. I am looking for ideas or sample code.
View 2 Replies
ADVERTISEMENT
Sep 8, 2010
I would like to make a script which reads a POP3 mailbox on another server and saves the items in the mailbox to a MySQL database. Is this possible? I have to make this script to create monitoringen scripts which has to use the messages in the mailbox.
View 2 Replies
View Related
Jul 3, 2010
Is there a setting to make the default in Kmail to save the attachments (or when dragging them into a folder) so they are NOT set to read-only?
View 4 Replies
View Related
May 26, 2011
(We are running CyrusIMAP v2.3.16 on Slackware 13.1)The Problem:A user deleted a HUGE public Folder (>10000 Messages, >250 Subfolders), and now the Folder is in his "Trash" folder.Besides the obvious "Why did he have the access rights to do so in the first place??" question, I am honestly at a loss as to how the user did it:Trying to copy it back using Thunderbird failed utterly, TB crashes, or copies only a part, or nothing at all... (Tried 3.x on Windows and Linux Clients)So now I'm searching for a way to copy the folder back serverside.But web and manpages seem to offer few help:I don't want to move the folder to another partition, nor do I want to reconstruct or restore any corrupted data...All I want is to copy the folder from "user/USERNAME/Trash/HERE" back to "shared/archive/HERE".
View 1 Replies
View Related
Jan 1, 2011
I have a Linux server that has local mail service. There are few user accounts on this server. User may send the mail to each other but that only restrict to LAN environment only.
For example, I may
# mail user1
To send mail to user1. User are not able to send mail to public. Some service like hylafax using this local mail service to send notification of fax status.
I don't want to manage and maintain local mail service anymore. I have subscribed a package from ISP to host a public domain of my own. I wish to have my hylafax service to able to send the notification mails to public mail server, is that possible to do it? It is great if all mails that send to local mail server may forward to public mail server. That makes the local mail service serve mail forward only.
View 1 Replies
View Related
Mar 8, 2011
I have a server listening on incoming client connections. Once the client establishes SSL connection with the server, the server waits on read() from the client. Only Client can disconnect the connection. I want to have a timer in the server program to wait for x secs after read() and then disconnect the Client connection.
View 3 Replies
View Related
Sep 26, 2010
I try to use XML::Simple to read each 'feed' from following RSS from CNN. Some of the sets contains more than one feed item which has no unique identifier besides its contents.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rssfeeds> <set id="1">
<!-- RSS feeds from feedburner.com !--> <!-- XBOX Scene !-->
<feed updateinterval="30">http://feeds.feedburner.com/XboxScene</feed>
</set> <set id="2"> <!-- RSS feeds from skynews.com !-->
<!-- World News !--> .....
View 1 Replies
View Related
Feb 22, 2010
at my work we have upgraded suse to 11.2, thus we also got an upgrade of thunderbird 2 to 3.
When I now save attachments to our network disks it writes them as user=rw (600), and no longer as 644. I do not want to do chmod for every attachment.When creating a file by csh or bash terminal or downloading a file by firefox it does write the file as 644, which is good.
Can someone please give me a suggestion of how I can solve this problem? Is there something I have to change in the prefs.js file?
View 4 Replies
View Related
Nov 29, 2010
how to send attachments in G2Ipmsg.
View 1 Replies
View Related
Aug 5, 2010
I have set up a Sympa list serv server and everything is working fine for the most part. One issue that I am running into is sending files over ~580 KB in size (just a normal .txt file) are not going through. I am getting the following error. Impossible to distribute your message for list 'list-name' because of an internal server error.I have verified that my "Maximum message size (max_size)" setting in Sympa is get to 5 MB so that shouldn't be the problem. If I try sending the same .txt file after taking out a few lines, and the file size is ~530 KB, then it works just fine. Nothing is really jumping out at me in the logs either.
View 1 Replies
View Related
Jul 7, 2011
I have centos 5.3 installed with squid server. I want to block attachment in yahoo, google, etc.
View 1 Replies
View Related
May 7, 2010
I was wondering how to block attachments to gmail. I am running squid 2.7 stab9 with dansguardian 2.10, users authenticated from LDAP. I have configured the POST restrictions in Dansguardian which does block all attachments to hotmail/yahoo etc etc but attachments to gmail continue to upload.
View 1 Replies
View Related
Apr 13, 2011
I have Internet access with Verizon Wireless and have a limit of 5 gigs per month but Mozilla Thunderbird 3.1.8 is wasting my data whenever I send large attachments. For example, when I send an attachment to somebody, Thunderbird will upload it okay but when it is finished uploading it, the message in the window then says "copying to the Sent folder" but it does not simply "copy" it, instead, it uploads the attachment all over again to the Sent folder. So the attachment was uploaded twice, once to the recipient and once to my sent folder.I am running Linux Mint 9 Isadora.Is there a way to stop this behavior?
View 2 Replies
View Related
Mar 28, 2009
I need to read from a file called ranking.txt the name of the players and the respective score. The file is something like this:
Code:
24145 John Burt
12442 Kate Blair
[code]...
View 2 Replies
View Related
May 14, 2011
I need a regex expression to read IP address from lines like these for my perl script:
Code:
2011.05.13-14:54:58, test@xyz.com, 180.211.51.11, pop3
2011.05.13-14:57:26, test@xyz.com, 160.234.47.12, pop3
2011.05.13-14:57:54, www@abcd.com, 166.22.22.224, imap
2011.05.13-14:57:55, www@somedomain.com, 172.58.22.154, imap
2011.05.13-15:03:08, www@example.com, 190.22.120.44, pop3
View 6 Replies
View Related
Jul 20, 2010
when I first started with tbird version 3.0.5, under that version everything worked fine and attachments etc. downloaded, but tbird was automatically upgraded to 3.1 since then attachments don't download and pictures don't appear in emails.What do I need to do to correct this?
View 2 Replies
View Related
Sep 21, 2010
I'm at a complete loss on this one.MY version of Firefox 3.6.10 (Ubuntu 10.04 LTS) opens all email attachments with no problem. However, my sister's machine--same 3.6.10 and 10.04 LTS--does not. Instead, she gets the following message: "(PDF or JPEG) could not be opened because the associated helper application does not exist. Change the association in your preferences."I've checked all her preference settings against mine, and they match...but mine works and hers does not. (Also verified that "Document Viewer" and "Image Viewer" are installed properly...)
View 5 Replies
View Related
Mar 29, 2011
Running Postfix 2.6.1 on Slackware 13.0.I noticed that if I send an email with a large attachment(namely more than 500 KB) from another computer using this postfix server as an smtp server, it takes up to an hour to send it.It's almost like postfix is configured to send large emails later with a lower priority.The client computer and postfix server are within a GIGABIT LAN so upload 500 KB isn't an issue.
View 1 Replies
View Related
Feb 5, 2010
I'm running SuSE 11 with sendmail and dovecot.I'm sending and receiving mail. But as soon as someone sends me a mail with an attachment over 1mg it seems to fail. I have no problem sending big attachments.
View 7 Replies
View Related
May 10, 2010
Recently installed debian lenny.Running very well.WM: ratpoison.Suddenly, today, the internet runs much slower.ONLY ON THIS MACHINE - the parallel windows machine, off of which I was successfully weaning myself, is not having this problem, so it's neither the router nor the actual internet connection.Specifically: I can't attach a document in yahoo mail.I tried it in iceweasel, same problem, so it's not the browser.I piped the output of "top" for a minute or so to a text file, which I'm attaching.
View 4 Replies
View Related
Jan 6, 2011
I'm about to start trying to write a script to backup / with just something like tar, or dd, split into 24mb files and email to myself.What could possibly go wrong? I'm amazed I couldn't find anything in my searches on this specifically.What I want is to go from a Gentoo rescue CD to a restored system as easily as possible.I tried rsync over gmailfs but that just froze. I can't really see that working too well anyway.
View 2 Replies
View Related
Oct 30, 2010
I have an interesting job at hand. A client has asked me to generate an email account for him that will block ALL file attachments unless specific email addresses are added to a white list. Cpanel doesn't seem to allow this because of Exim (from what the server techs tell me).So here I am, asking the wise. Please let me know what options there are. I don't mind installing a 3rd party email system on the server just for this client if it's possible and won't interfere with WHM/Cpanel.
View 1 Replies
View Related
Dec 10, 2008
I admit to being a starter having recently switched from XP. How do I deliver emails to the remaining XP users that that have attachments thay can read if they are using microsoft packages of various ages especially when they have less computer skills than even me. Should I load word through WINE and send an Word emulating document?
View 3 Replies
View Related
Apr 11, 2011
I am trying to filter out attachment emails using procmail. I have tried this:
Code:
#Config:
SHELL=/bin/sh
PATH=/bin:/usr/bin:/usr/bin
MAILDIR="/var/mail/root"
LOGFILE=/var/log/procmail.log
LOGABSTRACT=ALL
VERBOSE=ON
:0
*^Content-Transfer-Encoding: base64$ {
| echo $LASTFOLDER }
[/code]
As you can probably guess, this line "Content-Transfer-Encoding: base64" appears when emails come with attachments, but the result of this filter is:
Code:
procmail: No match on "^Content-Transfer-Encoding: base64"
procmail: Skipped "| echo $LASTFOLDER"
procmail: Assigning "echo"
procmail: Skipped "| $LASTFOLDER"
procmail: Assigning "LASTFOLDER=/var/mail/root/msg.OFT"
procmail: Opening "/var/mail/root/msg.OFT"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "root@0:/var/mail/root/msg.OFT"
From root Mon Apr 11 01:23:37 2011
Subject:
Folder: /var/mail/root/msg.OFT 26051
The result showed as if there was no match, futhermore, the bash code that I am trying to run:
echo "$LASTFOLDER" seemed not to be ran as bash? And does anyone know how I can test my procmail filter on some testing platform sandbox so I don't have to send a bunch of emails everytime I change the file and waste time and disk space testing new filters?
View 7 Replies
View Related
Mar 11, 2015
Is there anyway to get evolution to not automatically print email attachments?
View 2 Replies
View Related
Jan 12, 2011
Not long ago I installed the Linux version of the Real Player (bad, bad me,I know) on my Debian Lenny system. Now Kmail will only open mp3 files attached to incoming mail with the Real Player.Outside of Kmail I have VLC set as my default player for mp3 files and that works fine but Kmail isn't respecting my system choices and I can't find any means, or reference to, changing the default media player in Kmail.This is so incredibly frustrating that it's almost like being stuck with a Windows system again.As a full-time Linux user I've lost my sense of martyred patience.
View 1 Replies
View Related
Nov 9, 2010
Chrome crashes when I try to send attachments using Gmail, instead firefox works fine. Several users have the same problem, but I could't find a solution.I use openSuse 11.3, Chrome 7.0.517.44 and the lastest flash version.
View 3 Replies
View Related
Mar 22, 2011
have a strange problem with evolution attachments: they take ages to save. I just received a 7 MB daily and it took about 3 minutes (!) until it completed the saving process.to be clear, the problem isn't downloading the email with the attachment from the mailserver. the problem exists AFTER the email has been downloaded from the server to my evolution inbox and I try to use the "save as..." option.it almost looks like evolution is trying to "download" the file from my local harddrive to my local harddrive (yes, this sentence is correct), and it's doing that at extremely low speed.
View 2 Replies
View Related
Feb 26, 2010
FC12/KDE How to do you enter Content-Type in Attachments in thunderbird? I have people sending me pictures I can't open in Thunderbird , it wants me to "Save" them, that has a Content-Type of Octet-Stream and I want enter Gwenview to view this Content-Type. There is no "Options" in the "Tools" window.
View 8 Replies
View Related
Dec 9, 2010
I manage a linux-based network, where some projects are currently under development. Our IT policy states that any email attachment shall be encrypted using GPG. Can I block other attachments using a firewall?
Note: Currently our mail server is not in campus. So I can only use a firewall for this security issue.
View 5 Replies
View Related