Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] smfi_getsymval failed for {i} in milter-greylist 4.2.6

2011-03-09 by Anatoly Oreshkin

Hi,

Before I have received this mail I tried to downgrade from drweb 6 to drweb version 5.
And it turned out that greylist 4.2.6 with drweb 5 worked excellent, without
producing error message:

milter-greylist: smfi_getsymval failed for {i}

Having got your mail I've corrected sendmail,cf according your advice
and upgraded to drweb 6

/usr/lib/sendmail -bt -d64.100
gives

milter_set_option(LogLevel = 6)
milter_set_option(macros.connect = _, j, {if_addr}, {daemon_name}, {if_name})
milter_set_option(macros.helo = i, {verify}, {cert_subject}, {cert_issuer},
{tls_version}, {cipher}, {cipher_bits})
milter_set_option(macros.envfrom = i, {auth_authen}, {auth_type}, {auth_ssf},
{auth_author}, {mail_mailer}, {mail_host}, {mail_addr})
milter_set_option(macros.envrcpt = {rcpt_mailer}, {rcpt_host}, {rcpt_addr},
{greylist}, {client_resolve})
milter_set_option(macros.eom = {msg_id})
Xdrweb-milter: C=60
Xdrweb-milter: S=300
Xdrweb-milter: R=300
Xdrweb-milter: E=3600
Xsp-milter: C=900
Xsp-milter: S=480
Xsp-milter: R=480
Xsp-milter: E=600
Xgreylist: S=60
Xgreylist: R=60
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)

This correction helped !
The error message disappeared. Now I see in /var/log/maillog

milter-greylist: p297EIdB026914: skipping greylist because address 195.19.214.218 is
whitelisted, (from=<Anatoly.Oreshkin@...>,
rcpt=<anatoly.oreshkin@...>, addr=mail.pnpi.spb.ru[195.19.214.218]) ACL 154

Though I don't understand why this helped. Milter-greylist does not require
{i} in Milter.macros.helo

Many thanks.

> Hey Anatoly,
>
> On 02. 03. 11 18:06, Anatoly Oreshkin wrote:
>> milter-greylist: smfi_getsymval failed for {i}
>> milter-greylist: (unknown id): Sender IP 127.0.0.1 and address<root@my_domain.ru>
>> are SPF-compliant, bypassing greylist
>
>> Besides milter-greylist I use another milter, one for antivirus program
>> 'drweb-milter'
>> Sendmail config sendmail.cf have such lines:
>
>> O InputMailFilters=greylist, drweb-milter
>> O Milter.LogLevel=6
>> O Milter.macros.connect=_, j, {if_addr}
>> O Milter.macros.helo={verify}, {cert_subject}
>> O Milter.macros.envfrom=i, {auth_authen}
>> O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr}
>> O Milter.macros.eom={msg_id}
>
> To solve the problem, add the i variable to macro to Milter.macros.helo
>
> in mc:
> define(`confMILTER_MACROS_HELO', `i, {verify}, {cert_subject}')
>
> or in cf:
> O Milter.macros.helo=i, {verify}, {cert_subject}
>
> --
> Rene Luria
>
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.