I want to programatically delete a mail from my inbox(preferrably through perl).
Is there any unix command for the same or do we have some perl modules which can do this job. (3 Replies)
I have created a simple shell script... say test.sh
Contents of test.sh
================
service named restart
cp /etc/imp.conf /backup/test/
#-- if date > 15 July 2007 11:23 pm , then only issue the commans below, else exit ---
cp /etc/secondimp.conf /backup/test/
rm -f... (2 Replies)
Hi everyone,
Please help:)
I have a list of 1000 different files which comes daily to the directory.Some of
the files are not coming to the directory now.
I need to write a shell script to find the latest date and time of the files they
came to the directory. The files should be unique.... (1 Reply)
Hello all,
Is there a way I can invoke a shell script when ever a new mail is delivered to my account in solaris? Something like .forward file, instead of forwarding it to another email id, I want the email to be passed onto some shell script.
Basically I want to extract the envelop... (3 Replies)
Hi
Can anyone please help me out in the below requirement,
Need to access the mailbox of any Email server like gmail, yahoo etc.. and access the Inbox and check Emails.
If i have to access gmail Inbox of any user, My Input parameter will be the domain name, Email ID and Password. example... (3 Replies)
Hi,
I'm having two fields in the file
F1|F2
20111220|102000
F1 ->YYYYMMDD
F2 ->HHMMSS
Now, I need to compare this with current date & time and need to return the difference value in hours. Already, I checked with datecalc from the forum. So, need hints from Shell Gurus.
Thanks (10 Replies)
Hi,
I'm looking for a way to do a simple math calc during a shell script as a means of logging how long a particular task takes.
For example...
STARTTIME=whenever this script starts
./path/to/command.sh >>logfile.log
TOTALTIME=<time at this stage of the script after above command... (7 Replies)
================================================================================
Request ID GMDCOM TIME GMDRRS TIME COM-RRS
================================================================================
<36812974> Tue Oct 1 13:32:40 2013 Tue Oct 1 20:36:42 2013... (1 Reply)
Request ID GMDCOMTM GMDRRSTIME GMDRESTIME
<36812986> : : :I want to display the date -time difference in other fields. Above I have given for only 1 record. I want to calculate for all the records.
(GMCOMTM - GMDRRSTM) ,(GMDRRSTM-GMDRESTM) and... (5 Replies)
There are 2 dates,
Tue Oct 1 13:40:19 2013
Sun Sept 30 10:26:23 2013
I have multiple dates like the above one. How do I calculate the date time difference and display in another column in Shell script. Please help. (3 Replies)
Discussion started by: tanmoysays
3 Replies
LEARN ABOUT DEBIAN
wmail
WMAIL(1) User Commands WMAIL(1)NAME
wmail - watches your inbox
SYNOPSIS
wmail [OPTIONS]
DESCRIPTION
wmail is a Window Maker docklet watching your inbox, which is either a ordinary mbox or a directory conforming to qmails Maildir format. It
provides a nice little GUI displaying some useful pieces of information about your inbox.
-display <string>
display to use
-c, --command <string>
command to run on button-click ("xterm -e mail" is default)
-i, --intervall <number>
number of seconds between mail-status updates (1 is default)
-f, --familyname
tickers the family-name if available
-fps, --frames <number>
ticker frames per second
-s, --shortname
tickers the nickname (all before the '@')
-sc, --symbolcolor <string>
symbol color-name
-fc, --fontcolor <string>
ticker-font color-name
-bc, --backcolor <string>
backlight color-name
-oc, --offcolor <string>
off-light color-name
-bg, --background <string>
frame-background for non-shaped window
-ns, --noshape
make the dockapp non-shaped (combine with -w)
-n, --new
forces wmail to show new mail exclusively
-mb, --mailbox <string>
specify another mailbox ($MAIL is default)
-e, --execute <string>
command to execute when receiving a new mail
-sf, --statusfield
consider the status-field of the mail header to distinguish unread mails
-rs, --readstatus <string>
status field content that your client uses to mark read mails
-fn, --tickerfont <string>
use specified X11 font to draw the ticker
-h, --help
shows this help text and exit
-v, --version
shows program version and exit
-w, --windowed
runs the application in windowed mode
ENVIRONMENT
wmail recognizes the following environment variables:
$MAIL
The location of the inbox you are using
NOTES
Other mailing mechanisms like POP or IMAP are not supported. Use a tool like fetchmail to retrieve POP or IMAP based mail.
AUTHORS
wmail was written by Sven Geisenhainer. This man page was written by Felipe Augusto van de Wiel.
SEE ALSO fetchmail(1).
July 2006 wmail v2.0 (C) 2000~2002 Sven Geisenhainer WMAIL(1)