Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Portable - offline not working (tried 6.0.2p1 and 6.0.3p1) #839
I'm not able to make offline functionality work on Slackware Linux w/compiled 6.0.3p1, and have also tried Arch Linux w/ its packaged 6.0.2p1 setup. I also looked at how OpenSMTPD is setup on FreeBSD, with no further insights as to the problem. Online email sending via relay works perfect, on several different servers with different relay hosts. No problems with online at all.
Have been at this for about a week, on and off - any hints super welcome, please save me from Postfix :). Have already looked at the man pages, the handful of articles available online, and all of the relevant github and mailing list issues I could find. Nothing helped so far.
Details below, for the Slackware 6.0.3p1 setup.
spool directory exactly as created by smtpd command:
For comparison I also tried on OpenBSD - offline works fine there.
OpenBSD 6.2 info below, for comparison with Linux above.
mutt (error is not really a problem):
After running smtpd -dv, message is queued as expected, and removed from offline.
I don't know how you ended up with smtpctl not being setgid but this is clearly a user error as the smtpctl install Makefile explicitely sets it:
@ poolpOrg I failed to explain the issue properly. The issue is wrong group on smtpctl.
After configure, make, make install:
Needs to be fixed to be:
(the reason I had to set gid again is that after I myself fix group with chgrp, the set gid flag gets lost and I had to add it back. The Makefile problem is group not being set properly)
Also see this problem in other distro(s) like Arch Linux where
Now I realize
The problem is a Linux distro/packager problem - they don't know that they need to set smtpctl group to
May I suggest a big NOTICE printed at the end of the
@poolpOrg thanks! I'm guessing you plan for Makefile to
This assumes the packager already has an smtpq group present - I think this is a good assumption. If they don't have this group yet, they'll get an error and they'll know they need to create this group.