how to send emails after logrotation.
15 pts.
0
Q:
how to send emails after logrotation.
Hi There..!!!

I have some queries here related to the logrotation as,

1] Do i configure the logrotation to send emails without having any mail server.
2] I have basic configuration of rsyslog and logroataion on my server. Can any one provide me the advanced configuration sample file over here. So i can enable or configure the necessary options within rsyslog and logrotation file.
3] Currently i have sendmail server installed by default. With the help of that i m trying to configure logrotaion to send emails to some emiail user of another domain(on another mail server) but it doesn't  work with that. So please guid eme in this regards.

 
ASKED: Aug 25 2009  6:07 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
90 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Hi,

Try this to send mail from the command line if you're having trouble SENDING emails after logrotation:
$ mail foo@bar.org
Subject: My Subject
Blah blah blah...
This is the body of my email
End the message with Ctrl&D or
with a full stop by itself like
.
EOT

Your mail should now have been sent.
Last Answered: Aug 25 2009  7:01 AM GMT by Rizwandean   90 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Usadapter   15 pts.  |   Aug 25 2009  7:21AM GMT

this is a very common question and the answer is good. [url=http://www.usadapter.com/Laptop-HP-Adapter/HP-Pavilion-DV5t-AC-Adapter.html]HP Pavilion DV5t AC Adapter[/url]

 

Manojb   15 pts.  |   Aug 25 2009  9:48AM GMT

Hi,

I know the procedure to send email from command line but my question is some different. Please read my post carefully I am able to send emails through command line but the auto generated mails by logrotation are are not getting delivered to the specific emailuser(ID). For example i have a email address and email server for the corresponding email user as.
1]  <a href="mailto:test@test.com" title="mailto:test@test.com">test at test.com</a> (on which the auto generated(*CRON*) mails will be delivered after logrotation).

2] The sender email address is  <a href="mailto:test@testmachine.com" title="mailto:test@testmachine.com">test at testmachine.com</a>.

The above info will help you to understand the problem, in case if you need any further please let me know.

Still I am unable to get auto generated emails(*CRON*) of logrotation.

 
0