Re: Struggling with DKIM signing
Nick Howitt <[email protected]> Wed, 6 Nov 2024 09:36:47 +0000
| Newsgroups | gmane.mail.virus.amavis.user |
|---|---|
| Message-ID | <[email protected]> |
On 06/11/2024 09:28, Matus UHLAR - fantomas wrote:
> On 05.11.24 16:14, Nick Howitt wrote:
>> 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.
>>
>> 127.0.0.1:10026 looks like a ClearOS thing and is not needed.
>>
>> The submission service still exists, so I should:
>> 1 - get rid of the 127.0.0.1:10026 but from master.cf.
>
>> 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)
>
>
>> 3 - in amavis 50-user add:
>> $inet_socket_port = [10024,10028]; # listen on two ports
>> $interface_policy{'10028'} = 'ORIGINATING';
>>
>> And that should do it?
>
> this should do it,
>
> I still wonder how do you send mail to amavis?
>
> is content_filter defined in main.cf ?
Yes
>
> is content_filter defined in master.cf services submission and
> submissions (smtps)?
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.
>
> I guess you don't need to define it in 127.0.0.1:10025 as this is
> where mail returns from content_filter.
>
That is already defined and receives amavis from port 10024. Now it also
gets amavis from port 10028.