Infinite Postfix Retry

Discussion in 'Server Operation' started by iverson0881, Apr 9, 2007.

  1. iverson0881

    iverson0881 New Member

    I'm not sure where to change this setting, but I have a server that is sending out emails repeatedly even though they fail and will continue to fail because Cox states that we are on their localblacklist, although I checked mxtoolbox and we're not listed on any blacklist so they must have their own private one. But in any case postfix/postgrey just keeps retrying every few hours. Is there any way to kill this process so that emails don't retry forever?

    Thanks.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You can delete emails from the mailqueue with the postqueue and postsuper commands. Take a look at
    Code:
    man postqueue
    and
    Code:
    man postsuper
    Do you see many spam emails in your mailqueue when you run
    Code:
    postqueue -p
    ?

    What's the value of mynetworks in /etc/postfix/main.cf?
     
  3. iverson0881

    iverson0881 New Member

    I believe running
    Code:
    postsuper -d ALL deferred
    worked for me

    My value of mynetworks is:


    Code:
     
    mynetworks = 127.0.0.0/8
    
    Thanks
     
  4. falko

    falko Super Moderator Howtoforge Staff

    That's ok. I was thinking that maybe you had some other hosts/subnets in there because that would allow these hosts/subnets to send mails (and spam!) without authentication.

    If you're using SMTP-AUTH and none of your customers has a weak password, then it's still possible that spam bots abuse web forms (e.g. contact forms, guestbooks, ...) for sending spam.
     

Share This Page