Gene Smith wrote:
With the outgoing smtp rule removed from shorewall, I should be able to find where qmail queues the messages and see what is being sent to mydomain.com.
The email being automatically sent to [EMAIL PROTECTED] contain just one line in the body:
multicron-p
Multicron-p runs every 15 minutes to check space and ping hosts and calls "mail" if problem detected and if $lrp_MAIL_ADMIN" defined, which it isn't. So still not sure where the "multicron-p" I see in the queued emails comes from. Then again, I don't see that /etc/multicron-p ever sends a email containing the word "multicron-p" as I seem to observe in the qmail queue.
Does "mail" somehow use qmail to send mail triggered by cron? -gene
It appears this is a bug, per the following leaf-user message from
over a year ago. Just need to remove a line from /etc/multicron-p. Am
using Bering 1.0 Stable. However, I never set lrp_MAIL_ADMIN (in
/etc/lrp.conf) so still not sure of the mechanism that is trying to send this mail.
-gene
Subject:[leaf-user] Mail Bug in multicron-p From:"Eric Wolzak" <[EMAIL PROTECTED]> Date:Mon, 6 Jan 2003 20:59:46 +0100 To:[EMAIL PROTECTED]
Hello List.
I just discovered a bug in the /etc/multicron-p script in Bering Stable 1 (probably also in Bering-uClibc ? )
This bug is not critical, just annoying.
In the /var/log/syslog file you could find :
Jan 5 22:00:01 firewall /USR/SBIN/CRON[26546]: (root) MAIL (mailed 12 bytes of output but got status 0x0001 ) every 15 minutes.
The mail is sent to root@ and has as content multicron-p
The reason is the rest of a debugging session that was forgotten to remove (shame on me ;) )
Remove the line: # echo $prog in routine main() around linenr 33.
Allthough from the logic nothing should have happened the output was piped through mailadmin function.
If you have set your mail-admin you could have received mails with "multicron-p" as content. No Subject.
Sorry for the discomfort
Regards Eric Wolzak member of the bering crew
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
