Bug 511849 - Miltrer-Greylist dies unexpectedly
Summary: Miltrer-Greylist dies unexpectedly
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: milter-greylist
Version: 11
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Enrico Scholz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-15 11:54 UTC by Davide Repetto
Modified: 2017-08-02 06:17 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-28 13:39:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Davide Repetto 2009-07-15 11:54:39 UTC
Description of problem:
=======================
Miltrer-Greylist dies unexpectedly

There's another problem, thoug I don't know if it's a bug; whatever I tried, I couldn't get rid of this warning:

> Jul 15 11:36:02 dns1 milter-greylist: smfi_getsymval failed for {daemon_port}, using default smtp port


Version-Release number of selected component:
============================================
milter-greylist-4.2.2-0.fc11.i586
sendmail-8.14.3-5.fc11.i586


How reproducible:
=================
On this production server (20-30000 e-mails per day), it dies at least a couple of times a week


Additional info:
================

Configuration of the milter in sendmail.mc
==========================================

*** Please note that it is the only milter active

define(`MILTER', 1)
define(`confMILTER_LOG_LEVEL', 1)dnl

INPUT_MAIL_FILTER(`milter-graylist', `S=local:/var/run/milter-greylist/milter-greylist.sock, F=T, T=S:1m;R:2m;E:3m')dnl
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')dnl
define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl
define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl
define(`confMILTER_MACROS_ENVRCPT', `{greylist}')dnl


Story of a death
================
Jul 15 01:45:41 dns1 milter-greylist: greylist: mi_stop=1
Jul 15 01:45:41 dns1 milter-greylist: smfi_main() returned 0
Jul 15 01:45:41 dns1 milter-greylist: Final database dump
[... omissis (irrelevant data) ...]
Jul 15 03:39:40 dns1 sendmail[15876]: n6F1deuw015876: milter_sys_read(milter-graylist): cmd read returned 0, expecting 5
Jul 15 03:39:40 dns1 sendmail[15876]: n6F1deuw015876: Milter (milter-graylist): to error state
Jul 15 03:39:43 dns1 sendmail[15827]: n6F1ckDj015827: Milter (milter-graylist): write(A) returned -1, expected 5: Broken pipe
Jul 15 03:39:43 dns1 sendmail[15827]: n6F1ckDj015827: Milter (milter-graylist): to error state
Jul 15 03:39:44 dns1 sendmail[15862]: n6F1ddp9015862: Milter (milter-graylist): write(D) returned -1, expected 6: Broken pipe
Jul 15 03:39:44 dns1 sendmail[15862]: n6F1ddp9015862: Milter (milter-graylist): to error state
Jul 15 03:39:45 dns1 sendmail[15874]: n6F1desA015874: Milter (milter-graylist): write(D) returned -1, expected 6: Broken pipe
Jul 15 03:39:45 dns1 sendmail[15874]: n6F1desA015874: Milter (milter-graylist): to error state
Jul 15 03:39:46 dns1 sendmail[15881]: n6F1dkGC015881: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:39:46 dns1 sendmail[15881]: n6F1dkGC015881: Milter (milter-graylist): to error state
Jul 15 03:39:46 dns1 sendmail[15882]: n6F1dkkc015882: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:39:46 dns1 sendmail[15882]: n6F1dkkc015882: Milter (milter-graylist): to error state
Jul 15 03:39:47 dns1 sendmail[15873]: n6F1deXa015873: Milter (milter-graylist): write(D) returned -1, expected 6: Broken pipe
Jul 15 03:39:47 dns1 sendmail[15873]: n6F1deXa015873: Milter (milter-graylist): to error state
Jul 15 03:39:50 dns1 sendmail[15884]: n6F1doQL015884: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:39:50 dns1 sendmail[15884]: n6F1doQL015884: Milter (milter-graylist): to error state
Jul 15 03:39:51 dns1 sendmail[15885]: n6F1dpPE015885: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:39:51 dns1 sendmail[15885]: n6F1dpPE015885: Milter (milter-graylist): to error state
Jul 15 03:39:57 dns1 sendmail[15886]: n6F1dvUs015886: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:39:57 dns1 sendmail[15886]: n6F1dvUs015886: Milter (milter-graylist): to error state
Jul 15 03:39:59 dns1 sendmail[15887]: n6F1dxPU015887: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:39:59 dns1 sendmail[15887]: n6F1dxPU015887: Milter (milter-graylist): to error state
Jul 15 03:40:01 dns1 sendmail[15899]: n6F1e1tj015899: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:01 dns1 sendmail[15899]: n6F1e1tj015899: Milter (milter-graylist): to error state
Jul 15 03:40:02 dns1 sendmail[15900]: n6F1e2uM015900: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:02 dns1 sendmail[15900]: n6F1e2uM015900: Milter (milter-graylist): to error state
Jul 15 03:40:07 dns1 sendmail[15908]: n6F1e7OR015908: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:07 dns1 sendmail[15908]: n6F1e7OR015908: Milter (milter-graylist): to error state
Jul 15 03:40:08 dns1 sendmail[15909]: n6F1e8fd015909: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:08 dns1 sendmail[15909]: n6F1e8fd015909: Milter (milter-graylist): to error state
Jul 15 03:40:10 dns1 sendmail[15910]: n6F1eARl015910: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:10 dns1 sendmail[15910]: n6F1eARl015910: Milter (milter-graylist): to error state
Jul 15 03:40:12 dns1 sendmail[15911]: n6F1eCiC015911: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:12 dns1 sendmail[15911]: n6F1eCiC015911: Milter (milter-graylist): to error state
Jul 15 03:40:15 dns1 sendmail[15912]: n6F1eFwW015912: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:15 dns1 sendmail[15912]: n6F1eFwW015912: Milter (milter-graylist): to error state
Jul 15 03:40:16 dns1 sendmail[15913]: n6F1eGv8015913: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:16 dns1 sendmail[15913]: n6F1eGv8015913: Milter (milter-graylist): to error state
Jul 15 03:40:16 dns1 sendmail[15914]: n6F1eGwZ015914: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:16 dns1 sendmail[15914]: n6F1eGwZ015914: Milter (milter-graylist): to error state
Jul 15 03:40:19 dns1 sendmail[15813]: n6F1cgXq015813: Milter (milter-graylist): write(A) returned -1, expected 5: Broken pipe
Jul 15 03:40:19 dns1 sendmail[15813]: n6F1cgXq015813: Milter (milter-graylist): to error state
Jul 15 03:40:20 dns1 sendmail[15813]: n6F1cgXr015813: Please try again later
Jul 15 03:40:21 dns1 sendmail[15917]: n6F1eLot015917: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:21 dns1 sendmail[15917]: n6F1eLot015917: Milter (milter-graylist): to error state
Jul 15 03:40:21 dns1 sendmail[15916]: n6F1eLs3015916: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:21 dns1 sendmail[15916]: n6F1eLs3015916: Milter (milter-graylist): to error state
Jul 15 03:40:21 dns1 sendmail[15915]: n6F1eLGp015915: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:21 dns1 sendmail[15915]: n6F1eLGp015915: Milter (milter-graylist): to error state
Jul 15 03:40:21 dns1 sendmail[15918]: n6F1eLGR015918: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:21 dns1 sendmail[15918]: n6F1eLGR015918: Milter (milter-graylist): to error state
Jul 15 03:40:23 dns1 sendmail[15919]: n6F1eNlu015919: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:23 dns1 sendmail[15919]: n6F1eNlu015919: Milter (milter-graylist): to error state
Jul 15 03:40:28 dns1 sendmail[15920]: n6F1eSP4015920: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:28 dns1 sendmail[15920]: n6F1eSP4015920: Milter (milter-graylist): to error state
Jul 15 03:40:29 dns1 sendmail[15827]: n6F1ckDk015827: Please try again later
Jul 15 03:40:31 dns1 sendmail[15921]: n6F1eVsl015921: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:31 dns1 sendmail[15921]: n6F1eVsl015921: Milter (milter-graylist): to error state
Jul 15 03:40:34 dns1 sendmail[15815]: n6F1cgGs015815: Milter (milter-graylist): write(Q) returned -1, expected 5: Broken pipe
Jul 15 03:40:34 dns1 sendmail[15815]: n6F1cgGs015815: Milter (milter-graylist): to error state
Jul 15 03:40:38 dns1 sendmail[15924]: n6F1ecfN015924: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:38 dns1 sendmail[15924]: n6F1ecfN015924: Milter (milter-graylist): to error state
Jul 15 03:40:43 dns1 sendmail[15927]: n6F1ehmt015927: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:43 dns1 sendmail[15927]: n6F1ehmt015927: Milter (milter-graylist): to error state
Jul 15 03:40:45 dns1 sendmail[15930]: n6F1ejoa015930: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:45 dns1 sendmail[15930]: n6F1ejoa015930: Milter (milter-graylist): to error state
Jul 15 03:40:46 dns1 sendmail[15931]: n6F1ekWp015931: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:46 dns1 sendmail[15931]: n6F1ekWp015931: Milter (milter-graylist): to error state
Jul 15 03:40:48 dns1 sendmail[15934]: n6F1emmh015934: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:48 dns1 sendmail[15934]: n6F1emmh015934: Milter (milter-graylist): to error state
Jul 15 03:40:51 dns1 sendmail[15936]: n6F1epfj015936: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock
Jul 15 03:40:51 dns1 sendmail[15936]: n6F1epfj015936: Milter (milter-graylist): to error state
Jul 15 03:40:56 dns1 sendmail[15938]: n6F1euqJ015938: Milter (milter-graylist): error connecting to filter: Connection refused by /var/run/milter-greylist/milter-greylist.sock


From smolt:
===========
        UUID: c8dbb9d3-a9bd-4ba6-b92e-4a294ba5a95f
        OS: Fedora 11 Leonidas
        Default run level: 3
        Language: en_US.UTF-8
        Platform: i686
        BogoMIPS: 1589.38
        CPU Vendor: GenuineIntel
        CPU Model: Pentium III (Coppermine)
        Number of CPUs: 1
        CPU Speed: 794
        System Memory: 498
        System Swap: 3451
        Vendor: Compaq
        System: ProLiant DL320
        Form factor: unknown
        Kernel: 2.6.29.5-191.fc11.i686.PAE
        SELinux Enabled: False
        SELinux Policy: targeted
        SELinux Enforce: Unknown

Filesystem Information
======================

device mtpt type bsize frsize blocks bfree bavail file ffree favail
===================================================================
/dev/md1 / ext3 4096 4096 18671020 14822802 13874367 9486336 9293024 9293024
/dev/md0 /boot ext3 1024 1024 489958 471471 446175 126480 126443 126443

/dev/md1 is a raid10 with two drives

Comment 1 Enrico Scholz 2009-07-15 13:33:42 UTC
The confMILTER_MACROS do not look sane; can you try

---
define(`confMILTER_MACROS_CONNECT', confMILTER_MACROS_CONNECT`, {daemon_port}')dnl
define(`confMILTER_MACROS_HELO',    confMILTER_MACROS_HELO`, {verify},{client_resolve}')dnl                                  
define(`confMILTER_MACROS_ENVRCPT', confMILTER_MACROS_ENVRCPT`,{client_resolve}')dnl                                                             ---                

Do you see segfault messages in 'dmesg' output?  Can you attach gdb to the running daemon (gdb /usr/sbin/milter-greylist `pidof milter-greylist` -> c) and provide the backtrace when it dies?

Comment 2 Davide Repetto 2009-07-15 18:26:38 UTC
(In reply to comment #1)
> The confMILTER_MACROS do not look sane; can you try

Your configuration works. No more warning in the logs.

Perhaps it is advisable to amend the upstream "README" file, it is what I used for my config (/usr/share/doc/milter-greylist-4.2.2/README) and the upstream site also has wrong examples.

Do you know any alternative documentation source on this matter?


> Do you see segfault messages in 'dmesg' output?

Yep! There you go:
milter-greylist[15878]: segfault at 46 ip 0016fd17 sp b35fc2b0 error 4 in libc-2.10.1.so[110000+16b000]


>  Can you attach gdb to the
> running daemon (gdb /usr/sbin/milter-greylist `pidof milter-greylist` -> c) and
> provide the backtrace when it dies?  

Done! I'll let you know if it dies again.

Comment 3 Enrico Scholz 2009-07-15 20:31:51 UTC
I forgot: it would be nice when you install the milter-greylist-debuginfo and glibc-debuginfo packages.  They would improve backtrace significantly.

Comment 4 Davide Repetto 2009-07-16 00:27:48 UTC
Indeed. :)

Comment 5 Eli Wapniarski 2009-08-06 11:32:01 UTC
This bug report has been useful for me as well. Thanks for the work put into it.

One thing to note.... Before using the package provided by Fedora, I was using the package supplied by the author himself.

I had a very identical problem regarding milter-greylist crashing. The solution was to configure greylist.conf and sendmail to use an inet socket "inet:3333@localhost" (I really don't what that means, but it worked and milter-greylist stopped crashing).

However, in Fedora 11 the particular configuration that I'm mentioning produces an unsafe socket error.

So I've had to revert to the orginal socket in a file

For now its working. If it crashes I will also let you know

Comment 6 Davide Repetto 2009-08-06 18:01:35 UTC
Thanks Enrico!
The milter has been running perfectly with the configuration you posted.
I'll keep GDB attached for one more month, just in case, then I'll consider the case closed.

Comment 7 Tiger!P 2009-12-29 08:26:20 UTC
I also have this problem and will try to generate a backtrace when it crashes.

I also have similar config lines in sendmail.mc but I will not change these until I catched the crash.

Comment 8 Tiger!P 2010-01-01 11:15:36 UTC
(In reply to comment #1)

> Do you see segfault messages in 'dmesg' output?  Can you attach gdb to the
> running daemon (gdb /usr/sbin/milter-greylist `pidof milter-greylist` -> c) and
> provide the backtrace when it dies?  

Which commands should I run in gdb to get the right backtrace?
At the moment I have run the command mentioned above and then `cont` to let the program continue.

Comment 9 Enrico Scholz 2010-01-01 12:49:24 UTC
bt
info locals
info threads

Comment 10 John 'Warthog9' Hawley 2010-01-09 21:43:22 UTC
Just a note we are seeing this on kernel.org as well, needless to say I'm a little annoyed at the problem.  Symptoms seem to be similar to this, we are running Fedora 11.

Speaking to the segfaults: yes we are seeing them:

Jan  9 21:04:00 hera klogd: milter-greylist[19382]: segfault at 0 ip 000000324e465b84 sp 00007fae3a1fafe0 error 4 in libc-2.10.2.so[324e400000+164000]
Jan  9 21:05:54 hera klogd: milter-greylist[19756]: segfault at 0 ip 000000324e465b84 sp 00007f386a2d0fe0 error 4 in libc-2.10.2.so[324e400000+164000]
Jan  9 21:11:57 hera klogd: milter-greylist[30571]: segfault at 0 ip 000000324e465b84 sp 00007fce0abfbfe0 error 4 in libc-2.10.2.so[324e400000+164000]
Jan  9 21:24:25 hera klogd: milter-greylist[12866]: segfault at 0 ip 000000324e465b84 sp 00007f6da17f9fe0 error 4 in libc-2.10.2.so[324e400000+164000]
Jan  9 21:28:53 hera klogd: milter-greylist[18770]: segfault at 0 ip 000000324e465b84 sp 00007f9b8fffdfe0 error 4 in libc-2.10.2.so[324e400000+164000]
Jan  9 21:32:46 hera klogd: milter-greylist[23600]: segfault at 0 ip 000000324e465b84 sp 00007f2654df8fe0 error 4 in libc-2.10.2.so[324e400000+164000]
Jan  9 21:34:00 hera klogd: milter-greylist[24017]: segfault at 0 ip 000000324e465b84 sp 00007ffb93ffdfe0 error 4 in libc-2.10.2.so[324e400000+164000]
Jan  9 21:34:45 hera klogd: milter-greylist[24170]: segfault at 0 ip 000000324e465b84 sp 00007f4b961fafe0 error 4 in libc-2.10.2.so[324e400000+164000]

Not keen to attach gdb if I don't have to, but I would appreciate an escalation on this bug.

Comment 11 Enrico Scholz 2010-01-09 22:40:37 UTC
sorry, I lost overview about update state of my packages and did not noticed that there was sitting an unfiled version of milter-greylist in koji.  Please try

  https://admin.fedoraproject.org/updates/milter-greylist-4.2.3-1.fc11

Comment 12 John 'Warthog9' Hawley 2010-01-11 00:20:23 UTC
Problem is ongoing with the milter-greylist from koji, seeing the failure every few hours right now.  We've added a cron job that checks for the services availability and restarts it should it fail.

Comment 13 Eli Wapniarski 2010-01-11 05:50:42 UTC
Here are steps that you can take to stop the crashing if you have version 4.2.3

------------------------------------------------
Modify your sendmail.mc and rebuild sendmail.cf
------------------------------------------------
So that the line refering to milter-greylist reads something like the following.

INPUT_MAIL_FILTER(`greylist',`S=inet:3333@localhost, F=T, T=S:1m;R:2m;E:3m')


------------------------------------------------
Modify /etc/mail/greylist.conf
------------------------------------------------
so the line that refers to which socket to use reads the following socket "inet:3333@localhost"


Make the above changes should end milter-greylist from crashing. Of course you will need to restart sendmail and milter-greylist. You may need to reboot the system to get things working.

Comment 14 Enrico Scholz 2010-01-11 08:51:55 UTC
J.H, I do not have enough information to track this down.  Crash address in comment #10 might be in _IO_fclose() where the FILE* ptr is dereferenced but I am not sure whether I calculated the offset correctly.  Nevertheless, I require the backtrace to do anything.

Comment 15 Enrico Scholz 2010-01-11 08:59:38 UTC
afais, 'fclose()' will be used only for

  stat ">>..."

statements.  Do you have such a statement in your configuration?  When yes, does the crash still happen when you replace it with

  stat "|cat >>..."

?

Comment 16 Fedora Update System 2010-01-12 23:43:38 UTC
milter-greylist-4.2.3-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update milter-greylist'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0386

Comment 17 Eli Wapniarski 2010-01-13 05:22:27 UTC
I've been using the update for quite sometime. Works great with inet socket

Comment 18 Enrico Scholz 2010-02-04 20:32:16 UTC
ok; I saw two of these segfaults (they happened on CentOS5 in strcmp()) in the last two months on one of my MTAs.  Both have in common, that a host established two connections (both from different senders and to different recipients) at (nearly) the same time.

I call 'milter-greylist' now through 'catchsegv' to detect the caller of the strcmp() but this can take some time...

Comment 19 Enrico Scholz 2010-02-09 12:14:03 UTC
it might be related to GeoIP  code; e.g. I see

| Error Traversing Database for ipnum = 3645194514 - Perhaps database is corrupt?
| *** Segmentation fault
| Register dump:

The 'Error Traversing Database' message is coming from libGeoIP and the strcmp() causing the segfault seems to be in geoip_filter().

The mentioned 'ipnum' is a host which connected twice within a short timeframe.

It might be, that GeoIP calls must be locked...  Will have to investigate this further.

Comment 20 Enrico Scholz 2010-02-21 11:44:33 UTC
please try builds from

http://koji.fedoraproject.org/koji/buildinfo?buildID=157731
http://koji.fedoraproject.org/koji/buildinfo?buildID=157730


They fix reentrancy problems in geoip (causes segfaults), p0f (causes missing results) and dkim code (not active).

Comment 21 Fedora Update System 2010-02-21 13:18:56 UTC
milter-greylist-4.2.3-1100.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/milter-greylist-4.2.3-1100.fc11

Comment 22 Fedora Update System 2010-02-23 05:16:16 UTC
milter-greylist-4.2.3-1100.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update milter-greylist'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-2491

Comment 23 Bug Zapper 2010-04-27 15:42:04 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 24 Bug Zapper 2010-06-28 13:39:01 UTC
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 25 RobbieTheK 2017-08-01 19:45:34 UTC
I know this is so old but is there a reason we are seeing this warning in the logs?
milter-greylist: smfi_getsymval failed for {daemon_port}, using default smtp port

rpm -q spamassassin
spamassassin-3.4.1-9.fc25.x86_64


rpm -q spamass-milter
spamass-milter-0.4.0-7.fc25.x86_64

Comment 26 RobbieTheK 2017-08-01 19:49:22 UTC
I see a suggestion here: http://milter-greylist.yahoogroups.narkive.com/je9bHmdG/p0f-error-smfi-getsymval-failed

"Then make sure the daemon_port macro is exported to milter-greylist. You
must have a line like this in sendmail.cf:
O Milter.macros.connect=H, j, _, {daemon_name}, {daemon_port},
{if_name}, {if_addr}, {client_addr}"

but how do we get this in the sendmail.mc file?

Comment 27 Paul Howarth 2017-08-01 20:13:30 UTC
(In reply to RobbieTheK from comment #26)
> I see a suggestion here:
> http://milter-greylist.yahoogroups.narkive.com/je9bHmdG/p0f-error-smfi-
> getsymval-failed
> 
> "Then make sure the daemon_port macro is exported to milter-greylist. You
> must have a line like this in sendmail.cf:
> O Milter.macros.connect=H, j, _, {daemon_name}, {daemon_port},
> {if_name}, {if_addr}, {client_addr}"
> 
> but how do we get this in the sendmail.mc file?

Something like this:

define(`confMILTER_MACROS_CONNECT',`H, j, _, {daemon_name}, {daemon_port},{if_name}, {if_addr}, {client_addr}')dnl

Comment 28 RobbieTheK 2017-08-01 20:19:22 UTC
Thanks for the quick reply. We currently have these lines. Is it allowed to have this twice? Would I just add the capital H and  {client_addr}?

dnl #define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')dnl
define(`confMILTER_MACROS_CONNECT', confMILTER_MACROS_CONNECT`, {daemon_port}')dnl
define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl

Comment 29 Paul Howarth 2017-08-02 06:17:03 UTC
(In reply to RobbieTheK from comment #28)
> Thanks for the quick reply. We currently have these lines. Is it allowed to
> have this twice? Would I just add the capital H and  {client_addr}?
> 
> define(`confMILTER_MACROS_CONNECT', confMILTER_MACROS_CONNECT`, {daemon_port}')dnl
> define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl

The second definition here has overridden the first one. The first one adds {daemon_port} to the default value (and that's the same line I use on my own mail server). The second one completely replaces the previous value with "t, b, j, _, {daemon_name}, {if_name}, {if_addr}".

I would first try just removing or commenting out (with dnl) the last one and see if the first one works for you. If it doesn't, just add {daemon_port} to the list of macros in the last definition.


Note You need to log in before you can comment on or make changes to this bug.