Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Thread

How to pass missing Postfix macros

How to pass missing Postfix macros

2016-02-18 by Mauricio Teixeira

Hey guys,

I'm sorry if this has been answered before, but I could not find it.

Every time I get a connection on milter-greylist via Postfix, I see the following messages:
postfix/smtpd[26601]: connect from
milter-greylist: smfi_getsymval failed for {daemon_port}, using default smtp port
(runs mimedefang)
milter-greylist: smfi_getsymval failed for {i}
(delivery)

When I first started testing it was complaining about "{if_addr}", but I fixed that by adding the "localaddr" parameter. The problem is that I can't figure out which parameters to add to fix the errors above.

Any suggestions?

Thank you.

--
Mauricio Teixeira
Sao Paulo/SP/BR
http://mteixeira.wordpress.com
mauricio.teixeira{at}gmail.com
(irc: netmask on freenode)

Re: How to pass missing Postfix macros

2016-05-11 by Mauricio Teixeira

Hey guys, anyone got a hint here?

On Thu, Feb 18, 2016 at 9:19 AM, Mauricio Teixeira <mauricio.teixeira@...> wrote:
Hey guys,

I'm sorry if this has been answered before, but I could not find it.

Every time I get a connection on milter-greylist via Postfix, I see the following messages:
postfix/smtpd[26601]: connect from
milter-greylist: smfi_getsymval failed for {daemon_port}, using default smtp port
(runs mimedefang)
milter-greylist: smfi_getsymval failed for {i}
(delivery)

When I first started testing it was complaining about "{if_addr}", but I fixed that by adding the "localaddr" parameter. The problem is that I can't figure out which parameters to add to fix the errors above.

Any suggestions?

Thank you.

--
Mauricio Teixeira
Sao Paulo/SP/BR
http://mteixeira.wordpress.com
mauricio.teixeira{at}gmail.com
(irc: netmask on freenode)



--
Mauricio Teixeira
Sao Paulo/SP/BR
http://mteixeira.wordpress.com
mauricio.teixeira{at}gmail.com
(irc: netmask on freenode)

Re: [milter-greylist] How to pass missing Postfix macros

2016-05-12 by manu@...

Mauricio Teixeira mauricio.teixeira@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:

> Every time I get a connection on milter-greylist via Postfix, I see the
> following messages:
> postfix/smtpd[26601]: connect from <redacted>
> milter-greylist: smfi_getsymval failed for {daemon_port}, using default
> smtp port
> (runs mimedefang)
> milter-greylist: smfi_getsymval failed for {i}
> (delivery)
> 
> When I first started testing it was complaining about "{if_addr}", but I
> fixed that by adding the "localaddr" parameter. The problem is that I can't
> figure out which parameters to add to fix the errors above.

{daemon_port} is the SMTP port: usually 25, 465 or 787
{i} is the queue id

See sendmail manual about macro definitions (D) for the complete list.
-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] How to pass missing Postfix macros

2016-05-12 by Mauricio Teixeira

> Every time I get a connection on milter-greylist via Postfix, I see the
> following messages:

{daemon_port} is the SMTP port: usually 25, 465 or 787
{i} is the queue id

See sendmail manual about macro definitions (D) for the complete list.


Well, as I said on the beginning, I'm using Postfix.

--
Mauricio Teixeira
Sao Paulo/SP/BR
http://mteixeira.wordpress.com
mauricio.teixeira{at}gmail.com
(irc: netmask on freenode)

Re: [milter-greylist] How to pass missing Postfix macros

2016-05-12 by Bill Levering

Reading: (which explains what the error indicates)
http://www.postfix.org/MILTER_README.html#workarounds

It seems your error isn’t catastrophic, but more a warning.

Also, I see posts about this going back to 2009 in relation to milter-greylist...

Bill

FYI, I don’t use Postfix for incoming email, so I’m not going to be much help in solving this.
Show quoted textHide quoted text
> On May 12, 2016, at 12:02 PM, Mauricio Teixeira mauricio.teixeira@gmail.com [milter-greylist] <milter-greylist@yahoogroups.com> wrote:
> 
> 
> > Every time I get a connection on milter-greylist via Postfix, I see the
> > following messages:
> 
> {daemon_port} is the SMTP port: usually 25, 465 or 787
> {i} is the queue id
> 
> See sendmail manual about macro definitions (D) for the complete list.
> 
> 
> Well, as I said on the beginning, I'm using Postfix.
> 
> -- 
> Mauricio Teixeira
> Sao Paulo/SP/BR
> http://mteixeira.wordpress.com
> mauricio.teixeira{at}gmail.com
> (irc: netmask on freenode)
> 
>

Re: [milter-greylist] How to pass missing Postfix macros

2016-05-12 by manu@...

Mauricio Teixeira mauricio.teixeira@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:

> > See sendmail manual about macro definitions (D) for the complete list.
> Well, as I said on the beginning, I'm using Postfix.

Sure, but Sendmail manual can tell you what {i} is. I understood that
was your problem.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] How to pass missing Postfix macros

2016-05-13 by Christian Pélissier

Le jeudi 12 mai 2016 � 19:24 +0200, manu@... [milter-greylist] a
�crit :
>   

> 
> {daemon_port} is the SMTP port: usually 25, 465 or 787
> {i} is the queue id

Last port is 587 (not 787) for message submission agent (eg to be used
by the user agent) 
> 

-- 
Christian P�lissier / 34419
ONERA DRI/RSC
BP72 92322 Chatillon CEDEX

Re: [milter-greylist] How to pass missing Postfix macros

2016-05-13 by Mauricio Teixeira

It seems your error isn’t catastrophic, but more a warning.


It's not catastrophic, it's actually working pretty well, but I would like to get rid of this message since it not only adds extra lines to the log files, but also can be kind of frightening on a first look if another person needs to take over maintenance. :)

--
Mauricio Teixeira
Sao Paulo/SP/BR
http://mteixeira.wordpress.com
mauricio.teixeira{at}gmail.com
(irc: netmask on freenode)

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.