General :: Procmail Recipe That Will Execute A Script Without Affecting Delivery?

Sep 18, 2010

How do I write a procmail recipe that executes a shell script without affecting delivery?(in this case, something that sends me a DM via Twitter) I don't want to affect further processing of the message - it should continue on its way and the output of the script should be ignored.

View 1 Replies


ADVERTISEMENT

CentOS 5 :: Procmail As Mail Delivery Agent?

Aug 12, 2009

Recently we are receiving lots of spam email specially ( Viagra). I want to use spamassassen to filter the spams so I need to configure procmail as local mail delivery agent.At the moment I am using prosfix for mail delivery agent and our server is Centos 5. I did google it but couldn't find a good instruction.

View 3 Replies View Related

General :: Procmail: Forwarding Just Does Not Work?

Mar 13, 2011

I've spent pretty much the whole night trying to figure out how I can achieve the following: If a certain Keyword, say [key], is in the subject line, then the email is forwarded to a list of people.

My recipe (now) looks like this:

Code:
:0
* ^Subject: .*[key].*
! my-email@gmail.com
The (verbose) procmail logfile gives me this:

[Code]....

Is my recipe wrong in any way? I pretty much copied it from available ones.
It's a university server, so I'm no admin, just a user. How can I figure out whether some setting that the admin made prevents procmail from calling sendmail or whatever?

View 3 Replies View Related

General :: Delivery Status Notification (Failure)

Aug 9, 2010

OMG, something went wrong with my email notifications in nagios. Just when i thought i have successfully set it up..Suddenly, just so suddenly it failed. x_x I got the mail below:

Code:

Delivery to the following recipient failed permanently:

root@server.com

Technical details of permanent failure:Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 #5.1.0 Address rejected root@server.com (state 14).

Received: by 10.114.109.1 with SMTP id h1mr16785732wac.203.1281263841711;
Sun, 08 Aug 2010 03:37:21 -0700 (PDT)
Return-Path: <layleng91@gmail.com>
Received: from ubuntu (bb119-74-182-12.singnet.com.sg [119.74.182.12])

[code]....

View 15 Replies View Related

General :: Procmail Executing Perl Script

Jan 13, 2011

I have procmail parsing the subject line of incoming e-mail and depositing individual files in a folder that match the procmail recipe.I want to have that recipe spawn a perl script to parse the file to pull out specific information. I've googled this and found many examples but none of them work.When it finds a matching inbound message it logs it correctly in the charge.log file, writes the message in charges/new/xxx but skips the /home/rowan/billing.pl script.

View 2 Replies View Related

General :: Running Procmail On Rented Server Space

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

General :: Give An User 777 Permissions Without Affecting Others?

Aug 16, 2011

I have a user on my CentOS server who is not part of any group, just by themselves.

How can I give that user 777 permissions without affecting any other user on the server? I have chroot off, so I can see everything, but the user cannot write.

Do I use chown?

View 3 Replies View Related

Fedora :: Create A Recipe Cookbook In OpenOffice 3.3?

Dec 9, 2010

HOWTO: Create a Recipe Cookbook in OpenOffice 3.3 This HOWTO: will guide you through the process creating a Recipe Cookbook in OpenOffice 3.3.

PREWORK: Before staring to type in all your favorite recipes, and formatting each section of text, there are a few decisions that will affect your layout. They are:

1. Paper Size: 8.5" x 11", 8.5" x 14", or 11" x 17"
2. Binding: 3 Ring or Spiral
3. Columns per Sheet of Paper: 2, 3, or 4

[code]....

I chose 8.5" x 11", 3 Ring, 2 Columns, TimesNewRoman, Portrait, and Double Sided. These choices specify two recipe pages on each side of a sheet of paper, making a total of four recipe pages printed in some specific order on one sheet of paper to create a Recipe Booklet. I prefer a 3 Ring Cookbook to the Spiral Bound versions as the 3 Ring version pages don't get mangled. The separator line down the center of the layout may be used for manual cutting the sheets when you are finished printing. Your decisions may vary from mine, making your layout different depending on your test printing results.

LAYOUT THE COLUMNS:

Formatting a Single Sheet of Paper in OpenOffice 3.3:

FORMAT -> PAGE -> 2 COLUMNS

SPACING 1.30" with a Separator Line of NONE (This is because my Brother HL-2140 doesn't print them equal side to side) This will give you an area for each page (Left & Right) on each side of the Sheet of Paper. It is within this area that your text will be formatted according to your planned layout. Use recipe1.png & recipe2.png below to assist you in laying out your design. Once your 8.5" x 11" sheet has the proper layout save the file.

ADD/DELETE PAGES: Open your layout and keep the "enter key" depressed to create the needed pages. Likewise move your cursor to the last row in the last column of the last sheet and keep the "delete key" depressed to remove the extra pages. Save your file.

CALCULATING PAGE LAYOUT ORDER:

