log is flotting with messages

Glenn Steen glenn.steen at gmail.com
Tue Nov 21 20:23:40 GMT 2006


On 21/11/06, redhat at techspace.nl <redhat at techspace.nl> wrote:
> Ok now i't getting messy
>
> system feodra core 6 with ldap samba postfix dovecot pureftpd enz.
>
>
> on the command as user postfix MailScanner --debug --debug-sa
> last few lines:
> [3037] dbg: config: using "/etc/mail/spamassassin" for site rules dir
> [3037] dbg: config: read file /etc/mail/spamassassin/local.cf
> [3037] dbg: config: read file /etc/mail/spamassassin/mailscanner.cf
> perl: ldap-nss.c:1312: do_init: Bewering
> `cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' mislukt.
> Geannuleerd
>
> ommand as user postfix
> spamassassin -D -p /etc/MailScanner/spam.assassin.prefs.conf --lint
> last few lines:
> [3037] dbg: config: read file /etc/mail/spamassassin/local.cf
> [3037] dbg: config: read file /etc/mail/spamassassin/mailscanner.cf
> perl: ldap-nss.c:1312: do_init: Bewering
> `cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' mislukt.
> Geannuleerd

Good, then we can be pretty sure this is a problem with SA when run as
user postfix.

> itse the same.
>
> user 89 = postfix
> owner and group of te file
> /var/spool/MailScanner/incoming/SpamAssassin.cache.db
> =postfix
> cache SQLite db file are there more than this one??

As said, that is a "red herring", so ... lets concentrate on SA instead.

> nss_ldap is needed becouse i'm using ldap for user information user
> passw and more
> exept users as postfix clam local deamons.

Ok, so no real possibility of just removing it.

> do i need to configure mailscanner to search in ldap for users??
> the system is already running using ldap what coult mailscanner whant
> look for in ldap?.

I don't think it is anything as obvious as that:-).
Just thinking out loud... Postfix is in the usual jail, right? So in
the jail there is one set of passwd files etc... And perhaps you have
the usual "proxy:..." configuration in main.cf (for postfix to be able
to read /etc/passwd, instead of the jails copy)... and I suppose you
have it set to read recipients from LDAP too... This is all likely
working OK, but...  something seems to go bad for SA.

Could you check that /etc/mail/spamassassin/mailscanner.cf (which is a
symbolic link ("soft") to /etc/MailScanner/spam.assassin.prefs.conf)
is readable to the postfix user (and all directories intervening from
the root (/)) and possibly the file directly following (compare with a
--lint run as root)... Do you have a ~postfix/.spamassassin directory
owned by postfix?

> anyone mayday need to get more coffee!!!!.
> jasper
>
Tomorrow...:-)
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list