Revised spamass-milter.cpp to pass "-u" "spamd" arguments to spamc. This appears at least allow the mail to be filtered. However we now get a slightly different flavor in the log:
spamd[1334]: Still running as root: user not specified, not found, or set to root. Fall back to nobody. Milter fixes at line 560 (after previously noted additions at 128) char** argv = (char**) malloc(3*sizeof(char*)); argv[0] = SPAMC; argv[1] = 0; -- revised to be -- char** argv = (char**) malloc(8*sizeof(char*)); argv[0] = SPAMC; argv[1] = "-u"; argv[2] = "spamd"; argv[3] = 0; Any chancee this fallback issue is fixed in SA v2.31? -----Original Message----- From: Robert Strickler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 6:37 PM To: [EMAIL PROTECTED] Subject: RE: [SAtalk] RH 7.3 spamass-milter spamd falls back to nobody spamd deposits the following: spamd[1397]: Still running as root: user not specified, not found, or set to root. Fall back to nobody. and the mail appears to go through unmodified. I tried creating a "spamd" user/group and start it with -u spamd and then I get spamc[1332]: connect() to spamd failed: Connection refused so evidently that is not the fix. Any hints on how to get spamd to process the mail? -----Original Message----- From: Robert Strickler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 5:32 PM To: [EMAIL PROTECTED] Subject: RE: [SAtalk] RH 7.3 spamass-milter hangs Better revision at line 128 add: daemon(0, 1); cout << PACKAGE << " " << VERSION << " demonized." << endl; -----Original Message----- From: Robert Strickler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 5:00 PM To: 'Andre'; [EMAIL PROTECTED] Subject: RE: [SAtalk] RH 7.3 spamass-milter hangs http://i.yak.net/twiki/bin/view/Fnord/SpamAssassinHowtoRedhat72#Get_spamass_ milter notes that "spamass-sock doesn't deamonize itself" Anybody want to team up to fix this? We really want to get this working. I know there is a daemon(3). Although I am totally unfamiliar with c++, the code does not appear to be too complex and it probably needs only a couple of lines to make it behave. -----Original Message----- From: Andre [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 4:19 PM To: [EMAIL PROTECTED] Subject: Re: [SAtalk] RH 7.3 spamass-milter hangs I got the same problem with spamass-milter trying to run on a Redhat7.1/Sendmail 8.12.5/amavisd-snapshot-200203 system. So I'm still using the procmailrc solution. ----- Original Message ----- From: "SpamTalk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 5:57 PM Subject: [SAtalk] RH 7.3 spamass-milter hangs > spamass-milter appears to return from its call to "smfi_register(smfilter)" > but does not seem to exit and hangs the boot sequence. ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk