Results 1 to 5 of 5

Thread: Help! Make it stop! postfix keeps sending mail

  1. #1
    Join Date
    Jan 2009
    Beans
    180

    Help! Make it stop! postfix keeps sending mail

    I had a problem where mail was not being delivered. It was queued instead.

    Now that the problem is resolved it is sending hundreds of old messages and I can't stop them!

    I've tried all of these commands to no avail:
    Code:
    # postfix flush
    # postfix -f (gives an error message)
    # mailq  (queue seems to be empty. Nothing shows up.)
    # postsuper -d ALL
    # postsuper -d ALL deferred
    Yet the mail keeps being sent!

    How do I kill this???

    This is U12.04.

    Thanks

  2. #2
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,792

    Re: Help! Make it stop! postfix keeps sending mail

    Well, you can always stop a process with 'ps -e' and 'kill -9 PID'. Then you can 'cd' to /var/mail/whatever, look for the mail and delete it.

  3. #3
    Join Date
    Jan 2009
    Beans
    180

    Re: Help! Make it stop! postfix keeps sending mail

    Quote Originally Posted by HermanAB View Post
    Well, you can always stop a process with 'ps -e' and 'kill -9 PID'. Then you can 'cd' to /var/mail/whatever, look for the mail and delete it.
    Thanks Herman,

    I should have said this is outbound mail; not to a local user. /var/mail... seems to only have users queues. Nothing for outsiders.

    At least that's what I'm seeing now. It may not always be true.

    AB

  4. #4
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Help! Make it stop! postfix keeps sending mail

    Look in /var/spool/postfix.

  5. #5
    Join Date
    Jan 2009
    Beans
    180

    Re: Help! Make it stop! postfix keeps sending mail

    OK, found the problem.

    We use fetchmail to retrieve messages from a remote system.

    There was an oversize message at the remote server.

    Postfix kept rejecting it and sending out a bounce message.

    But fetchmail never deleted it from the remote server so the cycle repeated every time fetchmail ran.

    Even though I had emptied the queue it didn't have any thing to do with new bounces.

    Thanks both for your suggestions,

    AB

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •