spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Niklas <do...@mail.com>
Subject spamd will not bind to ipv4 localhost when network is unconfigured
Date Fri, 28 Oct 2016 16:52:57 GMT
Hello,
Sometimes I start my computer when the internet is not available and I've
found that smapd will not bind to 127.0.0.1.
I'm having it bind to localhost only.
It instead binds to localhost's ipv6 address.
I don't know why it *must* connect to router to acquire an ipv4
connection to localhost.
I suspect this is a bug.
Thanks, in advance.
Here's the unwrapped syslog output.

Connect to router
Oct 24 03:48:45 [dhcpcd] eth0: carrier acquired
Oct 24 03:48:45 [dhcpcd] eth0: adding address fe80::63df:f737:a375:9206
Oct 24 03:48:45 [dhcpcd] eth0: IAID 06:0f:ee:cd
Oct 24 03:48:45 [dhcpcd] eth0: soliciting an IPv6 router
Oct 24 03:48:45 [dhcpcd] eth0: rebinding lease of 192.168.1.104
Oct 24 03:48:45 [dhcpcd] eth0: probing address 192.168.1.104/24
Oct 24 03:48:50 [dhcpcd] eth0: leased 192.168.1.104 for 86400 seconds
Oct 24 03:48:50 [dhcpcd] eth0: adding route to 192.168.1.0/24
Oct 24 03:48:50 [dhcpcd] eth0: adding default route via 192.168.1.1
Start spamd
Oct 24 03:48:53 [spamd] logger: removing stderr method_
Oct 24 03:48:58 [dhcpcd] eth0: no IPv6 Routers available
Oct 24 03:49:25 [spamd] spamd: server started on IO::Socket::IP [127.0.0.1]:783 (running version
3.4.1)_
Oct 24 03:49:25 [spamd] spamd: server pid: 5527_
Oct 24 03:49:25 [spamd] spamd: server successfully spawned child process, pid 5838_
Oct 24 03:49:25 [spamd] spamd: server successfully spawned child process, pid 5840_
Oct 24 03:49:25 [spamd] prefork: child states: IS_
Oct 24 03:49:25 [spamd] prefork: child states: II_
Oct 24 03:49:34 [spamd] spamd: connection from ulgy_thing [127.0.0.1]:38620 to port 783, fd
5_
Oct 24 03:49:34 [spamd] spamd: bad protocol: header error: QUIT_
Oct 24 03:49:34 [spamd] prefork: child states: II_
Disconnect from router
Oct 24 03:49:47 [dhcpcd] eth0: carrier lost
Oct 24 03:49:47 [kernel] [574755.617244] tg3 0000:02:00.0 eth0: Link is down
Oct 24 03:49:47 [dhcpcd] eth0: deleting address fe80::63df:f737:a375:9206
Oct 24 03:49:47 [dhcpcd] eth0: deleting route to 192.168.1.0/24
Oct 24 03:49:47 [dhcpcd] eth0: deleting default route via 192.168.1.1
Oct 24 03:49:54 [dhcpcd] wlan0: carrier lost
Oct 24 03:49:54 [kernel] [574762.258812] cfg80211: Calling CRDA to update world regulatory
domain
Oct 24 03:49:54 [dhcpcd] wlan0: deleting route to 192.168.1.0/24
Oct 24 03:49:54 [dhcpcd] wlan0: deleting default route via 192.168.1.1
Oct 24 03:49:54 [kernel] [574762.518943] cfg80211: World regulatory domain updated:
Oct 24 03:49:54 [kernel] [574762.518949] cfg80211:  DFS Master region: unset
Oct 24 03:49:54 [kernel] [574762.518950] cfg80211:   (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
Oct 24 03:49:54 [kernel] [574762.518953] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz),
(N/A, 2000 mBm), (N/A)
Oct 24 03:49:54 [kernel] [574762.518956] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz,
92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Oct 24 03:49:54 [kernel] [574762.518958] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz),
(N/A, 2000 mBm), (N/A)
Oct 24 03:49:54 [kernel] [574762.518960] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz,
160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Oct 24 03:49:54 [kernel] [574762.518963] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz,
160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Oct 24 03:49:54 [kernel] [574762.518965] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz),
(N/A, 2000 mBm), (0 s)
Oct 24 03:49:54 [kernel] [574762.518966] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz),
(N/A, 2000 mBm), (N/A)
Oct 24 03:49:54 [kernel] [574762.518968] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000
KHz), (N/A, 0 mBm), (N/A)
Stop spamd
Oct 24 03:51:19 [spamd] spamd: server killed by SIGTERM, shutting down_
Start spamd
Oct 24 03:51:29 [spamd] logger: removing stderr method_
Oct 24 03:51:30 [spamd] error creating a DNS resolver socket: Address family for hostname
not supported at /usr/lib64/perl5/vendor_perl/5.22.2/Mail/SpamAssassin/DnsResolver.pm line
434._
Oct 24 03:51:30 [spamd] dns: unable to connect to [192.168.1.100]:53, no more alternatives_
Oct 24 03:51:30 [spamd] error creating a DNS resolver socket: Address family for hostname
not supported at /usr/lib64/perl5/vendor_perl/5.22.2/Mail/SpamAssassin/DnsResolver.pm line
434._
Oct 24 03:51:30 [spamd] dns: unable to connect to [192.168.1.100]:53, no more alternatives_
Oct 24 03:51:30 [spamd] error creating a DNS resolver socket: Address family for hostname
not supported at /usr/lib64/perl5/vendor_perl/5.22.2/Mail/SpamAssassin/DnsResolver.pm line
434._
Oct 24 03:51:30 [spamd] dns: unable to connect to [192.168.1.100]:53, no more alternatives_
Oct 24 03:51:31 [spamd] razor2: razor2 check failed: Invalid argument razor2: razor2 had unknown
error during get_server_info at /usr/lib64/perl5/vendor_perl/5.22.2/Mail/SpamAssassin/Plugin/Razor2.pm
line 187. at /usr/lib64/perl5/vendor_perl/5.22.2/Mail/SpamAssassin/Plugin/Razor2.pm line 330._
Oct 24 03:51:31 [spamd] spamd: server started on IO::Socket::IP [::1]:783 (running version
3.4.1)_
Oct 24 03:51:31 [spamd] spamd: server pid: 8336_
Oct 24 03:51:31 [spamd] spamd: server successfully spawned child process, pid 8346_
Oct 24 03:51:31 [spamd] spamd: server successfully spawned child process, pid 8348_
Oct 24 03:51:31 [spamd] prefork: child states: II_



Mime
View raw message