Dear @misc readers, This is my first message in this list. OpenSMTPD is great :-)
I want to use the table_passwd(5) backend of OpenSMTPD in such a way that Dovecot and OpenSMTPD can talk together. This topic has been discussed earlier on this list, and I personally find messages on it interesting. The opensmtpd release package of the distribution I am using, ArchLinux, is not yet updated from 5.4.2p1 to 5.4.4p1 from Christmas. Thus I have tried myself building 5.4.4p1 using the existing source material from the Arch Build System (a ports-like system for building and packaging software from source code[1]), only updating the version number to 5.4.4p1. It seems the table_passwd library is not being built in the new version though. To see the differences, here is a part of the file listing of the 5.4.2p1 package: > /usr/lib/smtpd/opensmtpd/encrypt > /usr/lib/smtpd/opensmtpd/filter-dnsbl > /usr/lib/smtpd/opensmtpd/filter-monkey > /usr/lib/smtpd/opensmtpd/filter-stub > /usr/lib/smtpd/opensmtpd/filter-trace > /usr/lib/smtpd/opensmtpd/mail.local > /usr/lib/smtpd/opensmtpd/queue-null > /usr/lib/smtpd/opensmtpd/queue-ram > /usr/lib/smtpd/opensmtpd/queue-stub > /usr/lib/smtpd/opensmtpd/scheduler-ram > /usr/lib/smtpd/opensmtpd/scheduler-stub > /usr/lib/smtpd/opensmtpd/table-passwd > /usr/lib/smtpd/opensmtpd/table-stub > /usr/lib/systemd/ > /usr/lib/systemd/system/ > /usr/lib/systemd/system/smtpd.service Here is same part in the file listing of the 5.4.4p1 package. It seems a lot of the previous libraries are left out. > /usr/lib/smtpd/opensmtpd/encrypt > /usr/lib/smtpd/opensmtpd/mail.local > /usr/lib/systemd/ > /usr/lib/systemd/system/ > /usr/lib/systemd/system/smtpd.service We can see that some files is not there despite preserved build flags. I tried searching both directories for passwd: > rasmus@angrist ~/aur/opensmtpd/src % find . -name '*passwd*' > ./opensmtpd-5.4.2p1/smtpd/table_passwd.5 > ./opensmtpd-5.4.2p1/smtpd/table_passwd.c > ./opensmtpd-5.4.2p1/mk/backends/table-passwd > ./opensmtpd-5.4.2p1/mk/backends/table-passwd/.deps/table_passwd.Po > ./opensmtpd-5.4.2p1/mk/backends/table-passwd/table-passwd > ./opensmtpd-5.4.2p1/mk/backends/table-passwd/table_passwd.o > ./opensmtpd-5.4.4p1/smtpd/table_passwd.5 > ./opensmtpd-5.4.4p1/smtpd/table-passwd > ./opensmtpd-5.4.4p1/smtpd/table_passwd.c > ./opensmtpd-5.4.4p1/mk/backends/table-passwd So it seems table_passwd related source files are present in both, but there are more of them in 5.2.2p1 ... Honestly, I don't know much about C programming, so I don't know where to look for causes. -- https://wiki.archlinux.org/index.php/Arch_Build_System -- Rasmus Liland, jrl at jrl.dyndns.dk, jens.rasmus.liland at nmbu.no -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
