LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2004, 11:36 PM   #1
lildrummerboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 21

Rep: Reputation: 15
syslog forward to email config file?


Where is the file to forward an email from say syslog to your say hotmail account for instance, I ask because I am now having syslogs sent every night to my hotmail account and I do not want that anymore because it is now causing problems because of authentication rules I have placed up I cant seem to remember the file I edited though, I either need to do that or figure out how to allow logs to send even with my authentication settings.
 
Old 07-27-2004, 06:25 AM   #2
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
More than likely it's a cron job. Try crontab -l as root. If you see it then run crontab -e as root and remove the line that sends the file.

If you're running Red Hat you might also want to check your /etc/cron.daily directory.
 
Old 07-27-2004, 08:27 AM   #3
lildrummerboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 21

Original Poster
Rep: Reputation: 15
no this isn't it I checked to be sure, but it is something like an alias file, but of course I did a search of all files that had the word alias in them and also required that the file contained my email address and nothing came up...Logs mail to you by default with FC1 anyways, origanally they mail to root@localhost, I somehow changed it to mail to my hotmail account and want to make it so it mails to localhost again because of security errors I have been recieving in logs from this. Anyways I appreciate any help and thanks for the suggestion MiscGeek.
 
Old 07-27-2004, 08:45 AM   #4
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
Hmmm... looks like you can also do this by changing the /etc/syslog.conf file. Run info syslog.conf for details.

Maybe that's what you did
 
Old 07-27-2004, 08:50 AM   #5
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
I just thought of something else You could have modified your /etc/alias file. If you're getting all of root's email that's probably what you did
 
Old 07-28-2004, 04:24 AM   #6
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
Or take a look in your /etc/email-adresses
Since you don't mention what distro you're using or mailprogram it's not easy to guess where the e-mail list is.
But YES MiscGeek is right.
It's your email aliases that you have to change.
 
Old 07-29-2004, 10:46 AM   #7
lildrummerboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 21

Original Poster
Rep: Reputation: 15
very sorry about lack of specification, I am running FC1, none of these contains what I am looking for, in fact if I remember correctly the file I edited in the first place had just a few lines, I can't remember for the life of me the file though, I am a newb so I guess I need to start taking some notes on things I do so that they can be reversed lol. anyways any more suggestions would be appreciated. Also I just get logs, I dont get all email, like in my inbox I frequently get stuff from cron, the email I used to get in hotmail box before I added security said this "LogWatch for mylocalhostname " anyways hope this extra information will help you guys more understand what I am talking about, thanks for the efforts so far very much appreciated.

Last edited by lildrummerboy; 07-29-2004 at 10:51 AM.
 
Old 07-29-2004, 11:39 AM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Maybe /etc/log.d/conf/logwatch.conf (it may be somewhere else on your system, do a 'locate logwatch.conf')? That's the program that mails log reports out on a lot of Red Hat/Fedora systems.
 
Old 07-29-2004, 07:25 PM   #9
lildrummerboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 21

Original Poster
Rep: Reputation: 15
thanks that is where it was, apparently this was not the issue though, it is something with sendmail since I have required authentication via SSL anyways if you have any ideas on that search my name it should be a recent thread, anyways thanks for the answer for this one it is much appreciated!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I configure postfix master to forward all email to an email server ? hello321_1999 Linux - Software 1 11-18-2004 04:43 AM
forward root email Pete Dogg Linux - Software 5 10-29-2004 08:16 AM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 06:25 AM
Sendmail: How do I config to write separate file for every email 360 Linux - Software 4 03-31-2003 08:52 PM
Re: Forwarding email (.forward file) andy_sco123 Linux - General 3 05-24-2002 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration