Autoreply not checking for spam

Autoreplies set up through the interface reply to spam. They shouldn't, since this makes the mail server end up on RBLs.

I've created a possible fix. Check the attached patch. This needs to be applied to:

/usr/libexec/webmin/postfix/autoreply.pl /etc/webmin/virtual-server/autoreply.pl /etc/usermin/forward/autoreply.pl /usr/libexec/webmin/sendmail/autoreply.pl /usr/libexec/webmin/postfix/autoreply.pl /usr/libexec/usermin/forward/autoreply.pl

Status: 
Closed (fixed)

Comments

Thanks for the suggestion, and the patch.

I will update the autoreply.pl script in the next Webmin release to pipe mail through spamassassin, and not reply if spam is detected.

Thanks for the quick response.

On second thought, it should probably go through clamd, too...

I think spam is a bigger risk, as the autoreply won't contain the virus in a usable form ..

Automatically closed -- issue fixed for 2 weeks with no activity.

Dear Developers!

I've just found that with Webmin 1.520 a new feature called "The autoreponder script in the Sendmail, Postfix and Qmail modules now uses SpamAssassin to block replies to spam, if installed." has arrived.

While we installed the new version last night the modify date of the above files - /etc/webmin/virtual-server/autoreply.pl (Mod:2009/06/11) - /etc/usermin/forward/autoreply.pl (Mod:2009/12/06) did not change nor the patch does not seem to be applied.

Our kind question is how (the above or another way) this feature has been implemented?

We use Sendmail however with the same problem being autoreplied the spam also like it was described at https://www.virtualmin.com/node/12330 earlier.

Many thanks and greetings.

Gergo GICZY Hungary/EU

You will need to create or modify an autoresponder alias before the new script gets copied into place.

Or you could just copy /usr/share/webmin/sendmail/autoreply.pl to those locations under /etc

Well, OK, sounds good, thank you at all.

We'll check it out, but before..

Another important question for us on this case if the incoming message will be classified against the user's own Spamassassin settings or the global SpamAssassin settings to decide if spam nand needed to be autoreplied or not? Think it's the global setting.. but please confirm if we're right.

It depends on how the autoreply was setup - if it is by the user, it will use the user's settings.

If it was setup to run from an alias in Virtualmin, it will use global settings.