AFP548 Changing the world one server at a time.

Mail send to postfix maildrop for sending out but takes forever to enter queue

Home › Forums › OS X Server and Client Discussion › Mail › Mail send to postfix maildrop for sending out but takes forever to enter queue

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #369808
    xsoul
    Participant

    So I just updated from php 4.3.11 to 4.4.7 because of Apple’s security patch to update OS X Server to 10.3.9 and whenever my php script that sends out like to a list of 2-6 emails addresses at a time, the first one will be sent, but the remaining emails will kinda stay stuck in the maildrop. mailq command will show the id, and from, but the time will displayed as ??. Mail log will report the receiving and sending of the first email, and nothing else. Looking in the /var/spool/postfix, I can see all the unsent or unqueue mail in the maildrop folder and it stays there until I send another batch of emails out, in which, all those in the previous batch in the maildrop and the first email of the new batch will be sent, but any ones after the first are stuck again.

    Is this a problem with the postfix settings or the how the php mail function now operates? Something happened after I did the update. I had no problem sending mail through the mail() function in a loop before and none of these loops were very large, almost never more than 10 mails sent. Thanks.

    postconf -n provides:
    always_bcc =
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    enable_server_options = yes
    inet_interfaces = all
    luser_relay =
    mail_owner = postfix
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    maps_rbl_domains =
    maximal_queue_lifetime = 1d
    message_size_limit = 10240000
    mydestination = $myhostname,localhost.$mydomain
    mydomain_fallback = localhost
    myhostname = MY.DOMAIN.COM
    mynetworks = 127.0.0.1/32,xx.xx.xx.xx/32
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpd_client_restrictions =
    smtpd_enforce_tls = no
    smtpd_pw_server_security_options = none
    smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination,permit
    smtpd_sasl_auth_enable = no
    smtpd_tls_loglevel = 0
    smtpd_use_pw_server = no
    smtpd_use_tls = no
    unknown_local_recipient_reject_code = 450

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.