Results 1 to 8 of 8

Thread: Outbound queue problem & fetchmail question

  1. #1
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,473
    Rep Power
    56

    Default Outbound queue problem & fetchmail question

    I've installed the latest M4_62 version of Zimbra this morning on a newly installed CentOS4 server. During the setup of Zimbra & fetchmail I had a slight problem which meant that mail (spam, actually) that should have gone to my local mailbox is being forwarded to another ISP (I think it was bounced). Unfotunately this mail has been in the outbound queue all day and Zimbra keeps trying to deliver it, is there any way in Zimbra to delete this mail from the queue? If it's not possible in Zimbra what else could I do to get rid of this junk? Will there be any feature added to Zimbra that will allow the management of the outbound queue for situations such as this?

    I'm assuming this isn't a Zimbra problem but any help would be appreciated. I use webmin to set-up and manage fetchmail from several ISP accounts, when I had Zimbra installed on my last server I only had to enter the local username in the webmin/fetchmail config to get it delivered locally to the FQDN mailbox. On this new server I've done the same thing but fetchmail tries to deliver the mail to username@localhost rather than the FQDN mailbox name. This has caused the problem of getting mail bounced (which I've mentioned above), can anyone suggest what I may have done wrong? I've been scratching my head about this all day. I can't see anything strange in the logs other than the failed deliver messages.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  2. #2
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default deleting mail from the queue

    su - zimbra
    man postsuper
    for the full answer.

    short answer:
    postqueue -p to get queue ids
    postsuper -d <qid> to delete it

    As for the delivery problems - did you have dns lookups disabled on your old box? Are they enabled on the new box? Can you send mail to these accounts from the local system?

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,473
    Rep Power
    56

    Default

    Quote Originally Posted by marcmac
    su - zimbra
    man postsuper
    for the full answer.

    short answer:
    postqueue -p to get queue ids
    postsuper -d <qid> to delete it
    Thanks for that, I'll check it out.

    Quote Originally Posted by marcmac
    As for the delivery problems - did you have dns lookups disabled on your old box? Are they enabled on the new box? Can you send mail to these accounts from the local system?
    No, the DNS setting was enabled on both systems as I'm running BIND on them. I'm not sure what happened but there was an initial problem with BIND set-up so I removed it and fetchmail and Zimbra (deleted all the zimbra files), I then reinstalled BIND, fetchmail and Zimbra but still no joy delivering to just the localusername from fetchmail. Yes, I can send email locally to the users without problems. Actually this is the same box, a slight cock-up on my part meant a clean install of CentOS and Zimbra.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default fetchmail differences

    So, fetchmail is acting differently.

    Did the hostname (as returned by the hostname command) change?

    Is /etc/hosts different?

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,473
    Rep Power
    56

    Default

    No, there's nothing different - it still returns a FQDN of the hostname & domain. I did keep a copy of the files from the original server and the /etc/hosts file is identical to the original server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default fetchmail

    different CENTOS versions? webmin versions? fetchmail versions? I know little about centos, and nothing about webmin.

    I did find this in the fetchmail man page:

    -D <domain> | --smtpaddress <domain>
    (Keyword: smtpaddress) Specify the domain to be appended to
    addresses in RCPT TO lines shipped to SMTP. The name of the SMTP
    server (as specified by --smtphost, or defaulted to "localhost")
    is used when this is not specified.

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,473
    Rep Power
    56

    Default

    As far as I can see everything is the same (certainly CentOS, BIND & fetchmail are the same) but the results would seem to indicate otherwise. I don't want to waste your time on a trivial problem so I'll dig around some more, I only asked just in case it was a stupid error on my part. Thanks for the info on fetchmail I'll see what i can do with that.

    Thanks also for that info on the mail queue, it's now been removed. Do you plan to have any queue management features for deleting this kind of rubbish in Zimbra in the longer term?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default queue management

    We've talked about it, but it's not a high priority, since the functionality is there in the postfix CLI tools.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mail Queue SSH Public Key problem
    By markymarknz in forum Installation
    Replies: 6
    Last Post: 06-05-2007, 04:43 PM
  2. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  3. queue problem w/ deferred messages
    By alderion in forum Administrators
    Replies: 10
    Last Post: 10-26-2006, 07:51 AM
  4. fetchmail: SMTP< 250 Ok: queued as
    By daly1 in forum Installation
    Replies: 4
    Last Post: 08-04-2006, 04:23 AM
  5. Outbound SMTP Question
    By hikenboots in forum Administrators
    Replies: 3
    Last Post: 12-27-2005, 09:00 AM

Posting Permissions

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