1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Badmailfrom not Blocking Internal Spammers

Discussion in 'Plesk for Linux - 8.x and Older' started by agubaira, Feb 24, 2008.

  1. agubaira

    agubaira Guest


    I currently have problems with some hosted users that are sending spam from my server. The associated domains and email addresses are identified and added automatically by an antispam software called Spamguard, I have installed. However it seems like Qmail is ignoring the badmailfrom list when the emails are sent by local domains. I did several tests on my own and badmailfrom only works when my box receives emails from external mailservers.

    Is there a way to blacklist domains or email addresses hosted on my server, so the offending users cannot send spam through webmail or php scripts ?

    Thank you
  2. faris

    faris Guest

    Wouldn't the simplest solution be to shut off the spammer's websites or even just their email facility? Our terms and conditions state categorically that sending spam is not allowed - I'm sure yours are too? Kill them off.

  3. agubaira

    agubaira Guest

    Thanks for your reply faris, I agree with you. However it may take some time from the beginning of the spamming action and the moment I realize who is spamming. Therefore I would like to block the emails when the count is beyond a limit. That gives me time to apply domain restrictions while shutting down spam from the start. Do I explain myself ?
  4. atomicturtle

    atomicturtle Golden Pleskian

    Nov 20, 2002
    Likes Received:
    Washington, DC
    You have to restart qmail for that to go into effect, however I'm not sure if that file is parsed for local processing or not. It might only apply to messages being passed inbound. If it doesnt, check out qmail-scanner. This implements outbound anti-spam filtering.