Hi All,
We now have a Log file which has time stamps of all the scripts ran. It has start
time and end time. I now have a requirement to send mail to the Admin after the script finishes running.
Can some one help me with a Script which will send mail with Start time and
End time of the... (2 Replies)
hardware = raq550 running on strongbolt2.
my sendmail log is littered with this entry all through the day:
localhost did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
it occurrs every 15 minutes. I don't have any problem sending or receiving mail. I did a search on google but couldn't... (0 Replies)
Hello,
I am afraid that I goofed up my mailing system.
I have an Ubuntu 9.10 system
$ uname -smor
Linux 2.6.31-14-generic x86_64 GNU/Linux
I am wanting to receive cron job mails. I noticed that cron jobs were trying to send mail to sendmail. I had installed ssmtp so I could send mail... (1 Reply)
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)
On both Solaris 10 and RHEL, we would like to configure sendmail in such a way that the email sent from the server should only go to a particular domain. For eg. We want our server to ONLY send the mail to <user_name>@abc.com. All other domains should be blocked/restricted. The server should not... (0 Replies)
PHP mail() function doesn't work.
Nor does sendmail:
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/xi/.msmtprc: No such file or directory
falling back to default account
using account default from /etc/msmtprc
host = xsi
port = 25
proxy host = (not... (1 Reply)
my request is:
i have to create a script , which will grep the 'not running' jobs and will send the update in mail with its name(job)
Scenario:
logged in to machine abc
went to particular path: cd /a/b/c
then ./script1.sh status (script.sh is a script,whose status gives info about 10 jobs... (1 Reply)
I have set up a cron, which will send the mail with not runnnig jobs in the script.sh
15,30,45 * * * * /a/b/c/script.sh | grep not | mail -s "test mail" learner987@gmail.com
But i dont want mail when all the jobs are running, but with the above cron i will get mails without the content(if all... (2 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 MOJAVE
femail
FEMAIL(8) BSD System Manager's Manual FEMAIL(8)NAME
femail -- accept mail on behalf of a real MTA
SYNOPSIS
femail [-46tv] [-f from] [-F name] [address ...]
DESCRIPTION
femail is intended to be used on servers that do not run a real MTA or inside chroot(8) environments. It features a sendmail(8)-compatible
command line interface and forwards mail via SMTP to the host given in the config file, an environment variable or localhost.
The options are as follows:
-4 Only use IPv4.
-6 Only use IPv6.
-F name Set the sender's name to name.
-f from Set the sender address to from. Normally, femail tries to parse the sender from the message, and uses login@hostname if that is
not present.
-t Read recipients from the message given on stdin, in addition to the recipients given on the command line.
-v Enable verbose operation.
CONFIG FILE
The config file, /etc/femail.conf, consists of simple name=value pairs. The supported settings are as follows:
smtphost Specify the server femail should send the messages to.
smtpport Specify the port femail uses on smtphost to send the messages. Default is 25.
myname The hostname femail uses. Defaults to the machine's hostname.
ENVIRONMENT
SMTPHOST Forward mail to the given host instead of the local host. Only consulted when not set in the config file.
SMTPPORT Connect to the given port instead of 25. Only consulted when not set in the config file.
SEE ALSO mail(1), sendmail(8)AUTHORS
femail was written by Henning Brauer.
BSD August 9, 2005 BSD