Hello all,
I am trying to use the send email alerts option, and have researched thru
both the LRP and LEAF user mail lists.

I have edited both POSIXness.conf and lrp.conf to reflect my mail settings.

When I try the
# mail -s test [EMAIL PROTECTED] < /var/log/syslog
command, this is the error message I receive;

firewall: -root-
# mail -s test [EMAIL PROTECTED] < /var/log/syslog
Error: Unknown response.
  MAIL FROM:<root@[EMAIL PROTECTED]>
  2: 501 5.0.0 Invalid domain name
Aborting due to connection error
  Killing child processes: 28331 28334
firewall: -root-

Is there a way to configure something in order to not have it appear the
mail is coming from
root@[EMAIL PROTECTED]??

Here is my POSIXness.conf file;

#This is the master config file for the POSIXness scripts

# Host SMTP server for the 'mail' command. If blank the host 'mail' is used.
MAIL_SERVER="smtp.mn.mediaone.net"

# From: domain to send to mail server.  If blank, `hostname -f` is used.
MAIL_DOMAIN="[EMAIL PROTECTED]"

Here is my lrp.conf file (relevant part of it I believe);

#This is the master config file for systemwide LRP functions.
#It is referenced by multicron-* and POSIXness.


# Log files in /var/log/ to rotate. DEPTH == Amount to keep.
lrp_LOGS_DAILY="daemon.log debug kern.log messages syslog user.log \
                ppp.log pslave.log"
lrp_LOGS_WEEKLY="auth.log lastlog"
lrp_LOGS_MONTHLY="wtmp"
lrp_LOGS_DEPTH=4

# Host SMTP server for the 'mail' command. If blank the host 'mail' is used.
lrp_MAIL_SERVER="smtp.mn.mediaone.net"

# Email address to use for notices and alerts. If blank alerts won't be
sent.
lrp_MAIL_ADMIN="[EMAIL PROTECTED]"

Hope it isn't something simple I have overlooked!

TIA

Steve



_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to