Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th October 2012, 04:01
blinky blinky is offline
Member
 
Join Date: Sep 2012
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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 mail.ctatny.com.

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

<success@lists.ctatny.com>: command line usage error. Command
output: Illegal invocation: '/var/lib/mailman/bin/postfix-to-mailman.py
lists.ctatny.com 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 127.0.0.1:10025 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=127.0.0.1/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'
Did you forget to set mailman_destination_recipient_limit=1 in main.cf?
Reply With Quote
Sponsored Links
  #2  
Old 4th October 2012, 16:22
tecsys tecsys is offline
Junior Member
 
Join Date: Sep 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to tecsys
Default

Did you forget to set mailman_destination_recipient_limit=1 in main.cf
seems to be the error.

http://www.purplehat.org/?page_id=18 shows it needs to be set.
__________________
|| Tecsys Solutions Pvt. Ltd || 24x7TechnicalSupport.net ||
|| Web Design & Development | Software Development & Mobile Apps Creation ||
|| Business Process Outsourcing | SEO Solutions | Technical Support Services
||
|| http://www.tecsys.in | Skype: tecsysindia ||
Reply With Quote
  #3  
Old 4th October 2012, 16:53
blinky blinky is offline
Member
 
Join Date: Sep 2012
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, that was the first thing I checked.

Postfix main.cf 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 sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client dnsbl.njabl.org
# Requirement for the recipient address. Note that the entry for
# "check_policy_service inet:127.0.0.1:10023" enables Postgrey.
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:127.0.0.1:10023, 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 = mail.mynamehere.com
myorigin = /etc/hostname
mydestination = mail.mynamehere.com, 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 = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx 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_virtual_mailbox_maps.cf, mysql:/etc/postfix/mysql_virtual_mailbox_domainaliases_maps.cf
# 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_virtual_alias_maps.cf, mysql:/etc/postfix/mysql_virtual_alias_domainaliases_maps.cf

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

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

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

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

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

# Getting rid of unwanted headers. See: https://posluns.com/guides/header-removal/
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, lists.mynamehere.com
relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1

I can post master.cf from postfix and mm_cfg.py from Mailman if necessary.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
howto Domain module, mail domains limit & mail alias unlimited ? radim_h Tips/Tricks/Mods 1 20th April 2011 11:24
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 8th May 2009 23:00
Domains limit not enforced for resellers? mrvanes General 3 3rd January 2008 11:07
different counting of domains torusturtle Feature Requests 7 9th May 2007 22:18
Is there a Script to add Multiple Domains (websites) to ISPCONFIG??? bpmee Programming/Scripts 2 23rd February 2007 01:33


All times are GMT +2. The time now is 15:14.


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