10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm writing a Texas Hold'em script in bash v3.00.16(1) to learn more about awk/nawk scripts and regex expressions by trying to randomize a list of names using awk's rand function. The problem is that the elements in the var convert to a single element in the nawk script. I've tried several things,... (4 Replies)
Discussion started by: HexKnot
4 Replies
2. Shell Programming and Scripting
Hi
When an entry will be made to the file /var/mail/<user-id> .
I have 100 scripts under a specific user id(dgircc) in cron .SO inrder to check the whether the script has sucessfully run or not and if not to generate an email
if i mention the code like
#!/bin/ksh -p
2 fsize=`ls -lrt... (0 Replies)
Discussion started by: mskalyani
0 Replies
3. Cybersecurity
Hi there,
I'm using this command line to get a daily mail through crontab with the content of /var/mail/root:
mailx -s "Test My Server" mymail@mail.com </var/mail/root
and it works fine, but I'd like to get only the information updated in the last 24 hours.
Thanks in advance for any... (2 Replies)
Discussion started by: Giordano Bruno
2 Replies
4. UNIX for Advanced & Expert Users
Hello,
I have a bunch of cron jobs in the crontab. For some reason mail from the cron jobs started going to /var/spool/mqueue instead of being sent.
Does anyone know why mail from cron jobs would go to the queue instead of being sent? (9 Replies)
Discussion started by: xadamz23
9 Replies
5. UNIX for Dummies Questions & Answers
Hi,
How can i get my mail on either /var/spool/mail or /var/mail?
I use mail and sendmail command to send mail. But everytime I send mail it comes to my outlook inbox and when I check with mail command I get the message "No mail for siba". (Note siba is my user Id.) (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
We have all the user account in a home direcory where their mail is stored and retrieved by email clients. We do however have /var/spool/mail with all the user accounts in it as well Our sendmail.cf is configured to use /var/spool/mqueue as the queue so .what is /var/spool/mail being used... (3 Replies)
Discussion started by: mojoman
3 Replies
7. UNIX for Dummies Questions & Answers
How can I read mail sent to /var/spool/mail?
I do not have pine installed so forget about that...is there some generic utility I can use? (3 Replies)
Discussion started by: mojoman
3 Replies
8. Solaris
Dear All,
Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do?
thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies
9. UNIX for Dummies Questions & Answers
The mail file in the directory var/spool/mail is very large. Can I zero this (>) without losing any unopened mails there may be? There are about 10 mail accounts. Using RedHat Linux.
Thanks in advance. (0 Replies)
Discussion started by: dennisheazle
0 Replies
10. Shell Programming and Scripting
Hello guys,
I'm in desperate need. I need to write a script that behaves like a "mail" shell program.
I've a base of the program -menu and so on, but what I cannot do is how to read messages from /var/mail/user. I would like to separate them as "mail" program does, but I;m just a newbie and... (21 Replies)
Discussion started by: petoSVK
21 Replies
2004-04-15
mailping
0.0.4
MAILPING-STORE(1) Mailping MAILPING-STORE(1)
NAME
mailping-store - store email from stdin to a mailping incoming maildir
SYNOPSIS
mailping-store
DESCRIPTION
mailping-store reads an email from standard input and writes it into a maildir chosen according to following logic:
1. If EXTENSION is not set, select Maildir.
2. If EXTENSION is set, ensure its value is safe to use, and select EXTENSION/incoming.
mailping-store is usually run from a .forward file, and thus the filenames above are relative to the home directory of the account in
question.
Normal use
Normally, mailping-store is used to ease the setup of new circuits to probe from mailping-cron. This is done with a system account mailping
using <mailping@yourhost.example.com> as the from address, and <mailping+circuitname@yourhost.example.com> (or some remote address aliased
to that) as the to address. In fact, these are the default values for from and to, so you can just skip creating those configuration files.
This allows adding new test circuits without any changes to the email configuration.
FILES
/var/lib/mailping/state/circuit/incoming
Maildir to store the email to.
/var/lib/mailping/state/Maildir/
Maildir to store the email to, if no extension was given.
ENVIRONMENT
MAILPING_STATEDIR
Override the location of the state directory. Circuit states are stored in the state subdirectory of this directory, in subdirectories
named after the circuit name. Default: /var/lib/mailping
EXTENSION
Name of the current circuit to store the mail for.
SEE ALSO
mailping-cron(1), mailping-success(1), mailping-latency(1)
AUTHOR
Tommi Virtanen <tv@havoc.fi>
Havoc Consulting
Author.
COPYRIGHT
Copyright (C) 2004 Havoc Consulting
mailping 0. 2004-04-15 MAILPING-STORE(1)