RE: Sending log file to an Email Address
- From: "Lunt, Nick" <Nick.Lunt@xxxxxxxxxxxxxx>
- Date: Fri, 21 Apr 2006 13:54:41 +0100
Hi Andrew,
-----Original Message-----
From: Andrew.Bridgeman@xxxxxxxxxxxxxx
[mailto:Andrew.Bridgeman@xxxxxxxxxxxxxx]
Sent: 21 April 2006 13:55
To: General Red Hat Linux discussion list
Subject: RE: Sending log file to an Email Address
Thanks for reply Nick.
I have just done as you suggested but the e-mail did not come
through and
in the /var/log/maillog i have the text below. It looks like
it is being
stopped by localhost. Do you know what i need to change to
get it to go
through.
Apr 21 13:34:58 sendmail[14026]: k3LCYwWS014026:
to=andrew.bridgeman@xxxxxxxxxxxxxx, ctladdr=root (0/0),
delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=31778, relay=[127.0.0.1]
[127.0.0.1],
dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
OK it looks like your using sendmail and it's not configured. I cant help you with sendmail im afraid.
However, if you remove sendmail and install postfix here's what you would do.
-- assume postfix is running --
Find the following line in /etc/postfix/main.cf
relayhost =
change this to
relayhost = [ip.of.your.mailserver]
including the square brackets.
service postfix reload
Now as long as your mailserver is configured to allow mail to the address your trying to send to it should work.
Let us know how it goes.
Nick .
Wesleyan Administration Services Ltd registered number 5188850 and Wesleyan Unit Trust Managers Ltd registered number 2114859 ("WUTM Ltd") are wholly owned subsidiary companies of Wesleyan Assurance Society, whose registered number is ZC145. WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts Administration Centre: PO Box 9033, Chelmsford, SM99 2WQ Telephone: 0870 601 6129 Wesleyan Assurance Society and WUTM Ltd are authorised and regulated by the Financial Services Authority. Head Office, Colmore Circus, Birmingham B4 6AR. Telephone: 0121 200 3003 Fax 0121 200 2971. Website: www.wesleyan.co.uk Telephone calls may be recorded for monitoring and training purposes.
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately.
The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While every reasonable precaution to minimise this risk has been taken, we cannot accept liability for any damage that you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment.
Delivered using mail2.wesleyan.co.uk
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- RE: Sending log file to an Email Address
- From: Oluwagbenga Shobowale
- RE: Sending log file to an Email Address
- Prev by Date: Re: Sending log file to an Email Address
- Next by Date: RE: Sending log file to an Email Address
- Previous by thread: RE: Sending log file to an Email Address
- Next by thread: RE: Sending log file to an Email Address
- Index(es):
Relevant Pages
- Re: [Newbie] Howto setup mailserver??
... According to Mark South: ... the distrust that the writers of OpenBSD
seem to feel towards sendmail. ... On Solaris, I have to replace the square brackets
with single quotes, ... (comp.unix.bsd.openbsd.misc) - Re: How to send a PR without send-pr?
... sendmail to ignore any MX records set up for the server, ... into the
system via the external mail server. ... The fact that [square brackets] are commonly
used around IP numbers ... (freebsd-questions) - Re: Mailer table question
... putting the name in square brackets to avoid lookup for MX record ...
check where your sendmail binary looks for sendmail.cf by default ... Sendmail daemon
"remembers" sendmail.cf as it was when the daemon was ... (comp.mail.sendmail) - Re: sendmail static host for domain
... Regards, ... ajt. ... > Put the IP in square brackets;
otherwise sendmail will try to do MX ... (freebsd-questions)