Random mail delivery delays - stuck in queue for extended periods of time

I'm really hoping someone can help me out here. I'm setting up a new OS X Mail server (upgrading from Tenon Post.Office). I'm using accounts from Active Directory and everything seems to be working great... except (you knew there was an 'except' didn't ya?) that I'm randomly getting long delays in email delivery.
From what troubleshooting I've done so far, basically the emails are coming to our domain, hitting our Symantec anti-virus / anti-spam server and then getting forwarded to my mail server fine. I can look in the SMTP logs and see the emails showing up...
But then, completely randomly, there is sometimes a long 1-6 hour delay before it transfers from the SMTP to actually being able to get the email in our clients. I can see these emails sitting in the queue, but clicking the 'Retry' and entering some of the commands I've seen on this board don't seem able to kick the queue into gear.
We're just in testing right now, so only have about 6 users on this machine, but there is going to be about 1000 when I'm all said and done, so the fact that I'm getting these delays already concerns me. Network and CPU activity are barely even showing (this is a quad Xeon server, so lots of power), so I don't think things are being overloaded, which makes me suspect some kind of configuration error.
Looking at other requests, I'm assuming I'm going to be asked for postconf -n and the output of some of the logs, so let me add that now:
The results of postconf -n
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
messagesizelimit = 41943040
mydestination = $myhostname,localhost.$mydomain,localhost,prn.bc.ca,mail.sd60.prn.bc.ca,mail.pr n.bc.ca
mydomain = prn.bc.ca
mydomain_fallback = localhost
myhostname = mail.prn.bc.ca
mynetworks = 127.0.0.1/32,142.27.0.0/16
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
ownerrequestspecial = no
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdpw_server_securityoptions = plain,login,cram-md5,gssapi
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtlsCAfile =
smtpdtls_certfile = /etc/certificates/mail.prn.bc.ca.crt
smtpdtls_keyfile = /etc/certificates/mail.prn.bc.ca.key
smtpduse_pwserver = yes
smtpdusetls = yes
unknownlocal_recipient_rejectcode = 550
The SMTP Log
(I've bolded an email received at 13:50 as that is currently one of the emails in the queue, and it is addressed to me. It is now 14:36, so it's been in the queue for 45 minutes now).
May 23 13:17:16 mail postfix/smtpd[1153]: disconnect from unknown[142.27.144.50]
May 23 13:20:31 mail postfix/smtpd[1171]: connect from unknown[142.27.144.50]
May 23 13:20:31 mail postfix/smtpd[1171]: E670A5E12E: client=unknown[142.27.144.50]
May 23 13:20:31 mail postfix/cleanup[1172]: E670A5E12E: message-id=<[email protected]>
May 23 13:20:31 mail postfix/qmgr[2532]: E670A5E12E: from=<[email protected]>, size=8890, nrcpt=1 (queue active)
May 23 13:20:31 mail postfix/smtpd[1171]: disconnect from unknown[142.27.144.50]
May 23 13:35:49 mail postfix/smtpd[1240]: connect from unknown[142.27.144.50]
May 23 13:35:49 mail postfix/smtpd[1240]: 69A2D5E12F: client=unknown[142.27.144.50]
May 23 13:35:49 mail postfix/cleanup[1243]: 69A2D5E12F: message-id=<[email protected]>
May 23 13:35:49 mail postfix/qmgr[2532]: 69A2D5E12F: from=<CNETNetworks#[email protected]>, size=18494, nrcpt=1 (queue active)
May 23 13:35:49 mail postfix/smtpd[1240]: disconnect from unknown[142.27.144.50]
May 23 13:48:21 mail postfix/smtpd[1299]: connect from unknown[142.27.144.50]
May 23 13:48:21 mail postfix/smtpd[1299]: 2644A5E130: client=unknown[142.27.144.50]
May 23 13:48:21 mail postfix/cleanup[1302]: 2644A5E130: message-id=<[email protected]>
May 23 13:48:21 mail postfix/qmgr[2532]: 2644A5E130: from=<[email protected]>, size=2438, nrcpt=1 (queue active)
May 23 13:48:21 mail postfix/smtpd[1299]: disconnect from unknown[142.27.144.50]
May 23 13:50:30 mail postfix/smtpd[1315]: connect from unknown[142.27.144.50]
May 23 13:50:30 mail postfix/smtpd[1315]: 91EE25E131: client=unknown[142.27.144.50]
May 23 13:50:30 mail postfix/cleanup[1316]: 91EE25E131: message-id=<[email protected]>
May 23 13:50:30 mail postfix/qmgr[2532]: 91EE25E131: from=<[email protected]>, size=1966, nrcpt=1 (queue active)
May 23 13:50:30 mail postfix/smtpd[1315]: disconnect from unknown[142.27.144.50]
May 23 13:57:09 mail postfix/smtpd[1343]: connect from unknown[142.27.144.50]
May 23 13:57:09 mail postfix/smtpd[1343]: 60FF95E132: client=unknown[142.27.144.50]
May 23 13:57:09 mail postfix/cleanup[1346]: 60FF95E132: message-id=<[email protected]@SMS>
May 23 13:57:09 mail postfix/qmgr[2532]: 60FF95E132: from=<[email protected]>, size=1017, nrcpt=1 (queue active)
May 23 13:57:09 mail postfix/smtpd[1343]: disconnect from unknown[142.27.144.50]
The email access log has already scrolled farther than the emails in my list, so I won't include that unless asked.
Thanks in advance for any help offered.
Jeff
Intel X-Serve, X-Serve RAID, all kinds of other goodies   Mac OS X (10.4.9)   Support about 2000 Macs

