2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
ciuly |
Posted: Jun 13 2011, 10:52 PM
|
||||||||||
Member Group: Members Posts: 62 Member No.: 1843 Joined: 29-November 05 |
This is an old issue, I just now am getting to dig into it properly. I'm running xmail 1.26 on centos (it's an upgrade). Everything is working fine except getting email from cron for jobs that output stuff (I am getting the daily logwatch which contains the jobs ran and "MAIL sending errors X Time(s)", where X varies (today, that X is going to be very high)) my related setup for the scripts:
(this is smaller than sendmail.xmail, not sure if it's right)
now, when the cron runs the job (it's just a script that verifies if the actual job is running and if not it starts it, outputting that it did so), things will look like this (pstree output):
and the jobs:
I looked in the xmail logs but I didn't even find anything in the logs (smtp, for these emails, so it appears it is not getting anywhere. I made a small test script and logged parameters to file in sendmail.xmail.sh resulting in
what's missing/wrong? thanks. -------------------- I hate looking up all this information every time I create a new topic so here goes:
I'm running XMail v 1.26 on linux centos 5 CLI-only kernel 2.6.18-194.32.1.el5 with filters.out having one filter, filters.post-data having 5 custom filters (first one SA), filters.pre-data having 2 custom filters and SA v 3.3.1 running on Perl v 5.8.8 with a weekly crontab entry for sa-update |
||||||||||
ciuly |
Posted: Jun 16 2011, 10:27 PM
|
||
Member Group: Members Posts: 62 Member No.: 1843 Joined: 29-November 05 |
Managed to finally track it down, after reading this message here: http://permalink.gmane.org/gmane.mail.xmail.general/5046 basically I experimented with tweaking the command line parameters and by mistake, at a given point I wrote the newargs expression wrong (I had some debug stuff in place), resulting in a singular word, which raised an error in the mailer daemon of a non-existing account. so in the end I ended up with the following sendmail.xmail.sh
-------------------- I hate looking up all this information every time I create a new topic so here goes:
I'm running XMail v 1.26 on linux centos 5 CLI-only kernel 2.6.18-194.32.1.el5 with filters.out having one filter, filters.post-data having 5 custom filters (first one SA), filters.pre-data having 2 custom filters and SA v 3.3.1 running on Perl v 5.8.8 with a weekly crontab entry for sa-update |
||