<div dir="ltr">No, MailScanner is decoupled from the MTA (at least in version 5).</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 4, 2017 at 7:32 AM, Marek Górny <span dir="ltr"><<a href="mailto:marek.gorny@bolix.pl" target="_blank">marek.gorny@bolix.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please correct me if I'm wrong:<br>
When i run mailscanner.service he should check postfix and his services (when MTA is set to postfix od course)?<br>
<br>
Marek Górny<br>
<br>
<br>
-----Original Message-----<br>
From: MailScanner [mailto:<a href="mailto:mailscanner-bounces%2Bmarek.gorny">mailscanner-bounces+<wbr>marek.gorny</a>=<a href="mailto:bolix.pl@lists.mailscanner.info">bolix.pl@lists.<wbr>mailscanner.info</a>] On Behalf Of Antony Stone<br>
Sent: Monday, September 4, 2017 1:23 PM<br>
To: MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.<wbr>mailscanner.info</a>><br>
Subject: Re: Mailscanner 5.0.6-4 ant port 25 not listening<br>
<br>
On Monday 04 September 2017 at 13:15:10, Marek Górny wrote:<br>
<br>
> with postfix.service stoped:<br>
><br>
> netstat -lpn | grep 25<br>
<br>
(no TCP socket listening on port 25 in output displayed)<br>
<br>
> and when postfix.service is started:<br>
> netstat -lpn | grep 25<br>
> tcp        0      0 <a href="http://0.0.0.0:25" rel="noreferrer" target="_blank">0.0.0.0:25</a>              0.0.0.0:*               LISTEN<br>
>     31008/master<br>
<br>
Okay, so that shows that when postfix is started, you have a process called "master" (which is standard for postfix), with PID 31008 on this occasion, listening on port 25.<br>
<br>
When postfix is not started, you have nothing listening on port 25.<br>
<br>
I realised after sending my last email that a better command to use is:<br>
<br>
# netstat -lptn | grep :25<br>
<br>
The "t" option restricts the output to TCP sockets only, and the colon in the grep makes sure you only match port numbers.<br>
<br>
<br>
But anyway, I think this has shown that postfix is indeed listening on port 25,<br>
and if you stop it, nothing is listening on port 25.<br>
<br>
<br>
Regards,<br>
<br>
<br>
Antony.<br>
<br>
> -----Original Message-----<br>
> From: MailScanner<br>
> [mailto:<a href="mailto:mailscanner-bounces%2Bmarek.gorny">mailscanner-bounces+<wbr>marek.gorny</a>=<a href="mailto:bolix.pl@lists.mailscanner.info">bolix.pl@lists.<wbr>mailscanner.info</a>]<br>
> On Behalf Of Antony Stone Sent: Monday, September 4, 2017 1:05 PM<br>
> To: MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.<wbr>mailscanner.info</a>><br>
> Subject: Re: Mailscanner 5.0.6-4 ant port 25 not listening<br>
><br>
> On Monday 04 September 2017 at 12:57:52, Marek Górny wrote:<br>
> > On my "prod version" OpenSUSE 13.2 with MailScanner 4.85.2<br>
> > postfix.service is disabled:<br>
> ><br>
> > and port 25 is listening:<br>
> ><br>
> > netstat -an |grep 25<br>
> > tcp        0      0 <a href="http://0.0.0.0:25" rel="noreferrer" target="_blank">0.0.0.0:25</a>              0.0.0.0:*<br>
> > LISTEN<br>
><br>
> Please add a "p" option and show us the output (as root):<br>
><br>
> # netstat -lpn | grep 25<br>
><br>
><br>
> Antony.<br>
<br>
--<br>
I thought I had type A blood, but it turned out to be a typo.<br>
<br>
                                                   Please reply to the list;<br>
                                                         please *don't* CC me.<br>
<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
[Bolix]<br>
<br>
Bolix SA<br>
Ul. Stolarska 8<br>
34-300 Żywiec, Poland<br>
Bolix S.A. jest wiodącym polskim producentem chemii budowlanej,<br>
specjalizującym się w produkcji systemów elewacyjnych.<br>
Marka BOLIX istnieje już od 1991 roku i jest synonimem najwyższej jakości rozwiązań budowlanych.<br>
<br>
[Bolix_Teraz_Polska]<<a href="https://bolix.pl/pl/aktualnosci/bolix-laureatem-teraz-polska/75" rel="noreferrer" target="_blank">https://<wbr>bolix.pl/pl/aktualnosci/bolix-<wbr>laureatem-teraz-polska/75</a>><br>
<br>
______________________________<wbr>__<br>
<br>
Nr KRS: 0000230009  - Sąd Rejonowy w Bielsku-Białej,<br>
VIII Wydział Gospodarczy Krajowego Rejestru Sądowego<br>
Kapitał zakładowy: 10 000 000 zł.; REGON: 015433210; NIP: 526-26-85-697<br>
<br>
UWAGA: Niniejsza korespondencja przeznaczona jest wyłącznie dla osoby lub podmiotu, do którego jest zaadresowana i może zawierać treści chronione przepisami prawa. Wgląd w treść wiadomości otrzymanej omyłkowo, dalsze jej przekazywanie, rozpowszechnianie lub innego rodzaju wykorzystanie, bądź podjęcie jakichkolwiek działań w oparciu o zawarte w niej informacje przez osobę lub podmiot nie będący adresatem, jest niedozwolone. Odbiorca korespondencji, który otrzymał ją omyłkowo, proszony jest o zawiadomienie nadawcy i usunięcie tego materiału z komputera.<br>
<br>
ATTENTION:  The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, Or taking of any action in reliance upon, this information by person or entity other than the intended recipient is not permitted. If you received this in error, please contact the sender and delete the material from any computer.<br>
<br>
[Las] Proszę pomyśl o środowisku przed wydrukowaniem tego maila. Please Consider the Environment before printing this Email<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Shawn Iverson, CETL<div>Director of Technology</div><div>Rush County Schools</div><div>765-932-3901 x271</div><div><a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ" width="96" height="96" style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ"><br></div></div></div></div></div></div></div></div></div></div></div>
</div>