<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I accidently didn't reply to the list
before, so here's a little summary:<br>
<br>
In general, my setup is working flawlessly with amavis as frontend
and xmail as backend server. <br>
Since amavis behaves as a kind of proxy, it also sends the error
status codes from the real SMTP server to the client while
connected. <br>
There may be disadvantages exposing amavis but I'm pretty satified
so far. <br>
<br>
My goal would be to use fail2ban to automatically lock out ip
adresses that cause some errors such ass dropping sessions without
quit. <br>
To accomplish this I would need to find the offending IP in the
log. That's all I'm after.<br>
<br>
It seems that there is no option covering this. It seems that I
have to patch the script.<br>
<br>
<br>
<br>
Am 19.01.2017 um 16:23 schrieb Dusan Obradovic:<br>
</div>
<blockquote
cite="mid:67F593EC-F254-4C1D-801F-63094E40D09D@euracks.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jan 19, 2017, at 11:40, Dino Edwards <<a
moz-do-not-send="true"
href="mailto:dino.edwards@mydirectmail.net" class="">dino.edwards@mydirectmail.net</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class=""><span style="font-family: Helvetica; font-size:
12px; font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: auto; word-spacing:
0px; -webkit-text-stroke-width: 0px; float: none; display:
inline !important;" class="">He said that he is not using
postfix or any other SMTP servers as first receiver before
Amavis so that can't be it, please see below. So, the way
he describes it, amavis is listening on port 25 and I'm
not sure how this whole thing works without a SMTP
service. The original problem he describes wouldn't be a
problem if a SMTP server was in front.<span
class="Apple-converted-space"> </span></span></div>
</blockquote>
</div>
<br class="">
<div class="">It would work technically speaking, because amavisd
service speaks ESMTP.</div>
<div class=""><br class="">
</div>
<div class="">$inet_socket_port = 25</div>
<div class="">$forward_method = lmtp_service</div>
</blockquote>
<br>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Martin Schmid
APS systems AG, Neumatt 4, CH-4626 Niederbuchsiten
Tel direkt: +41 62 389 8891, Fax: +41 62 389 8880, Tel: +41 62 389 8888
<a class="moz-txt-link-abbreviated" href="http://www.aps-systems.ch">www.aps-systems.ch</a> </pre>
</body>
</html>