Server :: Procmail Decision Based On Content Of Attachment
Nov 30, 2010
Is it possible to have procmail make a decision based on the content of a attachment? My situation is the following, I dailty receive a email from a server on which a backup job of a Progress database is run. This job e-mails the results of the backup in an attachment, based on the result I would like to change the header of the message stating that the backup finished successfully or not.
Working in a SW company. guys transfer their codes through email outside the company. mailserver running on postfix. Is there any method to filter mails according to contents of attachment not by file extension.
I finally got E-mails fetched downloaded to local disk, now a further thing that I would like to do is to rip off the attachments to save as its original file name and extension.A E-mail like this for example:
From root Thu Apr 7 17:21:34 2011 Delivered-To: email@example.com Received: from pop.gmail.com [18.104.22.168]
1. unzip packages.en.gz and then we update some packages version info and SHA1 value in packages file 2. generate new suse/setup/descr/packages, and zip it to packages.en.gz 3. update SHA1 value of packages.en.gz in content fileThen we try to burn an ISO to install, installation fails at the beginning because of incorrect signature of content.
cd:/content invalid signature Alt+F3 I see the messages: loading file:/var/adm/mount/content -> /content
I a csv-file (A.csv) with a total of 4.600.000 lines. Thats to many and only a few is necessary. I have a txt-file with 150 lines (X.txt) (all lines is dataset from a mainframe and looks like abc.def.123.456. How do I remove lines from A.csv where none of the dataset from x.txt is present?
My linux machine is connected to the outside internet, and I have a minecraft server running on an internal machine (192.168.1.201). Right now, I am forwarding port 80 on the linux machine to 192.168.1.30, which is working.
last friday my schools isp enabled iwsva - interscan web security virtual appliance from trendmicro. all traffic is now filtered, and slowed down. videos and other videostreams are now useless. after this we have had serious problems using our netbooks with ubuntu, and upgrading workstations with ubuntu has become very problematic, or almost impossible. i have to run the update process 6-8 times before all packages are updated.
what can i do to document the problem in a good way. the isp tells me that there are no problems, and that it has to be a linux problem. (ever heard that one before?) the ltsp-clients on my debian servers does not have the same problems, maybe because they are using the proxy on this server?
how to unblock email with attachment .zip should be all attachment through to my email i have below message when people sent me email to my domain
Warning: This message has had one or more attachments removed Warning: (the entire message). Warning: Please read the "Apex-Attachment-Warning.txt" attachment(s) for more information.
This is a message from the MailScanner E-Mail Virus Protection Service The original e-mail message contained potentially dangerous content, which has been removed for your safety. The content is dangerous as it is often used to spread viruses or to gain personal or confidential information from you, such as passwords or credit card numbers.
I am using sendmail-8.13 & procmail as an MDA. Now as our mail users are increasing I need to put up mailbox quota limit for every user. I have gone through the search engine but could not found any effective help to configure mailbox quota with sendmail & procmail.
So my question is, where do I put .procmailrc? An examples I found on the net has the procmailrc in the users mail directory, but there are no user mail directories on the sendmail server. It is used purely to relay mail to the Exchange server.
I have been trying to get procmail working on CentOS 5.2. I don't need anything fancy, just an auto reply for a "noreply@" account. Looking at the sendmail configuration, it appears procmail is the MDA. I have looked at many different tutorials and how-tos, but most are old, and/or the locations/paths and setups are markedly different from the defaults on my system. Can anyone recommend a good CentOS-based tutorial on Procmail w/ recipes? (I have an RHEL book and it's no help either.) Thank you for your time and consideration.
I have my .procmailrc file set up to pipe mail to a simple php script I've written. The only thing the script does at this point is echo back a "hello" message. However, procmail does not execute the script properly.
Here's my script (/home/webs/site.com/scripts/echo.php):
I am trying to set up mutt with fetchmail and procmail on server space that's not mine. I have access to /home/myusername but not to /var/spool/myusername. Everything seems to work well, but I have no idea where fetchmail (or procmail) is dropping off my mail.
We use procmail to reformat and filter email messages sent from many lead capture websites where the clients enter their reply email address manually.When we receive the message at our application we send a welcome email, and receive back the Undeliverable Email message where the clients entries are invalid, but I would like to be able to kill messages with undeliverable email addresses on our mail server before they are delivered to our application.I have found discussions on filtering masqueraded addresses, but since the IP of the sending system is not related to the entered client's email address, this does not appear to help. I would think that it should be able to query the email server to identify if the address is valid.
Built an MTA/LDA Slackware Server and seperate MDA (Dovecot 2.2) Slackware Server. Used the slackwiki Sendmail TLS SMTP-AUTH guide for the MTA/LDA Server.
http://www.slackwiki.org/index.php?t...TH&redirect=no The ../cf/cf/sendmail-slackware-tls-sasl.mc config file has Procmail sorting as: FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
I don't understand the arguments ($), but know the -Y forces mbox. The /var/mail directory is hardlinked to where ever the spool directory is. I want the Dovecot MDA server to use NFS or UNFS to grab user's mail from the MTA/LDA Server. Problem is the hardlink. Can't nfs share a hardlinked directory.
Is there a way to change the MTA sendmail mc config file above to have LDA promail send to /home/mail, so I can nfs that directory? And preferably in MAILDIR format? BTW: I can't find any procmailrc config file on this Slackware Server. I should have all the settings in my /etc/mail/sendmail.cf config.
im unable to forward a mail with attachment my problem is as below cat /root/data|mail -s "subject" [URL] its not forwarding mail and not throwing any error my attached file is more than 100MB ,will any one me with correct syntax how much length of file can be attached maximum i also tried like this mail -s "subject" [URL] < /root/data its also not working
user can not see the correct file attachment in web mail which showed "winmail.dat" but works fine after downloaded to outlook. and the email is sent from microsoft outlook in "HTML" format(not RTF format). Any one could give me a solution figure it out, because there is quite a lot of user in my company have to use web mail and got this winmail.dat problem
I have Postfix and Spamassassin setup on Ubuntu Server 9.10. The mail is working perfectly. Spamassassin is correctly marking messages as spam. My problem is with the milter and procmail. On past servers I was able to reject spam based on score via the spamass-milter. For whatever reason I can not get it to work. I have also tried with procmail, again, it does not work. Here are the relative lines in their respective config files:
I am doing an analysis with postfix, qmail and sendmail analyzing its performance.I need to send mail of size 10 MB, 50MB and 75 MB and analyze the time taken to send each mail to different users.I first used telnet, but file attachment is very hard there.Then i went for thunderbird but the file attachment size is just 5 MB. So is there a possibility to send such huge file size?
i've been trying to make a decision on which desktop environment to use and i've been using a few over the past week to try to decide which one. I liked gnome 2.x previously but have been really turned off it since it's not supported by Slack and 2.x is no longer even supported by gnome. I tried xfce, since it's gtk2 app as well and i really wanted to like it, i did; but there is just some things that make me wish i was using gnome. Anyways, i was wondering which third party gnome would be best suited for me. I'm using Slackware 13.37 and i want gnome 2.x, not 3.
Pat's old documentation recommended, http://gsb.sf.net http://gware.sf.net
and i checked out them sights, but the last updates seemed to have been years ago.
I managed to get my hylafax server nice and going, I also setup up AvantFax and Faxy to reach it from the web..What I still want to do it to send a mail from my blackberry device with a JPEG attachment, and have it forwarded as a FAX to the recipient fax machine...
I read and saw a few documentation here and there, but it is very confusing for me...
courier-faxmail seemed nice, but it conflicts with Hylafax..
Hylafax help support is unclear to me...
I'm not sure jpg attachments from blackberry are "standard" jpg, and, I have no idea how to forward this as a fax...
For what I understood, I need to have a running mail agent on my server, and a script to forward this to hylafax..