[Mailman-Users] Problems with mail delivery, configure Mailman with Postfix

Mark Sapiro mark at msapiro.net
Tue Aug 23 16:14:53 EDT 2016


On 08/22/2016 05:33 AM, Gines Granados Bayona wrote:
> Hi Mark, thank you very much, I corrected the data you've given me but It
> do not send emails to the list of groups, it remains in pending shipment
> mistake.


What does "it remains in pending shipment mistake?" mean. I understand
you probably have difficulty with English, and I would like to help you,
but I can't help if I can't understand the problem.

So please describe as best you can, exactly what is happening to the
mail. Try to report the exact things that you see including log messages
rather than trying to summarize in your own words.


> [root at lab]# postconf -n
> 
> alias_database = hash:/etc/aliases
> 
> alias_maps = hash:/etc/mailman/aliases
> 
> command_directory = /usr/sbin
> 
> config_directory = /etc/postfix
> 
> daemon_directory = /usr/libexec/postfix
> 
> data_directory = /var/lib/postfix
> 
> debug_peer_level = 2
> 
> html_directory = no
> 
> inet_interfaces = localhost
> 
> inet_protocols = ipv4
> 
> local_recipient_maps = proxy:unix:passwd.byname $alias_maps
> 
> mail_owner = postfix
> 
> mailq_path = /usr/bin/mailq.postfix
> 
> manpage_directory = /usr/share/man
> 
> mydestination = $mydomain, localhost.$mydomain, $myhostname localhost
> 
> mydomain = lab.company.net
> 
> myhostname = lista.$mydomain
> 
> mynetworks = $mydomain 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
> 
> newaliases_path = /usr/bin/newaliases.postfix
> 
> queue_directory = /var/spool/postfix
> 
> readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
> 
> recipient_delimiter = +
> 
> sample_directory = /usr/share/doc/postfix-2.6.6/samples
> 
> sendmail_path = /usr/sbin/sendmail.postfix
> 
> setgid_group = postdrop
> 
> unknown_local_recipient_reject_code = 550
> 
> 
> 
> 
> I do not understand this question "Why this instead of the default '
> localhost'?"
> This parameter is not understand that I must do, according to your comment.


You have

SMTPHOST = 'lab.company.net'

in mm_cfg.py. I am asking why you added that line. It seems from what
you posted that lab.company.net is your local machine. If so, that line
should not be required as the Defaults.py setting

SMTPHOST = 'localhost'

should be OK.


> “ Looks OK. but not referenced in Postfix - see above”.


The above comment referred to your aliases file which seemed fine but it
wasn't referenced in Postfix because you needed to add

hash:/path/to/mailman/aliases

to Postfix's alias_maps where /path/to/mailman/ is the directory
containing your aliases file.


> root at lab]# find / -iname config_list
> /usr/lib/mailman/bin/config_list
> 
> [root at lab]# find / -iname sitelist.cfg
> /var/lib/mailman/data/sitelist.cfg
> /etc/mailman/sitelist.cfg
> 
> I do not understand what settings to perform, excuse me, this is all new to
> me.


The only purpose of sitelist.cfg is to be used to apply various
non-default settings to the 'mailman' site list. To do this, you would do

/usr/lib/mailman/bin/config_list -i /etc/mailman/sitelist.cfg mailman

but before you do that, you need to create the site list by running

/usr/lib/mailman/bin/newlist mailman

and answering the prompts.

Then you can start Mailman by running

/usr/lib/mailman/bin/mailmanctl start

That may solve your other issues.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list