I want to stop messaging this errors. I tried to find where is coniguration to send errors by email, but no luck. Google didnt help too…
Where this configuration can be???
Thank you in advance…
I’ve never seen this kind of email before. It looks like some kind of warning from a web server. It’s certainly nothing that Virtualmin would set up by default to be sent.
Can you elaborate a bit more, who gets these emails where, when and from whom, and what’s in the respective mail.log when a delivery is done?
Its nothing strange there… its only part of Apache Error Log (/var/log/virtualmin/example.lt_error_log), like I noticed it is only posting [ERROR]'s from this log… But I cant find out where it configured…
Will try answer to ur question:
who gets these emails where, when and from whom
admin gets this emails with “Undelivered Mail Returned to Sender” (U can see it in msg: Return-Path: example.adm@xxxxx.xxx.lt) because error@example.lt (“example.lt” I changed) not exist but like u can see in msg it addressed “To: error@example.lt”, sender is “From: error@example.lt”. It comes at the same time when error log appeared.
what’s in the respective mail.log when a delivery is done
Aug 2 01:38:41 xxxxx postfix/pickup[14519]: 0C531874171: uid=1001 from=<example.adm>
Aug 2 01:38:41 xxxxx postfix/cleanup[17894]: 0C531874171: message-id=20140801223841.0C531874171@xxxxx.xxx.lt
Aug 2 01:38:41 xxxxx postfix/qmgr[16536]: 0C531874171: from=example.adm@xxxxx.xxx.lt, size=525, nrcpt=1 (queue active)
Aug 2 01:38:41 xxxxx postfix/error[18634]: 0C531874171: to=error@example.lt, relay=none, delay=0.22, delays=0.17/0/0/0.05, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
Aug 2 01:38:41 xxxxx postfix/cleanup[17894]: 24FCE874172: message-id=20140801223841.24FCE874172@xxxxx.xxx.lt
Aug 2 01:38:41 xxxxx postfix/bounce[18635]: 0C531874171: sender non-delivery notification: 24FCE874172
Aug 2 01:38:41 xxxxx postfix/qmgr[16536]: 24FCE874172: from=<>, size=2253, nrcpt=1 (queue active)
Aug 2 01:38:41 xxxxx postfix/qmgr[16536]: 0C531874171: removed
Aug 2 01:38:41 xxxxx postfix/cleanup[17894]: 31570874122: message-id=20140801223841.24FCE874172@xxxxx.xxx.lt
Aug 2 01:38:41 xxxxx postfix/local[7009]: 24FCE874172: to=example.adm@xxxxx.xxx.lt, relay=local, delay=0.09, delays=0.05/0/0/0.04, dsn=2.0.0, status=sent (forwarded as 31570874122)
Aug 2 01:38:41 xxxxx postfix/qmgr[16536]: 31570874122: from=<>, size=2386, nrcpt=1 (queue active)
Aug 2 01:38:41 xxxxx postfix/qmgr[16536]: 24FCE874172: removed
Aug 2 01:38:41 xxxxx postfix/local[8537]: 31570874122: to=server.admin-xxx.lt@xxxxx.xxx.lt, orig_to=example.adm@xxxxx.xxx.lt, relay=local, delay=0.55, delays=0.04/0/0/0.51, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Aug 2 01:38:41 xxxxx postfix/qmgr[16536]: 31570874122: removed
Yeah, like Eric I’d suspect that one of your users (ID 1001) set up a script or similar to be informed about errors in their Apache log, and set it up incorrectly, with a non-existent (example) sender/recipient address, so you’re receiving the non-deliverable messages.
I’m not aware that Apache would have such a function to email out log errors, and it’s definitely nothing that Virtualmin would set up by default.
Thank you guys, now at least I know that its nothing that VM would set up…
Will try to find info somewhere in Apache forum… and reply if something find out…
after hard googling I found direction where to search…
First tip was that it must be php script, second - it must be somewhere in /home/example.adm/public_html
voila! There is folder “Error” and several files. One of them error.php. Made some observation and found code in it: