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.
View 2 Replies
ADVERTISEMENT
Jul 30, 2010
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.
View 3 Replies
View Related
Apr 7, 2011
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:
Code:
From root Thu Apr 7 17:21:34 2011
Delivered-To: ted_chou12@tedchou12.cz.cc
Received: from pop.gmail.com [74.125.155.109]
[code]...
View 2 Replies
View Related
Jan 14, 2011
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
[code]...
View 3 Replies
View Related
Jun 21, 2011
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?
View 13 Replies
View Related
May 7, 2011
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.
iptables -t nat -I PREROUTING -i eth0 -d 192.168.1.30 -j DNAT --to-destination 192.168.1.201
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -m state --state NEW,ESTABLISHED,RELATED -j DNAT --to 192.168.1.201
______________________________
I want to filter out the GET/POST requests and forward them to port 8080. I can't seem to get that working.
I've tried this:
iptables -A INPUT -d 192.168.1.30 -p tcp --dport 80 -m string --algo bm --string 'GET' -j REDIRECT --to-ports 8080
View 1 Replies
View Related
Feb 8, 2011
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?
View 5 Replies
View Related
Jul 5, 2011
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.
View 9 Replies
View Related
Feb 4, 2010
I want to know if I can you communigate Pro with procmail integration?
I have read and seen that, CommuniGate Pro has some nice features so I want to use it.
Or is there a way I can do email filtering in CommuniGate with out procmail?
View 1 Replies
View Related
Mar 3, 2011
Have any one been able to setup zimbra with procmail? Procmail as the filter for zimbra I mean.
View 1 Replies
View Related
Dec 13, 2009
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.
View 7 Replies
View Related
May 12, 2010
I'm trying to configure procmail for sendmail but its not working. I added these 2 lines to sendmail.mc:
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
FEATURE(local_procmail)dnl
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.
View 1 Replies
View Related
Feb 17, 2010
How to integrate procmail with qmail using the webmin?
View 7 Replies
View Related
Aug 5, 2009
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.
View 1 Replies
View Related
Aug 6, 2010
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):
#!/usr/local/bin/php
<?php
echo "hi.";
?>
View 3 Replies
View Related
Feb 26, 2010
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.
View 3 Replies
View Related
Feb 10, 2011
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.
View 1 Replies
View Related
Jan 3, 2011
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.
View 6 Replies
View Related
Jun 9, 2009
I'm new to CentOS, having always used Slackware in the past. I'm trying to get Cyrus 2.3.7 IMAP working with Procmail 3.22, and having a slight issue. My current setup in sendmail.mc is as follows:
[code]...
View 1 Replies
View Related
Apr 5, 2011
My requirement is i want to send mails from server to all my employess with one attachment file for every monday and friday like scheduler.. how it is possible through bash script.
View 7 Replies
View Related
Feb 26, 2011
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
View 2 Replies
View Related
Aug 2, 2010
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
View 1 Replies
View Related
Feb 2, 2010
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:
[Code]....
View 9 Replies
View Related
Feb 2, 2010
Does anyone have some quick tips on how to send an Ubuntu server's email to a gmail account via postfix/procmail?
View 5 Replies
View Related
Nov 15, 2010
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?
View 1 Replies
View Related
Jun 1, 2011
I am trying to setup forward mails to a user in my linux server to procmail. But that doesn't work. My $HOME/.forward looks like the following
[Code]....
View 7 Replies
View Related
Jun 22, 2010
Please tell me how i can block sending or receiving .exe files as a attachment in sendmail server
View 1 Replies
View Related
Jan 29, 2010
i am not able to understand the appropriate thing to put in the google search...
Is there a way to use the ?: operator for if-else decision in a shell script?
edit: the 'question mark - colon' operator (just editing so that its searchable by someone in need :-P)
View 3 Replies
View Related
Jun 26, 2011
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.
View 14 Replies
View Related
Apr 25, 2010
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..
View 2 Replies
View Related