This is an old revision of the document!
Mailman tips & hacks
Massive mailing (spamming)
master.cf
127.0.0.1:10025 inet n - y - - smtpd
-o local_recipient_maps=
-o relay_recipient_maps=
-o content_filter=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
-o local_header_rewrite_clients=
main.cf
# Mailman / Postfix tunnnig qmgr_message_active_limit = 40000 qmgr_message_recipient_limit = 40000 default_destination_concurrency_limit=50 default_destination_recipient_limit=50 default_process_limit=150 smtp_mx_session_limit=100 smtpd_client_connection_count_limit=100 smtp_destination_concurrency_limit=100 maximal_backoff_time = 1000s minimal_backoff_time = 300s
mailman (mm_cfg.py)
MTA = "None" QRUNNER_LOCK_LIFETIME = hours(10) QRUNNER_PROCESS_LIFETIME = minutes(15) QRUNNER_MAX_MESSAGES = 500 SMTP_MAX_RCPTS = 10 SMTP_MAX_SESSIONS_PER_CONNECTION = 0 SMTPHOST = 'localhost' SMTPPORT = 10025
Mailman settings if you're having problems with memory .. turn off bounces / redirect bounce aliase to /dev/null.

