Problem auto-filling SQL mtalog_ids from maillog

Z3us Linux z3us.linux at gmail.com
Fri Jan 13 12:20:16 UTC 2017


Already fixed this problem.
I'm my CSF firewall configuration, I restricted access to the SYSLOG too
much, so MailScanner didn't had proper access to it.
That's why it didn't log it's actions properly in postfix maillog and my
SQL didn't get filled with the mailscanner_relay.php script.

Thanks anyway for today's topic!


Greetings Z3us.

2017-01-13 13:00 GMT+01:00 <mailscanner-request at lists.mailscanner.info>:

> Send MailScanner mailing list submissions to
>         mailscanner at lists.mailscanner.info
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.mailscanner.info/mailman/listinfo/mailscanner
> or, via email, send a message with subject or body 'help' to
>         mailscanner-request at lists.mailscanner.info
>
> You can reach the person managing the list at
>         mailscanner-owner at lists.mailscanner.info
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MailScanner digest..."
>
>
> Today's Topics:
>
>    1. Problem auto-filling SQL mtalog_ids from maillog (Z3us Linux)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 12 Jan 2017 08:03:20 +0100
> From: Z3us Linux <z3us.linux at gmail.com>
> To: mailscanner at lists.mailscanner.info
> Subject: Problem auto-filling SQL mtalog_ids from maillog
> Message-ID:
>         <CADcP+mUzoQKtuZ0nXgrtoxN+gexuPB0CTgaSfY9Ovpv9BxUb+w@
> mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi guys,
>
> I'm running the latest version of Mailscanner and Mailwatch with postfix on
> CentOS 6.8.
> Somehow the relay information for mails isn't showing anymore (on
> mailscanner/detail.php).
> I saw that in detail.php there is a SQL query matching tables mtalog and
> mtalog_ids so relay information is being display on the webpage.
> I also discovered that the SQL table mtalog_ids in DB mailscanner isn't
> being filled anymore.
> In my troubleshooting sessions I found out
> that /var/www/html/mailscanner/mailscanner_relay.php is looking into the
> postfix maillog for entries to fill in de DB in SQL:
> if (preg_match('/^.*MailScanner.*: Requeue: (\S+\.\S+) to (\S+)\s$/',
> $line, $explode))
>
> When I'm looking into the postfix maillog, I can't find any lines with
> "Requeue" in it....
> This stopped a few weeks a go.
> What is causing this issue?
> Why isn't MailScanner writing those lines in the maillog anymore?
> I tried looking into all configuration files from the date it stopped
> logging those lines, but I can't find anything useful.
>
> Thanks in advance!
> z3us.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.mailscanner.info/pipermail/mailscanner/
> attachments/20170112/13d193e3/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>
> ------------------------------
>
> End of MailScanner Digest, Vol 133, Issue 14
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170113/1550691a/attachment.html>


More information about the MailScanner mailing list