Bug 1780 - webalizer tries to send mail to nonexistent user
Summary: webalizer tries to send mail to nonexistent user
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: webalizer (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Michael Shigorin
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-29 20:58 MSK by Michael Shigorin
Modified: 2007-11-11 00:03 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2002-12-29 20:58:24 MSK
webalizer should be somewhat modified to send mail to webmaster@ by default, or \"webalizer: webmaster\" alias should be added to default postfix aliases file.
---

---
maillog excerpt:

Dec 29 03:15:00 tanker postfix/pickup[25174]: 6C38F49A0: uid=113 from=<webalizer>
Dec 29 03:15:00 tanker postfix/cleanup[25663]: 6C38F49A0: message-id=&lt;<a href="mailto:20021229011500.6C38F49A0@inmetex.com.ua&gt" target="_new">20021229011500.6C38F49A0@inmetex.com.ua&gt</a>;
Dec 29 03:15:00 tanker postfix/qmgr[27702]: 6C38F49A0: from=&lt;<a href="mailto:webalizer@inmetex.com.ua&gt" target="_new">webalizer@inmetex.com.ua&gt</a>;, size=1119, nrcpt=1 (queue active)
Dec 29 03:15:00 tanker postfix/local[25665]: 6C38F49A0: to=&lt;<a href="mailto:webalizer@inmetex.com.ua&gt" target="_new">webalizer@inmetex.com.ua&gt</a>;, relay=local, delay=0, status=bounced (can\'t create user output file. Command output: procmail: Couldn\'t create \&quot;/var/spool/mail/webalizer\&quot; )
Dec 29 03:15:00 tanker postfix/cleanup[25663]: 786AE49F7: message-id=&lt;<a href="mailto:20021229011500.786AE49F7@inmetex.com.ua&gt" target="_new">20021229011500.786AE49F7@inmetex.com.ua&gt</a>;
Dec 29 03:15:00 tanker postfix/qmgr[27702]: 786AE49F7: from=&lt;&gt;, size=2825, nrcpt=1 (queue active)
Dec 29 03:15:00 tanker postfix/local[25665]: 786AE49F7: to=&lt;<a href="mailto:webalizer@inmetex.com.ua&gt" target="_new">webalizer@inmetex.com.ua&gt</a>;, relay=local, delay=0, status=bounced (can\'t create user output file. Command output: procmail: Couldn\'t create \&quot;/var/spool/mail/webalizer\&quot; )

Comment 1 Michael Shigorin 2003-07-31 14:36:25 MSD
2 ldv: is it reasonable to alias webalizer to webmaster in /etc/aliases or should I add[/remove?] the alias in package scripts?

(the Call For Policey continues...)
Comment 2 Michael Shigorin 2003-07-31 14:36:25 MSD
2 ldv: is it reasonable to alias webalizer to webmaster in /etc/aliases or should I add[/remove?] the alias in package scripts?

(the Call For Policey continues...)
Comment 3 Dmitry V. Levin 2003-09-06 23:37:49 MSD
Please don't mix webalizer issues and policy issues. 
Comment 4 Michael Shigorin 2003-09-10 19:55:31 MSD
the latter arose from the former (again), that's why.

seems webalizer will be the next bug squashing party objective for me though. :-]
Comment 5 Michael Shigorin 2004-06-28 16:45:48 MSD
OK.  So do you add "webalizer: root" line to stock /etc/postfix/aliases
(sendmail... exim... ugh) or do I do it in %post after pre-existance check?
Comment 6 Michael Shigorin 2006-02-17 16:16:19 MSK
Дим, как у нас принято добавлять алиасы в пакетах?
webalizer: root надо.
Comment 7 Dmitry V. Levin 2006-02-17 17:48:28 MSK
А как в мире принято это делать?
Comment 8 Michael Shigorin 2007-11-11 00:02:21 MSK
Вообще баг INVALID, но эффект будет исправлен в 2.01.10-alt7 иначе:

# The Quiet option suppresses output messages... Useful when run
# as a cron job to prevent bogus e-mails.  Values can be either
# "yes" or "no".  Default is "no".  Note: this does not suppress
# warnings and errors (which are printed to stderr).
#
# ALT: quiet by default, as cronjob is set up by default;
# if you need the output emailed then please add "webalizer: root"
# ro /etc/aliases and run newaliases command

Quiet           yes