If the above line is added into /etc/aliases and a command newaliases is run, then any mail arriving at your server for sftp will cause the script /path/to/script to be run with the email as standard input.
You can do something dull with it, so the script could just be as short as:-
.... which will write the email to a timestamped (and process id) spool file that something else could be watching for.
You would still need to be able to read through the email and decipher what the request was, but then you can create the account and send them a reply fairly easily.
Hello all,
I have a question about the email that is sent to new users when they first check their email. The message is directly from the server and says something like "Welcome to "mailserver", you login is atypical." Where is this message? Can I change the message that is sent? Were... (2 Replies)
Discussion started by: calivw78
2 Replies
2. Forum Support Area for Unregistered Users & Account Problems
I'm sorry for being an annoyance. I did read in another post that anyone who gives a proper email address will receive a confirmation.
Well, I have created 4 accounts to no avail. Who knows, maybe I did mistype my email in one of them (twice since we have to reconfirm and with the same typo),... (3 Replies)
Hi,
my email server is set up in a different machine which runs lineox enterprise 3.0. It exports /var/spool/mail to the sun server running solaris 9 and hence, all workstations nd users can access their mail.
but the problem is some users cannot open their mail at all. the error "mailer... (0 Replies)
Hi,
If I want to send an email to serveral users, what is the correct way to do it?
I know a little bit mail command. If I want to send email to John and Scott after UNIX shell scripts have completed the job. I type:
mail -s 'Job has been completed successfully' john@yahoo.com < log.txt
... (4 Replies)
Hello, I'm preparing a script for creating users automatically.
I,m using this command
useradd -c "Name foo" -d /export/home/my -f 10 -g other -u 10001 -s /bin/bash my
the problem i have is when i create the user by command line, this acount is locked. What do i have to change in the... (2 Replies)
hi,
i'm pretty new to this unix. i've been asked to create a shell script which will pick up the email id from a text file(stored in same machine, same directory) searches for that id in another file in which a product name( a one line text) is mentioned against it. then it should send a mail... (0 Replies)
Hello,
I am new to unix , and I need to create a shell sciprt which helps me FTPing file from LAn to Unix box.
These files r then processed using Perl script and put in a database.
I also need to log the entire process of all the above methods in a log file in the same shell script.
Like ,... (2 Replies)
Hi ,
I want to write a Unix script which can send an automatic email to the group when my job is completed.I'm trying the following
Mail -s "test" <groupname> << EOD
>Completed
>EOD
With this i'm not able to send an email to group..Any ideas?
Thanks in Advance (1 Reply)
Please forgive me if this is the wrong place to post.
I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc.
I tried logging in through a browser but get this error:
ERROR: Connection dropped... (1 Reply)
Hi Guys,
I want a script where in I need to send an email to individual users about their groups.
OS:unix redhat
Shell :Bash.
The mail should be like,"Hi &username , you are in part of &group1,&group2 .."
I need to mail to their personal email id mostly @outlook. Not to their UNIX.... (1 Reply)
Discussion started by: vijay2107
1 Replies
LEARN ABOUT CENTOS
bashbug-64
BASHBUG(1) General Commands Manual BASHBUG(1)NAME
bashbug - report a bug in bash
SYNOPSIS
bashbug [--version] [--help] [email-address]
DESCRIPTION
bashbug is a shell script to help the user compose and mail bug reports concerning bash in a standard format. bashbug invokes the editor
specified by the environment variable EDITOR on a temporary copy of the bug report format outline. The user must fill in the appropriate
fields and exit the editor. bashbug then mails the completed report to bug-bash@gnu.org, or email-address. If the report cannot be
mailed, it is saved in the file dead.bashbug in the invoking user's home directory.
The bug report format outline consists of several sections. The first section provides information about the machine, operating system,
the bash version, and the compilation environment. The second section should be filled in with a description of the bug. The third sec-
tion should be a description of how to reproduce the bug. The optional fourth section is for a proposed fix. Fixes are encouraged.
ENVIRONMENT
bashbug will utilize the following environment variables if they exist:
EDITOR Specifies the preferred editor. If EDITOR is not set, bashbug defaults to emacs.
HOME Directory in which the failed bug report is saved if the mail fails.
TMPDIR Directory in which to create temporary files and directories.
SEE ALSO bash(1)AUTHORS
Brian Fox, Free Software Foundation
bfox@gnu.org
Chet Ramey, Case Western Reserve University
chet@po.cwru.edu
GNU Bash-4.0 1998 July 30 BASHBUG(1)