11-03-2008
how to automate incoming mail processing
Hi All,
I require to develop some script which will continuously be looking for mails from some specific mail addresses on AIX server. Once any such mail arrives, the process will look into the mail subject and mail body to search for some keywords like success or failure, filename etc. Depending on the success or failure, the processing of some other script, already present on server, will be kicked off.
Can you please guide me how to develop such script. Any help will be greatly appreciated.
Thanks
Vivek
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All
Has anyone written any script that would listen for inbound mail and based on its subject process the body ?
Thx
J (3 Replies)
Discussion started by: jhansrod
3 Replies
2. UNIX for Dummies Questions & Answers
I'm trying to find a command to check what mail is being sent to my sendmail server... Can't seem to find it... anyone know how to do this? (1 Reply)
Discussion started by: kingdbag
1 Replies
3. IP Networking
I have a few clients connecting to the server(which is using select()) and theyre trying to send messages to each other. How do I wait for input on stdin and at the same time I wait for data to being sent from the server? Should I use select() in my client too? How exactly though? (1 Reply)
Discussion started by: charlitos
1 Replies
4. Shell Programming and Scripting
Hi,
If I am getting any new mail in my mail box I need an alet message . Please help me to get the script .. (1 Reply)
Discussion started by: pranabrana
1 Replies
5. Shell Programming and Scripting
Hi,
Here below the logs from the mail server:
less /var/log/messages:
Sep 6 04:03:31 server-59 out: 1252227811|webmaster@zilia.com|antonino.granata@gmail.com|2175|success|1
Sep 6 04:03:33 server-59 in: 1252227813|news@tarot.com|junk@thess.com|30376|success|1
Sep 6 04:03:35 server-59... (8 Replies)
Discussion started by: gsiva
8 Replies
6. Linux
I am using Linux box. i am able to send mails through sendmail to local and other domains.
i am not receving any incoming mails.
dovecot service is running. (4 Replies)
Discussion started by: harishindn
4 Replies
7. Shell Programming and Scripting
Hello everybody,
I have a little problem with one of my program. I made a plugin for collectd (a stats collector for my servers) but I have a problem to make it run in parallel.
My program gathers stats from logs, so it needs to run in background waiting for any new lines added in the log... (0 Replies)
Discussion started by: Samb95
0 Replies
8. Debian
Hi There
Not sure if this is the correct place for this.
I'm running Sendmail on a Debian box and want to do the following.
e-mail comes in from userk@domain.co.za and is destined for usera@mydomain.co.za, but i want all mail from userk@domain.co.za to go to userb@mydomain.co.za. Sendmail... (3 Replies)
Discussion started by: linuxjunkie
3 Replies
9. Programming
Hello,
I extracted a list of files in a directory with the command ls . However this is not my computer, so the ls functionality has been revamped so that it gives the filesizes in front like this :
This is the output of ls command : I stored the output in a file filelist
1.1M... (5 Replies)
Discussion started by: ajayram
5 Replies
BIFF(1) BSD General Commands Manual BIFF(1)
NAME
biff -- be notified if mail arrives and who it is from
SYNOPSIS
biff [ny]
DESCRIPTION
Biff informs the system whether you want to be notified when mail arrives during the current terminal session.
Options supported by biff:
n Disables notification.
y Enables notification.
When mail notification is enabled, the header and first few lines of the message will be printed on your screen whenever mail arrives. A
``biff y'' command is often included in the file .login or .profile to be executed at each login.
Biff operates asynchronously via the comsat(8) service. If that service is not enabled, biff will not do anything. In that case, or for syn-
chronous notification, use the MAIL variable of sh(1) or the mail variable of csh(1).
SEE ALSO
csh(1), mail(1), sh(1), comsat(8)
HISTORY
The biff command appeared in 4.0BSD.
BUGS
su(1), and biff don't seem to get on too well. This is probably due to the tty still being owned by the person using su. This can result in
``Permission denied'' messages when attempting to change the biff status of your session.
Please report bugs to netbug@ftp.uk.linux.org including diffs/patches, compiler error logs or as complete a bug report as is possible.
Linux NetKit (0.17-pre-20000412) July 31, 1999 Linux NetKit (0.17-pre-20000412)