I need to extract the email (column 3) and send a mail to each person, with their details ( specifically username and password.). so for eg 100 emails for 100 lines
I think this should be possible using awk and mailx but I am not able to get it to work
Hello,
I am new to perl and need to create a script that will read a file and pull a name from the file and send e-mail.
How can I use the following awk statement in a perl script?
grep UNIXadmins /root/mail.conf | awk '{ print $2}'
and use the output to send a e-mail.
Any help would... (1 Reply)
Hi
I want to send out a file that generate 1st of each month that have formate like this 11012008_experience_rate_log.txt
Now I have setup a cronjob that usually sent this file in mail
like
cat /data02/transfer/*_experience_rate_log.txt | mail -s 'PICS EXP RATE Logs' lger@bd.com
So how... (3 Replies)
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
I want to send the content in same format as it is in file.
#!/bin/sh
cat /usr/test/abc > /usr/test/abc/file
if
then
MAILTO=test@yahoo.com
CONTENT="/usr/test/abc/file"
(
echo "Subject: TEST "
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
cat $CONTENT
) |... (7 Replies)
Hi All,
I would like to send below output in a tabular column ( xml or excel ) and send a mail.
vinay unix
anil sql
vamsee java
request to suggest a solution. (1 Reply)
Hello,
I am able to attache the file in UNIX/LINUX script using following code.
MAILFORMAT="Please do not replay this mail.This mail is auto generated."
echo -e $MAILFORMAT | mailx -r autoreplay@gmail.com -a filename -s "status" xyz@gmail.com
But same I am not able attache... (6 Replies)
Hi !
I-m copile from source a C++ program from tutorials from internet. I don't understendig any programing languages.. but compiled aplication running ok.
I-ts possible to add in my used program, lines to send one file from config directory in e-mail, to my e-mail adress ?
I want to run... (2 Replies)
Kindly help merging information from two files with the following data structure.
I want to match for the CHR-SNP in Foo and get the columns that match from CHROM-rsID
Fields 1 & 2 of foo may have duplicates, however, a joint key of Fields $1$2$3$4 is unique.
Also would be helpful to clean up... (4 Replies)
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT DEBIAN
pius
PIUS(1) General Commands Manual PIUS(1)NAME
pius - PGP Individual UID Signer
SYNOPSIS
pius [options] -s <signer-keyid> <keyid> [<keyid> ...]
pius [options] -A -r <keyring-path> -s <signer-keyid>
DESCRIPTION
pius The PGP Individual UID Signer (PIUS) is a tool for individually signing all of the UIDs on a set of keys and encrypt-emailing each one
to it's respective email address. This drastically reduces the time and errors involved in signing keys after a keysigning party.
OPTIONS --version
show program's version number and exit
-h or --help
show this help message and exit
-a or --use-agent
Use pgp-agent instead of letting gpg prompt the user or every UID. [default: false]
-A or --all-keys
Sign all keys on the keyring. Requires -r.
-b PATH or --gpg-path=PATH
Path to gpg binary. [default: /usr/bin/gpg]
-e or --encrypt-outfiles
Encrypt output files with respective keys.
-d or --debug
Enable debugging output.
-H HOSTNAME or --mail-host
Hostname of SMTP server. [default: localhost]
-i or --interactive
Use the pexpect module for signing and drop to the gpg shell for entering the passphrase. [default: false]
-I or --import
Also import the unsigned keys from the keyring into the default keyring. Ignored if -r is not specified, or if it's the same as the
default keyring.
-m EMAIL or --mail
Email the encrypted, signed keys to the respective email addresses. EMAIL is the address to send from. See also -H and -p.
-M FILE or --mail-text
Use the text in FILE as the body of email when sending out emails instead of the default text. To see the default text use --print-
default-email. Requires -m.
-n EMAIL or --override-email
Rather than send to the user, send to this address. Mostly useful for debugging.
-o OUTDIR or --out-dir
Directory to put signed keys in. [default: /tmp/pius_out]
-O or --no-pgp-mime
Do not use PGP/Mime when sending email.
-p or --cache-passphrase
Cache private key passphrase in memory and provide it to gpg instead of letting gpg prompt the user for every UID. [default: true]
-P PORT or --mail-port
Port of SMTP server. [default: 25]
-r KEYRING or --keyring
The keyring to use. Be sure to specify full or relative path. Just a filename will cause GPG to assume relative to ~/.gnupg.
[default: ~/.gnupg/pubring.gpg]
-s SIGNER or --signer
The keyid to sign with (required).
-S or --mail-tls
Use STARTTLS when talking to the SMTP server.
-t TMP_DIR or --tmp-dir
Directory to put temporary stuff in. [default: /tmp/pius_tmp]
-T or --print-default-email
Print the default email.
-u USER or --mail-user
Authenticate to the SMTP server, and use username USER. You will be prompted for the password. Implies -S.
-v or --verbose
Be more verbose.
AUTHOR
PIUS was written by Phil Dibowitz <phil@ipom.com>
This manual page was written by Luke Cycon <lcycon@gmail.com>, for the Debian project (but may be used by others).
MARCH 2010 PIUS(1)