<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/11/2024 09:28, Matus UHLAR -
fantomas wrote:<br>
</div>
<blockquote type="cite" cite="mid:Zys2q6ksK9vwxXhj@fantomas.sk">On
05.11.24 16:14, Nick Howitt wrote:
<br>
<blockquote type="cite">Sorry, but I am trying to get something
going that was based on the ClearOS configs but I've copied over
too much and then mixed it with internet references.
<br>
<br>
127.0.0.1:10026 looks like a ClearOS thing and is not needed.
<br>
<br>
The submission service still exists, so I should:
<br>
1 - get rid of the 127.0.0.1:10026 but from master.cf.
<br>
</blockquote>
<br>
<blockquote type="cite">2 - in master.cf change the submission
line "-o content_filter=smtp-amavis:[127.0.0.1]:10024" to "-o
content_filter=smtp-amavis:[127.0.0.1]:10028" (just to avoid
10026 for now)
<br>
</blockquote>
<br>
<br>
<blockquote type="cite">3 - in amavis 50-user add:
<br>
$inet_socket_port = [10024,10028]; # listen on two ports
<br>
$interface_policy{'10028'} = 'ORIGINATING';
<br>
<br>
And that should do it?
<br>
</blockquote>
<br>
this should do it,
<br>
<br>
I still wonder how do you send mail to amavis?
<br>
<br>
is content_filter defined in main.cf ?
<br>
</blockquote>
Yes<br>
<blockquote type="cite" cite="mid:Zys2q6ksK9vwxXhj@fantomas.sk">
<br>
is content_filter defined in master.cf services submission and
submissions (smtps)?
<br>
</blockquote>
For submission see 2 above. I don't use smtps. I know it is in
common use, but I don't believe it was ever recognised as a
standard.<br>
<blockquote type="cite" cite="mid:Zys2q6ksK9vwxXhj@fantomas.sk">
<br>
I guess you don't need to define it in 127.0.0.1:10025 as this is
where mail returns from content_filter.
<br>
<br>
</blockquote>
That is already defined and receives amavis from port 10024. Now it
also gets amavis from port 10028.<br>
</body>
<lt-container></lt-container>
</html>