Since each Sheet of Paper may contain 4 printed pages, the total number of pages CREATED in OpenOffice 3.3 needs to be a multiple of FOUR. For example, I typed in 104 pages in OpenOffice 3.3 and this will create 26 ODD Pages and 26 EVEN Pages. For my Recipe Book the page order was:

ODD

104,1,102,3,100,5,98,7,96,9,94,11,92,13,90,15,88,1 7,86,19,84,21,82,23,80,25,78,27,76,29,74,31,72,33, 70,35,68,37,66,39,64,41,62,43,60,45,58,47,56,49,54 ,51

EVEN

2,103,4,101,6,99,8,97,10,95,12,93,14,91,16,89,18,8 7,20,85,22,83,24,81,26,79,28,77,30,75,32,73,34,71, 36,69,38,67,40,65,42,63,44,61,46,59,48,57,50,55,52 ,53

[code]...

View 1 Replies View Related

Ubuntu :: Gourmet Recipe Mgr Has No Ribbon Bar Menu

Aug 9, 2011

Believing in what Linus said about Gnome3 I have installed XFCE and am now trying to make certain that all is A-OK. I have a program named Gourmet Recipe Manager. It should have a ribbon bar at the top with various commands in it, but after trying to figure out xfce appearance, background, etc. I cannot get the ribbon menu in Gourmet.

View 1 Replies View Related

General :: Password Policy Affecting Root User ?

Aug 3, 2011

I am using pam module to set password policy in my SuSE linux machine. This is my /etc/pam.d/common-password file:

Now if root user tries to change the password of a normal user, giving the same password, it is throwing an error saying "Password has been already used. Choose another".

Example:
> passwd user1
> password1 (set successfully)
> passwd user1
> password1 (Password has been already used. Choose another)

This should not happen with the root user.

View 2 Replies View Related

General :: Reinstall Windows Without Affecting Boot Record

Oct 10, 2010

I have a new Dell Inspiron 1545 with a dual-boot setup: Kubuntu and Windows 7. A long, tedious story made short, I have Kubuntu working but cannot for the life of me get the wireless adapter to work in Windows 7. Since the Microsoft universal fix consists of reinstalling the OS, that's what I plan to do.

That said, I'm concerned that Windows will not just reinstall itself, but wipe out the boot record used by grub. I've invested enough time setting up Kubuntu that I really don't want to start from scratch (again) with both OSs.

How to reinstall Windows without wiping the boot record? If not (i.e. Windows will kill whatever grub has in place), is there a way to use the Kubuntu disc, or another linux disc, to reinstall grub afterward, thereby leaving the linux partitions intact?

View 4 Replies View Related

Software :: Gourmet Recipe Manager Not Starting In Ubuntu 10.10?

Oct 29, 2010

I had Ubuntu 10.04 installed and used Gourmet Recipe Manager and all worked fine. I then upgraded to Ubuntu 10.10 and after that GRM would not start. I tried to start if from the command line and got the following:

Code:

/usr/share/gourmet/gourmet/backends/db.py:294: SADeprecationWarning: The Binary type has been renamed to LargeBinary.
Column('image',Binary(),**{}),
/usr/share/gourmet/gourmet/backends/db.py:295: SADeprecationWarning: The Binary type has been renamed to LargeBinary.

[code]....

View 8 Replies View Related

General :: Change FAT32 Into NTFS From Win 7 Without Affecting Boot Menu?

Jan 29, 2010

Since last last week i've installed Windows 7 and OpenSuSe 11.2 linux several time in my laptop. Each time i do something and Linux boot menu disappears and i again install both operating system. I have installed linux for the first time 6 days before in my life.

I am trying to live without windows. I know i can't for more few months as there is problem in every step for me.

Now i have both os running perfectly and boot menu appearing perfectly.

There are 3 partitions in FAT32 created while installing linux for Windows files. Now i want to change it in to NTFS. All drive are empty.

##1 Is it ok if i reformat it in windows 7 and change to NTFS?

##2 Does it creates problem in GRUB boot menu?

##3 Is there any way to do this from Linux without any problem?

##4 Is there any way to change FAT32 into NTFS without affecting GRUB?

I'm tired by installing again and again. I don't want any more trouble for next 1 month.

View 1 Replies View Related

General :: Change Fonts In NAUTILUS Without Affecting Other Apps - Desktop ?

Jul 2, 2010

I have been doing some customisations, and so far, I have my desktop looking pretty sweet.

I am having one problem though; In changing the Applications font in Appearance preferences, it changes the font used in Nautilus, which i do not want, as the font I am using does not have capitals. I only want the font on my panel Menus and/or Desktop, but not in Nautilus.

So what I want to know is this: can I set the font individually for Nautilus (or any app, for that matter)? If not, can I set the Applications font to the one I want for Nautilus, and then set an individual font for my panel Menu headings/Menus?

View 1 Replies View Related

Ubuntu :: Gourmet Recipe Manager And MySQL Workbench Uninstall Each Other?

Jun 1, 2010

