Delay in sending mail postfix queue

Discussion in 'Server Operation' started by nerdhacker, Nov 7, 2011.

  1. nerdhacker

    nerdhacker New Member

    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. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in your mail log (in the /var/log/ directory)?
     
  3. nerdhacker

    nerdhacker New Member

    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.
     
    Last edited: Nov 8, 2011

Share This Page