HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   mailman/postfix/virtual domains (

blinky 4th October 2012 05:01

mailman/postfix/virtual domains
Recently followed a how-to on installing mainman in a postfix/virtual domains setting and when I try to post a message to a list called "success" the following error message gets returned. I've been over things time and time again but am at a loss here:

Error message that's returned follows:
This is the mail system at host

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<>: command line usage error. Command
output: Illegal invocation: '/var/lib/mailman/bin/ success amavis unix - - - - 2 smtp -o
smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o
disable_dns_lookups=yes -o max_use=20 inet n - - - - smtpd
-o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o
smtpd_restriction_classes -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,rej ect -o
smtpd_data_restrictions=reject_unauth_pipelining -o
smtpd_end_of_data_restrictions= -o mynetworks= -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'
Did you forget to set mailman_destination_recipient_limit=1 in

tecsys 4th October 2012 17:22

Did you forget to set mailman_destination_recipient_limit=1 in
seems to be the error. shows it needs to be set.

blinky 4th October 2012 17:53

No, that was the first thing I checked.

Postfix file: (If anyone notices any other errors herein I'm certainly open to suggestions).

# Requirements for the HELO statement
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, permit
# Requirements for the sender details
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_pipelining, permit
# Requirements for the connecting server
smtpd_client_restrictions = reject_rbl_client, reject_rbl_client, reject_rbl_client
# Requirement for the recipient address. Note that the entry for
# "check_policy_service inet:" enables Postgrey.
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:, permit
smtpd_data_restrictions = reject_unauth_pipelining

# require proper helo at connections
smtpd_helo_required = yes
# waste spammers time before rejecting them
smtpd_delay_reject = yes
disable_vrfy_command = yes

# General host and delivery info
# ----------------------------------
myhostname =
myorigin = /etc/hostname
mydestination =, localhost
#relayhost =
# If you have a separate web server that sends outgoing mail through this
# mailserver, you may want to add its IP address to the space-delimited list in
# mynetworks, e.g. as 111.222.333.444/32.
mynetworks = [::ffff:]/104 [::1]/128 ( is my actual IP address)
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
mynetworks_style = host

# This specifies where the virtual mailbox folders will be located.
virtual_mailbox_base = /var/vmail
# This is for the mailbox location for each user. The domainaliases
# map allows us to make use of Postfix Admin's domain alias feature.
virtual_mailbox_maps = mysql:/etc/postfix/, mysql:/etc/postfix/
# and their user id
virtual_uid_maps = static:150
# and group id
virtual_gid_maps = static:8
# This is for aliases. The domainaliases map allows us to make
# use of Postfix Admin's domain alias feature.
virtual_alias_maps = mysql:/etc/postfix/, mysql:/etc/postfix/

#virtual_alias_maps = hash:/etc/postfix/valias.txt
# This is for domain lookups.
virtual_mailbox_domains = mysql:/etc/postfix/

# Integration with other packages
# ---------------------------------------

# Tell postfix to hand off mail to the definition for dovecot in
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

# Use amavis for virus and spam scanning
#content_filter = amavis:[]:10024

# Header manipulation
# --------------------------------------

# Getting rid of unwanted headers. See:
header_checks = regexp:/etc/postfix/header_checks
# getting rid of x-original-to
#enable_original_recipient = no
inet_protocols = ipv4

#Configure Virtual Mail for Mailman
relay_domains = $mydestination,
relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1

I can post from postfix and from Mailman if necessary.

All times are GMT +2. The time now is 01:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.