Results 1 to 6 of 6
Hi guys,
I have qmail installed and the emails are coming to the maildir/new i think with random names. I want to be able to check for new mail, cut ...
- 09-19-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 2
Bash scripting for newbie
Hi guys,
I have qmail installed and the emails are coming to the maildir/new i think with random names. I want to be able to check for new mail, cut it, take a exact contents and then mail this content to another email or send it though sms to a specific phone number. I know how to do almost everything except how to make the loop to check for new emails and after finish working with the email to delete it.
Can you please point me to some documentation or give me a simple example.
Thank you very very much!!
- 09-19-2007 #2
- 09-19-2007 #3Just Joined!
- Join Date
- Sep 2007
- Posts
- 2
Hi
what file? i dont know the names of the files as they come randomly. thats the main point i dont know how to create script(loop) to check for new files in this directory as they come randomly and what if three emails come together in the same time?
- 09-21-2007 #4
- 09-21-2007 #5
- 09-21-2007 #6


Reply With Quote