Potential bug in vdelivermail.c (vpopmail-5.4.33)

Ali Erturk TURKER <[email protected]>
Newsgroups gmane.mail.vpopmail
Message-ID <CAL7bfHhR5Dp+vjUAMA+S2OB+jG=0E7JV_eyNTePDx8j=cda3wg@mail.gmail.com>
I am not an expert C programmer but I think there is a bug in vpopmail-5.4.33:

Check vdelivermail.c line 641:

#ifdef MAILDROP
       vget_limits(TheDomain, &limits);
       if ( vpw==NULL ) {
         parse_email(maildir_to_email(address), TheUser, TheDomain, AUTH_SIZE);
         vpw=vauth_getpw(TheUser, TheDomain);
       }
       if ( vpw!=NULL && (limits.disable_spamassassin==1 ||
           (vpw->pw_gid & NO_MAILDROP)) ) {
#endif

I think "limits.disable_spamassassin" should be changed to
"limits.disable_maildrop". Sorry if I'm mistaken.

Regards,
Ali Erturk TURKER

!DSPAM:4e7c253d32718668456822!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.