Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd October 2012, 00:36
RonVachiyer RonVachiyer is offline
Junior Member
 
Join Date: Oct 2012
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default mailman aliases : user unknown

hello,

I am using a ispconfig 3.0.4 server and I installed mailman at the time of install.

I can create and delete mailing lists via the panel, and I can log in to administer them via http://domain.name/cgi-bin/mailman/admin/

the problem is that I can't see how the /etc/mailman/aliases file is linked to postfix. When I send an email to my created lists, I get a "user unknown" email returned.

I am running Centos 6.3. Any tips how I can get postfix to recognize the mailman aliases for each list?
Reply With Quote
Sponsored Links
  #2  
Old 23rd October 2012, 08:13
RonVachiyer RonVachiyer is offline
Junior Member
 
Join Date: Oct 2012
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

there is also /etc/mailman/virtual-mailman

do I have to manually edit postfix main.cf or some other config file to have them included in ISPC3?
Reply With Quote
  #3  
Old 23rd October 2012, 09:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Did you install mailman as described in the installation guide?

http://www.howtoforge.com/perfect-se...ispconfig-3-p5
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 23rd October 2012, 18:14
RonVachiyer RonVachiyer is offline
Junior Member
 
Join Date: Oct 2012
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

yes I installed the mailman package by following the perfect server centos6.3 document.

what is crazy is that ispconfig3 does allow me in the panel to create/delete the mailing lists, I can access the admin pages and configure the lists, add moderators and addresses and whatnot, the broken link is between the mailman alias file and postfix. when an email is sent to the list, it is rejected as user unknown.

here is a postfix -n. is there anything blatantly wrong? I see no mention of the mailman alias files therefore question how this can work.

[root@panel postfix]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = panel.foo.info, localhost, localhost.localdomain
myhostname = panel.foo.info
mynetworks = 127.0.0.0/8 [::1]/128
nested_header_checks = regexp:/etc/postfix/nested_header_checks
newaliases_path = /usr/bin/newaliases.postfix
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
receive_override_options = no_address_mappings
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
relayhost =
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_security_level = may
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = maildrop
virtual_uid_maps = static:5000
Reply With Quote
  #5  
Old 23rd October 2012, 18:20
RonVachiyer RonVachiyer is offline
Junior Member
 
Join Date: Oct 2012
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

so I manually modified main.cf, and made some progress in getting mailman to handle inbound mail to its addresses;

specifically;

alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/etc/mailman/virtual-mailman

will this modification survive upgrades to ispconfig? is there a different way postfix is informed of the list aliases created by mailman?
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
Hacking attack (ubuntu 7.04 server + local root exploit on kernel) smoko General 4 15th September 2013 06:05
Dovecot v2 with ISPConfig 3 CSsab Installation/Configuration 13 13th September 2012 20:01
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 03:59
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 15:22
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18


All times are GMT +2. The time now is 22:29.


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