Find the answer to your Linux question:
Results 1 to 6 of 6
I have a mail server that periodically connects to the Internet via modem dialup and before was able to send emails with attachments of 300kb and 500kb in just only ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    13

    Delay in sending mail postfix queue


    I have a mail server that periodically connects to the Internet via modem dialup and before was able to send emails with attachments of 300kb and 500kb in just only 1 or 2 minutes, I have not made ​​any change in postifx and now I take longer than normal to out postifix queue, sometimes it took more than 10 min to deliver an email of just 300kb, if this is in queue with others mails containing only text accompanying the rest out normally while the of 300kb containing an attachment is delayed more than usual. previously this was not happening and all the emails was sending very quickly.

    any suggestion of what is going on here? this can be caused by a very long postfix maillog file that needs to be rotated, or reconfig the mastercf ? please help

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    Some maillog messages would be a good place to start.
    linux user # 503963

  3. #3
    Just Joined!
    Join Date
    Mar 2011
    Posts
    13
    I think i know the reason why this can be happening, to correct it i need to set more control in the postfix queue, due that i am conecting to the internet via dialup i am thinking that postfix is trying to send too many mails at the same time that have this attachments size, and of course they are gona get stuck trying to be delivered 5 or 10 messages of the same size in a just 56kb internet conection.

    for this is there a way that i can configure postfix to send the messages that have in the queue one by one instead of so many at the same time?

    in the mail log everithing is just normal, in fact it delays some more time than before to notifiying me that a message was sended, and ocasionally it mentions to me a timeout while trying to conect the external smtp.gmail.com,
    this is the reason why i am thinking that if there are many mails of big size being delivered at the same moment the conectivity is not enough to handle so many file uploads and in some request it is giving to me alternates timout waiting in some cases.

  4. #4
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    Postfix Performance Tuning

    there are a number of things you can try, sounds like you'll have tune your queue.
    linux user # 503963

  5. #5
    Just Joined!
    Join Date
    Mar 2011
    Posts
    13
    Yes, but in first point i want to configure the postfix queue to send one by one message not so many at the same time, my server will go online automatically each 2 hours, so in that moment i want to postfix send all the queued messages one per one until it gets empty.
    how can i do this?

  6. #6
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    Postfix FAQ

    See #31. It deals with transport_destination_recipient_limit. So I think you might be able to set smtp_destination_recipient_limit to 1.
    linux user # 503963

Posting Permissions

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