log is flotting with messages

Glenn Steen glenn.steen at gmail.com
Tue Nov 21 14:40:34 GMT 2006


On 21/11/06, Drew Marshall <drew at technologytiger.net> wrote:
> On Tue, November 21, 2006 09:12, Glenn Steen wrote:
> > (snip)
> >> > Being slightly tipsy (yes, I *know* it's a Sunday, but we had the
> >> > final (well...:-) performance with the choir today... And the usual
> >> > post mortem/beer, snaps and sausages afterwards (Some Mendelssohn,
> >> > Bainton and Vaughn Williams, for those interested in such:-),  can't
> >> > say my precision is the best... Double-check everything with a
> >> > MailScanner --help;-).
> >> > IIRC (which is doubtful, considering my state:) you should run a
> >> > "MailScanner --debug --debug-spamassassin" and send one message
> >> > through. It'll output the debug info to the terminal you run it from,
> >> > and then exit.
> >
> > Less tipsy today (more's the pity:-), and the command would be
> > something like (after stopping MailScanner, of course)
> > MailScanner --debug --debug-sa
> > or look around for the more manual method (editing MailScanner.conf etc).
>
> This I think has to be the next course of action (Debug not tipsy, that
> comes afterwards :-) )

One can wonder if I've been mixing the two...

> >> >> things so far no mail is transfered as long as i set the option
> >> >> Use SpamAssassin = yes if i disable this option mailscanner works.
> >> >> I can start SpamAssassin with /etc/init.d/SpamAssassin start and
> >> there
> >> >> are no problems in the log.
> >> >> My setup mta=postfix on fedora core 6
> >> >
> >> > Hm, Drew should chip in here:-).
>
> Ooops, missed that one :-(
>
> >
> > Or some of you other postfixing freebsders:-).
>
> But the OP is running Fedora Core6 not FBSD? However, never fear I am here
> to try to add my typos and dodgy whit to the game :-)

... since I definitely mixed this up... Probably because of
associating Res with FreeBSD...:-). The wonders of a slightly
dysfunctional memory/mind:-D... Oh well.

> <Snipped> Good grief this thread is hard to follow with posts after sigs
> and all sorts ;-)

And we're helping?:-)

> >> i ran the lint commants
> >> spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf --lint
> >> output no problems
>
> Good, but as which user?
>
> >> MailScanner --lint
> >> output:
> >> Read 747 hostnames from the phishing whitelist
> >> MailScanner setting GID to  (89)
> >> MailScanner setting UID to  (89)
>
> Has it been confirmed that this is the Postfix UID/ GID?
Nope. Ah, now I remember why I thought this to be FreeBSD... Stray
comment by Res, indeed...

> >> Checking for SpamAssassin errors (if you use it)...
> >> Using SpamAssassin results cache
> >> Connected to SpamAssassin cache database
> >> perl: ldap-nss.c:1312: do_init: Bewering
> >> `cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' mislukt.
> >> Geannuleerd
> >>
> >> sorry output is dutch but vales at the last line's
> >
>
> <Snipped>

Thaqnks for removing the only really worthwile advice there (namely
checking the ownership of the actual cache SQLite db file;-).

> >> What does this mean.
> >
> > That that call didn't work:-).
> > Hopefully someone with
> > a) a better knowledge of FreeBSD, and
> > b) more coffee in that persons system (I'm trying to cut back... 7
> > mug-sized esspressos/day isn't good for me:-).
>
> Perhaps a better question is; What is it trying to do? I am a little
> bemused why MS is making this call...
>
> Having read the port description here
> http://www.freebsd.org/cgi/url.cgi?ports/net/nss_ldap/pkg-descr I guess
> this is being for passwd/ group look ups, which fits with the Postfix user
> issue that there seems to be. Not being a RH/ rpm user I don't know where
> to look for this module but is it installed? I don't remember anything
> like this is part of the MailScanner port in FBSD.
>
> Drew
rpm -qil nss_ldap
is very likely it. Unless one needs that module (ie is using ldap for
authentication), I'm pretty certain one can live without it.
It might be a wrong config in /etc/ldap.conf, for all I know:-).

-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list