A wealth of information on configuring/troubleshooting your email server can be found at:
http://osx.topicdesk.com/
I know your issues isn't particularly with SPAM, however I would try to following this tutorial on "Frontline SPAM Defense":
http://osx.topicdesk.com/content/view/38/62/
This fixed many of my email server issues. I would try this first.

Similar Messages

  • When talking for extended periods of time, will plugging in my phone extend battery life?

    When talking for extended periods of time, will plugging in my phone extend battery life?

    If you mean can you talk longer without running out of battery, yes, it will probably last longer.
    If you mean will it have an effect on the long-term life expectancy of your battery, I don't know.

  • TS3899 How to fix Sent emails getting stuck in Outbox for a period of time before being sent?

    How do you fix Sent emails getting s tuck in Outbox for a period of time before they actually send?
    The error message says that my "sender address is rejected by the server", but it eventually does send.

    Have you tried a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. When the screen goes blank then power ON again in the normal way.] It is 'appsolutely' safe!

  • Issues with Shared Variables in Systems Running for Extended Periods of Time

    I am designing a large SCADA system using LabVIEW DSC and cRIOs. My plan is to use shared variables to communicate the majority of the information across my network (much like "tags" in a normal SCADA system).
    I'm wondering if anyone has experienced issues (connection failures, etc...) with shared variables running on systems for months (both real-time and windows based PCs) without the cRIO or PC being restarted/redeploying the variables. What is the stability of the Shared Variable Engine over extended periods of time?
    Thank you for the input.
    --CLD--
    LV 6.1, 8.6.1, 2011 SP1, 2012 SP1

    I have a system with 2 cRIO's each with Ethercat extension chassis.  Each cRIO hosts ~100 NSV's and is running the scan engine at 40 Hz.
    Each cRIO is coupled to a HMI that has front panel control bindings to NSV's hosted on the cRIO as well as a windows hosted mirror library (used for citadel db logging) that is also bound to the cRIO NSV library.  The cRIO's have monay months of contiguous run time without reboot and I closely monitor cpu and memory usage and also rt performance metrics and will log faults if there are any such events.  I also use NSV's for messaging from the HMI to the cRIO for such things as setting zero offset values and deploying configuration parameters.  My overall findings are that the SV engine and the PSP are stable and efficient (especially NSV<->NSV and NSV<->HMI binding)

  • Can you record someone talking on the ipad2 for extended periods of time

    I am thinking of buying an Ipad2. I need something were I can record my lecture classes in school, about 2 hours. Can someone tell me if you can do this before I spend $600.
    Thanks!

    There are a number of apps in the store for voice recording.  Time is limited by available memory.  Some let you take notes while it records in the background.  One caution, you are limited to the mic in the pad, so the sound from the back of a classroom may be problematic.    Go to an apple store, and get them to demo a recording app so you can hear how well it would work for you.

  • MacBook Pro won't start after being powered off for extended period of time

    Hi all, I have a 2013 MacBook Pro (OS X Mountain Lion) that I've owned for about fourteen months.  I have just been away for several weeks, during which time my computer has been left completely powered down.  However, now it will not start up again.  When it is plugged in, the startup sound will play, but the screen stays black.  The indicator light on the charger switches back and forth from green to orange several times.  The battery indicator lights on the side of the laptop all blink at first and then one lights up a solid green when the button is pressed.  I left it plugged in to charge overnight, but nothing has changed since yesterday.  After reading several other forums, I have tried starting it up using (ctrl+opt+shift+power) as well as (ctrl+opt+P+R+power), but I got the same result both times.  If anybody has any suggestions, I'd be very grateful.  Thanks!

    • Already tried that.
    Yes you did, and you said so in your post. Sorry - my fault I did not read the complete post.
    What model MBP is this? Removable battery?

  • Using MBP in closed mode for extended periods

    I use my MBP mostly in closed lid mode as a desktop computer and only use it as a notebook when I'm on the move. I was wondering, is this a bad setup considering that when the lid is closed it's covering up vents and holding heat in?

    Hi,
    I just installed Leopard on to my Macbook Pro (which is attached to a 19" Samsung monitor) and cannot get Spaces to work.
    I was told it is possible to have Spaces work in closed mode though. I just have some concerns about keeping the MBP closed for extended periods of time, particularly when running programs that place a heavy demand on the processors (i.e. Second Life, Photoshop etc).
    Is it not possible for the computer to overheat or for the screen to somehow get damaged with the top closed ?
    I really want to use Spaces but it does not appear to work with dual screen set ups.
    Hannah

  • Screen freezes randomly for short periods of time [Solved]

    I'm not sure when this started to happen, but my screen will freeze (not refresh) randomly for short periods of time (about 5 seconds). The mouse cursor still active and anything I click on will eventually catch up once the screen refreshes.
    I'm assuming this is an Xorg issue, or perhaps and Nvidia issue, but here are some details:
    KDE 4.4
    Kernel 2.6.32-ARCH 64
    Nvidia 195.36.15
    And here is my Xorg.conf:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder58) Tue Oct 20 21:25:04 PDT 2009
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    InputDevice "SynapticsTouchpad" "SendCoreEvents"
    EndSection
    Section "Files"
    EndSection
    Section "Module"
    Load "glx"
    Load "synaptics"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "SynapticsTouchpad"
    Driver "synaptics"
    Option "AlwaysCore" "true"
    Option "/dev/input/mice"
    Option "/dev/psaux"
    Option "VerticalEdgeScroll" "True"
    Option "HorizontalEdgeScroll" "True"
    Option "CornerCoasting" "true"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "NoLogo" "True"
    Option "RenderAccel" "True"
    Option "TripleBuffer" "True"
    Option "BackingStore" "True"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Needless to say this is very annoying/embarrassing when I try and show people stuff, so any help would be greatly appreciated!
    Last edited by fini_fly (2010-05-21 13:47:20)

    What you can try is to add:
    option "UseEvents" "false"
    (also try "true" and see if it works for you)
    to your xorg.conf under the device section. Play with both false and true settings, UseEvents is somewhat related to the short freezes and the nvidia guys mentioned they disabled this feature a few driver releases ago (as far as i know from researching their forums). Otherwise we probably have to wait for a new driver series.
    Another tweak would be to check if you use MSI for your nvidia card:
    cat /proc/interrupts:
    22: 0 4 1106 297835 IO-APIC-fasteoi ohci_hcd:usb3
    23: 1 17 3275 890447 IO-APIC-fasteoi hda_intel
    27: 2 13 1035 342106 PCI-MSI-edge ahci
    28: 5 337 26356 7568321 PCI-MSI-edge eth0
    29: 6 92 10219 1998835 PCI-MSI-edge nvidia
    NMI: 0 0 0 0 Non-maskable interrupts
    add this to /etc/modprobe.d/options.conf: (does not work with all nvidia cards but i can confirm it works with the 200 series)
    options nvidia NVreg_EnableMSI=1
    While using MSI slightly improves performance some people reported it also shortens the occasional freezes.
    As said in the post above this is only for nvidia and it may or may not help for some gpu's.
    Best regards

  • 4 albums purchased from iTunes yesterday have songs not playing all the way through. They play for a period of time and skip to the next song. Everytime they are played. Can anyone help?

    Some songs I purchased last night are not playing all the way through. Several songs from the 4 albums I purchased play for a period of time then just skip to the next song. The songs that do this, do it everytime they are played at the exact same spot. The songs that are affected skip to the next on iTunes on my PC which is updated to the most current iTunes and my 160gb iPod classic. Everytime they are played at the exact same spot. However on my other device, iPhone 4s all songs play just fine. I have almost 7,000 songs on my iPod and this has never happened before and I have played it awhile since downloading those albums yesterday. This is only happening with the albums purchased yesterday. Can anyone help me figure out what is wrong?

    I'm having the same issue with a few songs I just downloaded. It skips randomly in the middle of the song.

  • Possible loop deadline monitoring for a period of time?

    Hi All,
    Here is our scenario.. We have a task sent to the managers inbox with deadline monitoring on it.  If the manager does not action this task, we set this task to obsolete and then we want to send a reminder email every day until the manager performs the required action.
    So the problem.. originally this email was to be a task but the loop would not work with the task as it's waiting on action from the user.  We changed this task to an email and it looped as expected however the only way I could think to put a wait for a period of time before another email is sent is by actually counting down the time in a method.
    However, the problem with this is that wf-batch is locking the worklfow so it can never complete, even if the event to complete the workflow is triggered.  wf-batch has it locked so the workflow can never complete, so it loops infinitely.
    So my question.. is it possible to repeatedly send notifications to a manager at specifically defined time intervals without locking the workflow?
    Below is how the workflow currently looks:
    Any guidance on this would be most gratefully received!
    Thanks in advance,
    Liz.

    Hi Liz
    in your wait step, do not count down the time.
    Instead keep the method as a dummy method with no code.
    In the wait step, use the deadline monitoring - Requested Start - set it to current date + 1 day
    The step will start 1 day after 'today' , execute nothing in Dummy method and then go on to the mail step
    I am sure that the deadline monitoring job is running because "Latest End" of the first task is executed in your system. So the same job will take care of Requested Start of the wait step.
    regards,
    Modak

  • How to block internet connection for a period of time?

    Hey guys is there a way to block internet connection via a lan connection for a period of time? A program that when my pc is boot up it run secretly and at the time schedule it block the internet connection with no pop up. When i not at home some person
    used my pc to use my internet connection everyday. I can't lock up my pc since my brother or my dad used it.
     

    Hi,
    You could create a schedule task to achieve this.
    The detailed solution please refer to this thread:
    https://social.technet.microsoft.com/Forums/en-US/7544cbed-507d-4eef-907d-bafb99b45411/disable-internet-for-a-set-period-of-time?forum=w7itprogeneral
    Karen Hu
    TechNet Community Support

  • For OS X: Whenever I have internet access my disk is running continuously for a period of time without any activity on my part.  When I close internet access the disk activity stops.  Who is fishing for data?

    For OS X v5 or 6: Whenever I have internet access my disk is running continuously for a period of time without any activity on my part.  When I close internet access the disk activity stops.  Who is fishing for data?

    Thanks for your reply.  I don't use itunes so that couldn't be it.  Reading about Little Snitch and Hands Off, however,  educated me about the data harvesting in many apps and that when buying from the AppStore one will more likely get Apps with benign data harvesting.

  • Im on wifi but sometimes when i try and send imessages it wont let me for a period of time why?

    Im on wifi but sometimes when i try and send imessages it wont let me for a period of time why?

    If not thsi:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    One user reported that placing the iPod in the freezer fixed the problem. A trick that works frequently with iPhones:
    Settings > AirPlane Mode ON, Do Not Disturb ON
    Power down and wait 5-10 minutes
    Power up
    Settings > AirPlane Mode OFF, Do Not Disturb OFF
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar
    Then
    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Ignore user imput for a period of time

    Hi there
    Was wondering whether anybody could answer this question;
    Is there a way to tell Director to ignore all mouse clicks
    for a period of time?
    I am swinging a qtvr sprite with various commands attached to
    the swing action, including a timer.
    In order for this to work out the user should not be able to
    interfer with the swing action once it is in motion. They should
    only regain control once the swing is complete and the commands
    have been carried out.
    Is this possible??
    Thankee kindly...

    I think the simple but dirty trick, placing a transparant on
    top of your
    sprite/stage (rectangle form the tools menu, with no border),
    will work.
    Attach behaviour with empty mouseUp and mouseDown to the
    transparant, so
    mouseactions do not pass, like:
    on mouseUp me
    end
    on mouseDown me
    end
    Move the transparant in/out when needed

  • Having program wait for a period of time

    I have a program that I am creating that will need to paint something to the panel every few seconds. I have some code like so:
    public void paintBar(Graphics g, Graphics2D g2)
              for(int i = 0; i < 325; i++)
                   //draw a rectangle
                   double leftX = 36;
                   double topY = 76;
                   double width = i;
                   double height = 48;
                   double test = 100;
                   Rectangle2D rect = new Rectangle2D.Double(leftX, topY, width, height);
                   g2.setPaint(Color.yellow);
                   g2.fill(rect); //fill rectangle with color
                   g2.setPaint(new Color(204, 204, 153)); //change paint to background color for erase
                   eraseMessage(g);
                   calculatePercentage(i);
                   g2.setPaint(Color.black); //change paint color back to black for message
                   printMessage(g);
    //NEED TO WAIT HERE FOR A PERIOD OF TIME
    //THEN CONTINUE WITH LOOP.
    The problem that I am having is that I tried to use different wait() meathods and it seems to get to the wait meathod and just freeze. The painting is never done until the wait command is complete and then the all of the painting is totally finished. I never see it progressing.
    Any ideas?
    Thanks

    You could use a scheduled event...
    public void run() {
         Timer timer = new Timer(false);          // Create Timer
         class Refresh extends java.util.TimerTask {     
              // Create repaint event
              public void run(){repaint();}
         timer.schedule(new Refresh(),0,10);     // Schedule repaint
    }Call this when you run your program, and place all your paint and update methods into a paint(graphics g) method.
    Then, the timer will continuously run repaint repeatedly.
    You can then insert a single event timer (i don't know how off hand, but they are in the API under Timer events), that kills the origional event timer after X ammount of time.

Maybe you are looking for

  • My media was deleted how do i get it back?

    my media was deleted how do i get it back?

  • Calculate percentage based on checkbox results in Numbers iOS

    Using Numbers iOS, I've created a gradebook to keep track of my students' progress. I have used the Checkbox format for my results, and I would like to create a formula that will calculate a percentage based off of the checked results. What formula c

  • Security issue in Acrobat Pro 7.0

    Hi, I've found this problem in Acrobat v7. I created a document and signed it using my adobe digital signature (my sig displays an image of my hand written sig.) The signature appears on the doc with a green tick next to it to show that the sig is va

  • How do I enter a multiline signature with Netscape Messenger Express?

    When entering a signature using MN express carriage returns are replaced with $. I understand multiline data may be stored that way buth the $'s should be replace with <cr> in the outgoing message.

  • SAP_CCMS_MAPPING_SCHEDULER creator changed

    Hi everybody, I have strange problem with a batchjob called SAP_CCMS_MAPPING_SCHEDULER. I'm not very used to these jobs. The problem is that (I don't know how) the user has changed to SAPSYS. The SAPSYS usre doesn't exist in our system, so the job ca