[2024-10-02 15:32] OlivaFN88 <felipe.n...@gmail.com>
> > On 2 Oct 2024, at 15:26, Tassilo Philipp <tphil...@potion-studios.com> 
> > wrote:
> > 
> > just guessing... "virtuals[60710]: warn: result too large" might not be an 
> > error from opensmtpd? Is "virtuals" the process name?

The "virtuals" is the name of the table. This name is also used as
argv[0] for proc tables.

This warning is because the table_api.c in opensmtpd-extras has a fixed
size result buffer. Your result exceed this limit.

> > On Wed, Oct 02, 2024 at 02:01:35PM -0300, OlivaFN88 wrote:
> >> Hello guys!
> >> 
> >> I have create an valias in mysql with 300 members and when I send an mail 
> >> to this alias I can see this:
> >> virtuals[60710]: warn: result too large
> >> d743df75a217ad6c smtp failed-command command="RCPT TO:<alias@xyz>" 
> >> result="424 4.2.4 Mailing list expansion problem: <alias@xyz>ā€
> >> 
> >> I tried change limits with smtp limit max-rcpt 1000 and smtp limit 
> >> max-mails 1000, but with no success.
> >> 
> >> Iā€™m running opensmtpd-7.3.0_3,1 on FreeBSD 14.1
> >> 
> >> Somebody have idea of how to solve this without mail lists?

As a workaround you could have indirect aliases something like:

alias@xyz -> alias-1@xyz, alias-2@xyz, alias-3@xyz, ...
alias-1@xyz -> rcpt-1@domain, rcpt-2@domain, ...
alias-2@xyz -> rcpt-10@domain, rcpt-11@domain, ...

But this is only an ugly workaround.

> >> 
> >> Thank you.
> >> 
> >> ā€”
> >> Felipe Oliva
>
> I found the message here: https://github.com/OpenSMTPD/table-mysql
>
> I will to try change the limits in the source.

Because you use version 7.3 you need to check the code in the extras
repo: https://github.com/OpenSMTPD/OpenSMTPD-extras

Look at api/table_api.c:138 there is the size hardcoded. But increasing
this limit is also only a workaround.

Philipp

Reply via email to