Max recipients?

Discussion in 'Installation/Configuration' started by ctroyp, Jan 1, 2006.

  1. ctroyp

    ctroyp New Member HowtoForge Supporter

    Is there some setting within postfix (as configured with Debian 3.1 The perfect Setup) that limits the amount of recipients in an outgoing mail?

    I run a bulletin board and when I send out a mass email (to about 100 users) I get a php error within PHPbb (bulletin board software). I have consulted PHPbb for the answer to the php error and they indicate that it must be a max limit in the mailserver. Sending out mail to smaller groups or individual users works just fine.

    I did some research on postfix.org and found that I could over-ride the default limit of 50 by adding the following line to /etc/postfix/main.cf:
    Code:
    smtp_destination_recipient_limit = i.e. 250
    It did not work after reloading and restarting postfix...

    Does this spark any ideas with anyone?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You could run
    Code:
    postconf -d
    to find out about the default settings.
    Maybe smtp_destination_recipient_limit is the correct switch, but then it should be
    Code:
    smtp_destination_recipient_limit = 250
    in /etc/postfix/main.cf.
     
  3. ctroyp

    ctroyp New Member HowtoForge Supporter

    Thanks! You made that easy for me. I can't believe I didn't find that command through my recent research.

    Here is what it returned:
    Code:
    server1:~# postconf -d | grep limit
    body_checks_size_limit = 51200
    bounce_size_limit = 50000
    command_time_limit = 1000s
    default_destination_concurrency_limit = 20
    [B]default_destination_recipient_limit = 50[/B]
    default_extra_recipient_limit = 1000
    default_process_limit = 100
    default_recipient_limit = 10000
    default_verp_delimiters = +=
    duplicate_filter_limit = 1000
    forward_path = $home/.forward${recipient_delimiter}${extension}, $home/.forward
    header_address_token_limit = 10240
    header_size_limit = 102400
    hopcount_limit = 50
    line_length_limit = 2048
    lmtp_destination_concurrency_limit = $default_destination_concurrency_limit
    lmtp_destination_recipient_limit = $default_destination_recipient_limit
    local_destination_concurrency_limit = 2
    local_destination_recipient_limit = 1
    mailbox_size_limit = 51200000
    message_size_limit = 10240000
    mime_boundary_length_limit = 2048
    mime_nesting_limit = 100
    qmgr_message_active_limit = 20000
    qmgr_message_recipient_limit = 20000
    queue_file_attribute_count_limit = 100
    recipient_delimiter =
    relay_destination_concurrency_limit = $default_destination_concurrency_limit
    relay_destination_recipient_limit = $default_destination_recipient_limit
    smtp_destination_concurrency_limit = $default_destination_concurrency_limit
    smtp_destination_recipient_limit = $default_destination_recipient_limit
    smtp_line_length_limit = 0
    smtp_mx_address_limit = 0
    smtp_mx_session_limit = 2
    smtpd_client_connection_count_limit = 50
    smtpd_client_connection_limit_exceptions = $mynetworks
    smtpd_client_connection_rate_limit = 0
    smtpd_hard_error_limit = 20
    smtpd_junk_command_limit = 100
    smtpd_recipient_limit = 1000
    smtpd_recipient_overshoot_limit = 1000
    smtpd_soft_error_limit = 10
    verp_delimiter_filter = -=+
    virtual_alias_expansion_limit = 1000
    virtual_alias_recursion_limit = 1000
    virtual_destination_concurrency_limit = $default_destination_concurrency_limit
    virtual_destination_recipient_limit = $default_destination_recipient_limit
    virtual_mailbox_limit = 51200000
    
    Question is, how do I find where the setting "default_destination_recipient_limit = 50" is? It is not in either the main.cf or master.cf...
     
  4. ctroyp

    ctroyp New Member HowtoForge Supporter

    Okay, I did add the line
    Code:
    smtp_destination_recipient_limit = 500
    in /etc/postfix/main.cf, but I still get the error.

    This is what the resources say to do from postfix.org. Thanks for the help. I will have to check back with them on the answer to my problem. I was just wondering if there was some other limit that I was overloking.

    Thanks again.
     
  5. falko

    falko Super Moderator ISPConfig Developer

    You can put something like
    Code:
    default_destination_recipient_limit = 500
    in /etc/postfix/main.cf and restart Postfix.
     
  6. ctroyp

    ctroyp New Member HowtoForge Supporter

    Yeah, that's what I did, but it didn't help. I am looking at a mod now for PHPbb that separates the emails into a define number of recipients per block. At least this will confirm where the error originates. The mail.log file gives me an error:
    Code:
    Jan  1 16:28:45 server1 postfix/postdrop[24876]: warning: stdin: illegal length 2470, record type 78
    Jan  1 16:28:45 server1 postfix/postdrop[24876]: fatal: uid=33: malformed input
    Jan  1 16:28:46 server1 postfix/sendmail[24875]: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name
    Jan  1 16:28:46 server1 postfix/sendmail[24875]: fatal: www-data(33): Error writing message file
    I tell you, I have had so many problems with PHPbb. PHPbb is what limits me to using Debian 3.1 which is one of the only "Perfect Setups" that uses PHP4x for the o/s. I don't think I would have near the problems otherwise. Oh well...
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    We switched from phpBB to vbulletin because you got mad when you have to update phpBB every week due to severe security issues...
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Looks like phpBB produces malformed emails...
     
  9. ctroyp

    ctroyp New Member HowtoForge Supporter

    Were you able to successfully import your old data from phpBB to VBulletin?
     
  10. ctroyp

    ctroyp New Member HowtoForge Supporter

    Guess so...:cool:
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    We started a clean forum. But if i remember correctly there is an import tool for phpBB. Maybe you ask the folks at vBulletin.
     
  12. falko

    falko Super Moderator ISPConfig Developer

    Till meant that we used phpBB for another forum, and because of our experiences with phpBB we decided to use vBulletin for HowtoForge.
    But vBulletin has import scripts for a lot of forum software, also for phpBB (but I haven't tried them).
     
  13. ctroyp

    ctroyp New Member HowtoForge Supporter

    Okay, thanks. Maybe I will try it out sometime.
     

Share This Page