-1
votes
1answer
33 views

Make a copy of email using pipe in postfix alongside 1 content_filter

I am using postfix and already usHi. I am using postfix and already using a script as a content_filter which re-injects back to smtpd to all users, but before this happens, I would like to make a copy ...
0
votes
1answer
447 views

Postfix: Pass a copy of an email to a script but deliver the original one to mailbox

It's actually quite simple: I want to pass all incoming emails to a PHP-script, but only as a copy, the original email shall still be delivered to the mailbox as usual. I just can't seem to get it ...
1
vote
2answers
375 views

Scripts or tools to parse email message to remove attachment of particular name

I have configured Redmine email integration and while it's awesome, a major annoyance is that people have signatures that include a company logo, which then gets posted to every ticket they update via ...
2
votes
1answer
539 views

Trying to monitor file/folder changes on the server and send notification. What am I dong wrong?

I am trying to make a script to monitor a directory of the EC2 webserver I am managing. I found inotify and tried to make the following script but upon trying it nothing happened. #!/bin/sh while ...
0
votes
1answer
119 views

Automate verification of script generated emails

We have over 100 servers that generate hundreds of emails every day using scheduled scripts (cron jobs) when the system/data is backed up or any other activity takes place. The email is sent to our ...
3
votes
3answers
562 views

Email to run a bash script

I have a bash script to restart a service that runs every 3am to guarantee that the service isn't crashed when users require it. However, I need to provide a simpler way for my partner (that isn't ...
4
votes
6answers
3k views

email output of powershell script

I found this wonderful script that outputs the status of the current DFS backlog to the powershell console. This works great, but I need the script to email me so I can schedule it to run nightly. I ...
1
vote
1answer
224 views

trigger script on postfix delivery errors

I'm trying to get postfix to run a script on soft (4xx) and hard (5xx) delivery errors, but I'm not sure where to start. If I understand things correctly, I could insert (pipe-based) filters in the ...
0
votes
2answers
95 views

Easiest way to call script for incoming email

On a Ubuntu server, what's the easiest way to run a script (e.g. Python) when an email is received? Email filters would be good, but not necessary.
11
votes
5answers
39k views

Need to add a “Wait” command to a Powershell script

Here is my current code: Write-output “ENTER THE FOLLOWING DETAILS - When Creating Multiple New Accounts Go to EMC hit F5(refresh) and make sure previous new account is listed before ...
1
vote
3answers
4k views

How to Run a script when a mail arrives in mail server? (Debian)

I want to parse and insert some information from the mail that just arrived in a mission critical application's mail server. I there any way to configure my mail server so that it run a script when ...
0
votes
1answer
2k views

How can I send cc: using Bmail.exe

We use bmail.exe for a lot of automated work and sometimes we'd like to use a cc: but the app doesn't provide an input parameter for one. However it does allow you to set the body and subject so is ...
2
votes
3answers
951 views

How do I mount an Exchange mail store from the Windows Command Line?

Our Exchange server is running Exchange Server 2003 Standard on the Windows Server 2003 platform. We're dealing with the mail store size issue, where if the mail store goes over the limit, it gets ...
1
vote
2answers
679 views

Linux - Scriptable email client?

I'm writing a simple UI for the visually impaired using a speech synthesizer. I've looked all over the internet for an email client which I can script to fit these purposes but to no avail. I believe ...
1
vote
2answers
174 views

Send an email notification from a script

What is the easiest way from a Windows server to send an email notification? I need simple program or script to email a user for 2 different scripts I need to create. I do not have a scripting ...
2
votes
2answers
1k views

Script Help - Parse /var/spool/mail/user

CentOS 5.x | SendMail Hi guys, Is there an easy way to retrieve individual messages from /var/spool/mail/? I have an idea for a really simple script and would like to check each individual message ...
0
votes
1answer
775 views

Script to check a shared Exchange calendar and then email detail

We're running Server and Exchange 2003 here. There's a shared calendar which HR keep up-to-date detailing staff who are on leave. I'm looking for a VB Script (or alternate) which will extract the ...
1
vote
4answers
3k views

What's the best way to send bulk email?

I have been using the sendmail function in PHP with Exim 4 so far when I had to send my mailing lists, I would like to know if there is a clean solution for that. I'm quite sure that Facebook isn't ...
1
vote
2answers
684 views

Sending email from a script including attachments

I want to email a html file and some images to someone from a script. The standard answer seems to be to use mutt. However I don't have that installed at the moment. Is there another way I could do ...
2
votes
4answers
3k views

Need help with Powershell error “The left hand side of an assignment operator…”

I've got a Powershell script that I'm trying to set up so it can send an Exchange status email to me everyday. I've got the script working just fine when I run it manually from an EMS console window, ...
4
votes
1answer
4k views

How does Outlook identify “Extra Line Breaks”

I am writing a script that emails the output to me, and I read it in Outlook. For some reason Outlook removes all the line breaks in the message, and gives me a little notice that it has removed the ...
2
votes
3answers
938 views

Getting correct linefeeds in emails generated from linux

I have a script that emails certain linux log entries to me, and I read the email in MS Outlook. The problem is that all the lines run together with no linefeeds between the lines. To address this I ...