From the command "lsuser" and the general output format i deduce it is an AIX system (still, it would be nice to state that instead of letting the audience exert its collective criminalistic skills). The output of "lsuser" is a space-separated list of user properties in the form "property=value".
It is possible to limit the output to one (or several) specific properties, therefore:
will limit the output to only the gecos property (and the username, which is always part of the output). From there it should be easy to extract everything up to the delimiting semicolon by shell expansion:
Hi
Can any one help me out ?
I am trying to send an autogenerated mail with an attachment to bulk of users using 'MAILX' and 'UNENCODE' . I have used it as follows
X " ( cat /sastemp/body.txt; uuencode Test.xls.gz Test.xls.gz ) | mailx -s 'Testing' ' abcd@yahoo.com , efgh@gmail.com ' "
... (9 Replies)
Hi,
I am trying to send an email to multiple IDs from Unix script. I have given the EmailIds in a file and trying to use the file as input in the script.
> cat Email
EmailID = "abc@xyz.com cbz@xyz.com"
In my script I have
. /Email
mailx -s "subj" $EmailID
This fails with the... (3 Replies)
hi,
I want to send mail to DL...
i am sending email to single id using mailx .. how to send to group of ids? :confused:
i am using a file which conatins all the ids,
is there any other way to send mail without creating the DLfile?
DL=path\file.txt
mailx -s "Info BG is now... (4 Replies)
I wanted to send email to list of people using mailx in unix. I am getting the emailds from a oracle table and getting the ids in a variable. Shell script is shown below:
-----------------------------------------------------------------------
filename=testdata921 export filename... (5 Replies)
The AIX servers that I am working on have been identified as having orphaned user ids & improper gecos for some user ids. Can someone help me with a script to delete the user ids if the orphaned ids are provided in a text file. The home directory set up for the user ids happen to be the... (1 Reply)
Hi Everyone,
I just need a shell script which automatically gives the list of NT IDs mean the Usernames from the list of email ids. We have around 140 users from AMERICAS,ASIAPACIFIC and EMEA User Directories and we have their email ids.For ex. i have email id called naveen-kumar.dasu@hp.com... (7 Replies)
Hi,
I would like to know if there is a way to mask obscene words and other contents like email id's/phone numbers in the file. Below is the sample input /output.
Sample data :
cat smp.txt
The service is really bad . My email abc@gmail.com
You can contact me at 4078909831
Output... (2 Replies)
Hello Gurus,
I have one table which consists of two field:-
PROG_NAME EMAIL
xxxx email1,email2,email3
yyyy email4,email1,email2
I want to to send mails by using mailx command.
But how do I get each and every mail ids from table against... (4 Replies)
hi,
I added an email id to a list of existing aliases in .mailrc on my unix box, using vi editor. However, the new id has not been receiving any mails from the box.
Kindly help as to what needs to be done here. Does the box need to be rebooted for these changes to reflect? Is there any other... (5 Replies)
Discussion started by: qwerty000
5 Replies
LEARN ABOUT DEBIAN
collect-reminders
COLLECT-REMINDERS(1) User Contributed Perl Documentation COLLECT-REMINDERS(1)NAME
collect-reminders - collect email reminders to be sent out
SYNOPSIS
Collect emails reminders set by users for special occasions and move them to the email-reminder spool directory.
DESCRIPTION
Email-reminder allows users to define events that they want to be reminded of by email.
This script is meant to be invoked everyday by a cron job or as the root user. It collects the reminder files from each user.
OPTIONS --help
Displays basic usage message.
--verbose
Prints out information about what the program is doing, including the full emails being sent out.
--version
Displays the version number.
FILES
~/.email-reminders, /etc/email-reminder.conf
AUTHOR
Francois Marier <francois@email-reminder.org.nz>
SEE ALSO
email-reminder-editor, send-reminders
COPYRIGHT
Copyright (C) 2004-2010 by Francois Marier
Email-Reminder is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
Email-Reminder is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Email-Reminder; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
perl v5.14.2 2012-05-28 COLLECT-REMINDERS(1)