LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-30-2006, 10:30 AM   #1
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
fetchmail output to terminal (Can it be turned off)?


I'm using slack 10.2, with dropline gnome.
I I periodically use fetchmail to download my email. The problem is that when new mail arrives, it spits the notification onto my terminals, regardless of which terminal I'm using. This is very distracting.

I should specify, I don't think the output is from fetchmai itself. I think there some mail utility running.

Does anyone know how/where to configure/disable this?

Thanks in advance.

Pablo
 
Old 01-30-2006, 12:01 PM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
In your fetchmailrc configuration file, put the directive:
set logfile "/var/log/fetchmail.log"

regards,
 
Old 01-30-2006, 01:00 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
If you don't want a separate log file, you can also use set syslog
 
Old 01-30-2006, 01:15 PM   #4
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Original Poster
Rep: Reputation: 40
Thanks for the suggestions. However, none of those options helped.

I believe there's another app running that's giving me the alerts, not fetchmail.

The output printed to all terminals looks like this:
Code:
New mail for user@host has arrived:
----
From: Doctor Dictionary <doctor@dictionary.com>
Subject: sang-froid: Dictionary.com Word of the Day

/-=-=-<advertisement>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\

"End Procrastination. Stop Setting Goals Only To Give Up...
Learn How To Develop The Desire, Determination & Persistence
...more...
Code:
Below is a list of my running processes. If anyone could point out whice one is outputting to all terminals, it would be Great!
USER COMMAND
root init
root [keventd]
root [ksoftirqd_CPU0]
root [kswapd]
root [bdflush]
root [kupdated]
root [mdrecoveryd]
root [kjournald]
root [kjournald]
root [kjournald]
root /usr/sbin/syslogd
root /usr/sbin/klogd
root udevd
root [khubd]
root [usb-storage-0]
root [scsi_eh_1]
root /usr/sbin/inetd
root /usr/sbin/sshd
root /usr/sbin/crond
daemon /usr/sbin/atd
root /usr/sbin/acpid
root /usr/sbin/gpm
root /bin/login
root /sbin/agetty
root /sbin/agetty
root /sbin/agetty
root /sbin/agetty
root /sbin/agetty
pablo -bash
pablo dbus-launch
pablo dbus-daemon
pablo /bin/sh
pablo xinit
root X
pablo gnome-session
pablo /usr/libexec/gconfd-2
pablo /usr/bin/gnome-keyring-daemon
pablo /usr/bin/esd
pablo /usr/libexec/bonobo-activation-server
pablo /usr/libexec/gnome-settings-daemon
pablo /usr/libexec/gnome-settings-daemon
pablo /usr/libexec/gnome-settings-daemon
pablo metacity
pablo gnome-panel
pablo nautilus
pablo gnome-terminal
pablo /usr/libexec/wnck-applet
pablo nautilus
pablo nautilus
pablo /usr/libexec/gnome-vfs-daemon
pablo /usr/libexec/gnome-vfs-daemon
pablo /usr/libexec/gnome-vfs-daemon
pablo gnome-panel
pablo gnome-panel
pablo gnome-pty-helper
pablo -bash
pablo gnome-terminal
pablo gnome-terminal
pablo nautilus
pablo nautilus
pablo nautilus
pablo /usr/libexec/mapping-daemon
pablo /usr/libexec/mixer_applet2
pablo /usr/libexec/notification-area-applet
pablo /usr/libexec/clock-applet
pablo xscreensaver
pablo -bash
pablo gaim
pablo /bin/sh
pablo /bin/sh
pablo /usr/lib/firefox/firefox-bin
pablo /usr/lib/firefox/firefox-bin
pablo /usr/lib/firefox/firefox-bin
pablo /usr/lib/firefox/firefox-bin
root su
root bash
pablo java_vm
pablo java_vm
pablo java_vm
pablo java_vm
pablo java_vm
pablo java_vm
pablo java_vm
pablo java_vm
pablo java_vm
pablo java_vm
pablo java_vm
pablo java_vm
pablo java_vm
pablo /usr/lib/firefox/firefox-bin
pablo /usr/lib/firefox/firefox-bin
pablo java_vm
pablo -bash
pablo abiword
root in.comsat
pablo ps
Thanks in advance.

Pablo
 
Old 01-30-2006, 01:50 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
That looks like the output from in.comsat. Have a look in /etc/inetd.conf or /etc.xinetd.conf and look for an entry for the comsat service (in.comsat is the program name) and comment it out. You'll have to restart inetd or xinetd for the changes to take effect.
 
Old 01-30-2006, 02:48 PM   #6
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Original Poster
Rep: Reputation: 40
gilead:
That was it! I just disabled the in.comsat service and all is well.

Thanks for your help.

pablo
 
  


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
Redirect terminal output to file AND terminal shan Linux - General 3 09-29-2006 08:36 AM
Squid Output to the Terminal? mattsthe2 Linux - Networking 5 10-27-2005 02:02 PM
Stuck in terminal - turned on text desktop by accident dinkydarko Linux - Newbie 31 11-11-2004 05:47 AM
how to redirect the output of a terminal? cpukiller Linux - Networking 5 11-10-2004 07:07 AM
recording terminal input and output babyphil Linux - Newbie 4 08-29-2004 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:19 AM.

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