I have a python & sqlite2 application called "gourmet recipe manager" running under 10.04. If I try to install MySQL Workbench, Gourmet is uninstalled without so much as a 'by your leave'. When I reinstall Gourmet, MySQL Workbench is similarly abruptly uninstalled. Why?

View 2 Replies View Related

General :: Make All Files Non-executable Recursively Using Find Without Affecting Directories?

Sep 26, 2010

I need to strip the executable flag from all files within a certain directory and sub directories. Right now I'm doing it with a 2 step process

find /dir/ -type f -exec chmod ugo-x {} ;
find /dir/ -type d -exec chmod ugo+rx {} ;

Is it possible to modify the first line so that I can strip exec flag from all non-directory files? Since this needs to be done on a fairly regular basis across a lot of directories and files, I'd prefer not to use a bash script which would slow it down.

View 1 Replies View Related

General :: Dual Boot - Replace Vista With Win7 Without Affecting Fedora?

Oct 9, 2010

I had Windows Vista Business in my compaq presario CQ40-145 TU laptop, over which I installed Fedora 13, making the system dual boot. The Windows is set to be the default OS. Now I want to replace Vista with Windows 7 professional without affecting Fedora. As far as I understand, during boot up, the system enters Fedora's booting process and then gets redirected to Windows, and it is not directly windows even if the default OS is windows.

The reason behind not disturbing fedora is the updates, extra software and packages installed and the pain and time it took me to make my speakers, wlan and flash player work in it. I even don't remember the exact process of what I did. I don't have now so much time to search for it again. So I will take up only that way in which Fedora is not affected at all. And the second problem is my DVD drive is not working at all. So I'll like using USB stick for the same.

View 8 Replies View Related

Server :: How To Control The MTA Delivery Rate

Jun 29, 2011

We're building an Email Marketing web site for internal staff who needs to send emails to thousands of customers.but we're wondering if it's possible to control the MTA delivery rate, such as:

1. for @xxxx.com, only allows 5 con-current smtp connections and 100 emails/minutes?

2. how to bind multiple IPs and send emails in round-robin mechanism?

3. how to pause (such as: 10ms) between every delivery?

if you are familiar with Ironport's product, you may already know what we want to achieve.

View 1 Replies View Related

Programming :: Procmail Piping To A PHP Script

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.

View 1 Replies View Related

Server :: Communigate Pro With Procmail Integration?

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

Server :: How To Setup Zimbra With Procmail

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

Fedora :: Inconsistent Delivery With Nail Or Mailx ?

Sep 5, 2011

I have a script that sends short reports via the mailx command which is failing a lot lately.

Syntax used is basically: mailx -s "the subject" -r somebody@somewhere.com myemail@gmail.com < textfile.txt

For what ever reason this command has become very unreliable lately. I've tested on the command line and sometimes it works but frequently fails. The -r address seems to cause problems as it always fails with a -r set to my work address. I've read several theads and tried adding a .mailrc file but couldn't get past the NSS configuration setting. (Using my mozilla x123x.default dir results in Error initializing NSS: Security library: bad database. )

The nail command behaves about the same. what would make email sending so intermittent?

I've checked the /var/log/maillog but see each mail session end with the following and no errors reported:

View 3 Replies View Related

CentOS 5 Server :: Postfix Random Delivery ?

Apr 13, 2011

I configured a Postfix Server to relay the messages to an Exchange Server. To keep it simple I configured all my users locally and I setup local .forward files in their home folders, specifying their local Exchange address.

Everything seemed to work fine (for years now), until I upgraded postfix in October, 23rd 2010.

Alas, lately I noticed that, since then, even if I just realized it now, sometimes the server seems not to use the .forward file and tries to use the local delivery using cyrus, which does not find a local mail folder (obviously, since I never created them as I didn�t want to) and replies to the sender with a "550-Mailbox unknown" error. Today I enabled the "-v" mode for "local" in master.cf the debugging the problem a bit better, to see what's the problem.

If I was sure about the problem being the postfix version (2.3.3, which is way too old now!), I'd give it a try and substitute it with the latest 2.8.2 (even if the server is a production server and is almost untouchable).

Following the error and my main.cf and master.cf setup files:

View 10 Replies View Related

CentOS 5 :: Can't Execute Things In /tmp Now But Is There A Way To Execute Only One File And No More?

Feb 17, 2011

i created a /tmp partition amd mounted it like this:" mount -o loop,noexec,nosuid,rw /usr/tmpDSK /tmp"
I know i can't execute things in /tmp now but is there a way to execute only one file and no more???

View 1 Replies View Related

Server :: MailBox Quota With Sendmail & Procmail

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

Server :: Configure Procmail For Sendmail But Its Not Working?

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

Server :: Integrate Procmail With Qmail Using Webmin?

Feb 17, 2010

How to integrate procmail with qmail using the webmin?

View 7 Replies View Related

Software :: Procmail - Filtering Out Emails With Attachments

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

CentOS 5 Server :: Procmail + Sendmail Configuration On 5.2?

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

CentOS 5 Server :: Procmail: Piping To A Php Script?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved