Sponsored Content
Top Forums UNIX for Advanced & Expert Users Help me in receiving,validating emails and save them in local directory Post 302146346 by edcrosbys on Tuesday 20th of November 2007 05:36:23 AM
Old 11-20-2007
Why not setup a mail server in unix?
Then it could be sent straight there!!!
And then you could do something like below:
To point you in the right direction -
You can use /etc/mail/aliases to redirect mail to a script or executable. At that point you will have to parse through it to do everything you've asked.

It sounds like quite an undertaking! I'm sure there are commercial products out there that do similar, but I don't know of any.

Ther format for the aliases file is:

nobody : /my/super_script.sh

This will pass the email to super_script.sh as stdin. I'd love to see the script when you're done with it!

I'm not sure exactly what you are trying to do, but this might be a case, that just because you CAN do it, doesn't mean it SHOULD be done.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check sendmail is not receiving any emails

Hi all, Need some advise again. I am new to sendmail service which is already configured by some other administrators. I would need to write a script to check whether sendmail service is enabled in Solaris and Linux. Using this command "ps -ef | grep sendmail | grep -v grep". Or is there... (6 Replies)
Discussion started by: Kinki
6 Replies

2. Shell Programming and Scripting

save weather radar to local time-named file every 15 minutes

I think I can do this myself now, but I am always amazed by how people can do things cleaner and simpler than I end up doing... Using cron, I want to save the image found at: http://radar.weather.gov/ridge/Conus/RadarImg/centgrtlakes.gif every 15 minutes to a local file , such as ... (1 Reply)
Discussion started by: brucewestfall
1 Replies

3. Shell Programming and Scripting

validating a file or directory

Hi there, im writing a script and trying the get the 2nd parameter and check it if its valid file or valid directory, Example: ./test -a quiz1 i need to check quiz1 ($2) if it matches any name of a file or directory. Thanks (3 Replies)
Discussion started by: new2Linux
3 Replies

4. Shell Programming and Scripting

Validating the size of file transferred from ftp server to the local system

Validating the size of file transferred from ftp server to the local system. File type: Text file/Flat file Source System: Windows / Unix Systems Target System is always: Unix Mode of Transfer : ASCII We have generic ftp shell script that transfers the files from different ftp servers. ... (2 Replies)
Discussion started by: jpundalik
2 Replies

5. Shell Programming and Scripting

FTP files from different directory from remote server to one directory in local

Hi All, I want to search for .log files from folders and sub folders in remote server and FTP them to one particular folder in the local machine. I dont want to copy the entire directory tree structure, just have to take all the .log files from all the folders by doing a recursive search from the... (3 Replies)
Discussion started by: dassv
3 Replies

6. Shell Programming and Scripting

Replicate remote directory to local directory with ftp

I have system that generate files every 1 hours , i only have ftp connection from my local server to remote . $ ls -al -rw-r--r-- 1 water None 0 Feb 7 18:09 a.0800 -rw-r--r-- 1 water None 0 Feb 7 18:09 a.0900 -rw-r--r-- 1 water None 0 Feb 7 18:09 a.1000 is there any perl / php... (3 Replies)
Discussion started by: before4
3 Replies

7. Shell Programming and Scripting

Validating files using server name and directory

Hi, I want to check if a file is a regular file or not using server name and file path. Example: I want to check whether //<server_name>/home/chandan/abc.txt is a regular file or not. Need your help!!. Thanks (3 Replies)
Discussion started by: ChandanN
3 Replies

8. Shell Programming and Scripting

Save files in directory as txt

wget -x -i link.txt The above downloads and create unique entries for the 97 links in the text file. However, each new file is saved as CM080 with a FILE extention. Is there a way to convert each file in that directory to a .txt? The 97 files are in... (12 Replies)
Discussion started by: cmccabe
12 Replies

9. Shell Programming and Scripting

Save input as text in directory

I am having a little trouble with some things using the code below: 1. printf "Enter variant: "; read variant The user enters the variant and that value is used in the python script. However, I am not sure how to save that value inputed as a text file in a specific directory... (8 Replies)
Discussion started by: cmccabe
8 Replies

10. Shell Programming and Scripting

Bash to select and save file in new directory

I am trying to select a file in bash and save it to a directory. The below does run but no selected file is saved. Thank you :). bash # select file printf "please select a file to analyze with entered gene or genes \n" select file in $(cd... (4 Replies)
Discussion started by: cmccabe
4 Replies
CLAWS-MAIL-SMIME-(1)					  CLAWS-MAIL-SMIME-PLUGIN Manual				      CLAWS-MAIL-SMIME-(1)

NAME
claws-mail-smime-plugin - Handling of S/MIME signed and/or encrypted mails. DESCRIPTION
This manual page documents briefly the claws-mail-smime-plugin plugin. This manual page was written for the Debian distribution because the original program does not have a manual page. claws-mail-smime-plugin is a plugin (loadable module) for the Claws Mail mailer. This plugin allows decrypting mails, verifying signatures and sign or encrypt your own mails using S/MIME. USAGE
Before using a plugin you must instruct Claws Mail to load it on startup. For this you must go "Configuration" menu on main window toolbar, open "Plugins..." dialog, click on the "Load plugin..." button and select the plugin file, named smime.so, and press the "Open" button. FILES
/usr/lib/claws-mail/plugins/smime.so The loadable module for claws-mail-smime-plugin. BUGS
Please use reportbug claws-mail-smime-plugin for reporting Debian bugs for this package. The upstream BTS can be found at http://www.thewildbeast.co.uk/claws-mail/bugzilla/index.cgi. SEE ALSO
claws-mail(1), claws-mail-extra-plugins(1) AUTHORS
Colin Leroy <colin@colino.net> Wrote the claws-mail-smime-plugin plugin. Ricardo Mones <mones@debian.org> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 2008 Ricardo Mones This manual page was written for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. claws-mail-smime-plugin September, 2008 CLAWS-MAIL-SMIME-(1)
All times are GMT -4. The time now is 05:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy