Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd May 2012, 20:29
kassyo kassyo is offline
Junior Member
 
Join Date: Oct 2010
Posts: 19
Thanks: 6
Thanked 2 Times in 2 Posts
Default Problem with Mailman in openSuse mail server ISPconfig 3

Greeting, i have the next problem with an openSuse server with Postfix, Dovecot, ISPConfig 3 and Mailman.

After creating a new list (gen. aliases, etc) in a server with a couple of mail list working, suddenly mailman stop working, simply every message to any list return with a "User Unknown".

Postconf -n

PHP Code:
alias_database hash:/etc/aliaseshash:/var/lib/mailman/data/aliases
alias_maps 
$alias_database
biff 
no
body_checks 
regexp:/etc/postfix/body_checks
broken_sasl_auth_clients 
yes
canonical_maps 
hash:/etc/postfix/canonical
command_directory 
= /usr/sbin
config_directory 
= /etc/postfix
content_filter 
=
daemon_directory = /usr/lib/postfix
data_directory 
= /var/lib/postfix
debug_peer_level 
5
debug_peer_list 
127.0.0.1
default_destination_recipient_limit 
15
default_privs 
mailman
defer_transports 
=
delay_warning_time 1h
disable_dns_lookups 
no
disable_mime_output_conversion 
no
header_checks 
regexp:/etc/postfix/header_checks
html_directory 
= /usr/share/doc/packages/postfix-doc/html
inet_interfaces 
all
inet_protocols 
all
local_recipient_maps 
hash:/var/lib/mailman/data/aliases
mail_owner 
postfix
mail_spool_directory 
= /var/mail
mailbox_command 
=
mailbox_size_limit 0
mailbox_transport 
=
mailq_path = /usr/bin/mailq
manpage_directory 
= /usr/share/man
masquerade_classes 
envelope_senderheader_senderheader_recipient
masquerade_domains 
=
masquerade_exceptions root
message_size_limit 
0
message_strip_characters 
0
mime_header_checks 
regexp:/etc/postfix/mime_header_checks
mydestination 
$myhostnamelocalhost.coacan.eslocalhost
myhostname 
correo.coacan.es
mynetworks 
192.168.123.18/32 192.168.123.11/32 192.168.123.12/32
mynetworks_style 
subnet
myorigin 
coacan.es
nested_header_checks 
regexp:/etc/postfix/nested_header_checks
newaliases_path 
= /usr/bin/newaliases
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/packages/postfix-doc/README_FILES
receive_override_options 
no_unknown_recipient_checks
relay_domains 
mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps 
hash:/var/lib/mailman/data/virtual-mailmanmysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
relayhost 
192.168.123.18
relocated_maps 
hash:/etc/postfix/relocated
sample_directory 
= /usr/share/doc/packages/postfix-doc/samples
sender_canonical_maps 
hash:/etc/postfix/sender_canonical
sendmail_path 
= /usr/sbin/sendmail
setgid_group 
maildrop
smtp_enforce_tls 
no
smtp_sasl_auth_enable 
no
smtp_use_tls 
no
smtpd_client_restrictions 
check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_helo_required 
no
smtpd_helo_restrictions 
=
smtpd_recipient_restrictions permit_mynetworkspermit_sasl_authenticatedcheck_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cfreject_unauth_destinationreject
smtpd_sasl_auth_enable 
yes
smtpd_sasl_authenticated_header 
yes
smtpd_sasl_path 
= private/auth
smtpd_sasl_security_options 
noanonymous
smtpd_sasl_type 
dovecot
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
strict_8bitmime 
no
strict_rfc821_envelopes 
no
transport_maps 
proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
unknown_local_recipient_reject_code 
550
virtual_alias_maps 
hash:/var/lib/mailman/data/virtual-mailmanmysql:/etc/postfix/mysql-virtual_forwardings.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 
dovecot
virtual_uid_maps 
= static:5000 
The message its directly delivered to dovecot who returns the error message to the sender. But the other aliases work perfectly, only fail the mailman aliases.

Postmap -q ... against the aliases files => fine output.

Any idea? at least for where we begin to search?

Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 23rd May 2012, 10:57
kassyo kassyo is offline
Junior Member
 
Join Date: Oct 2010
Posts: 19
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Still testing, but no avances.

PHP Code:
virtual_alias_maps hash:/var/lib/mailman/data/virtual-mailmanmysql:/etc/postfix/mysql-virtual_forwardings.cf 
Postfix is translating the ISPConfig forwadings correctly, i can see debugging postfix how it translate my_mailman_list@my_domain to my_mailman_list, but the next step to locate that local user in alias_maps its not working.

My mail server handles virtual domains.

Any idea?
Reply With Quote
  #3  
Old 23rd May 2012, 13:21
kassyo kassyo is offline
Junior Member
 
Join Date: Oct 2010
Posts: 19
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Including my domain in mydestination in main.cf make mailman works, but the other mailboxes stop working because it begins to translate the "email@mydomain" to a local user "email" that dont exist.
Reply With Quote
  #4  
Old 23rd May 2012, 15:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

What's in /etc/aliases?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 23rd May 2012, 16:03
kassyo kassyo is offline
Junior Member
 
Join Date: Oct 2010
Posts: 19
Thanks: 6
Thanked 2 Times in 2 Posts
 
Default

I finally found the solution (and not sure if the problem).

My mail server is based in virtual mailbox accounts, and sharing the domain with the mailman lists its not allowed (at least i cant make it run).

I simply changed the virtual aliases of the mailman lists to another domain and it worked perfectly (even the domain doesnt exist, resolves internally), but creating forwards with ISPConfig from the old mail-list@mydomain to mail-list@new.mydomain.

/etc/aliases its checked and fine, but thank you everyway Falko.
Reply With Quote
The Following User Says Thank You to kassyo For This Useful Post:
falko (24th May 2012)
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
Local mail server - final touch Alexhor Installation/Configuration 4 12th April 2012 23:33
mail recipient linux_red Installation/Configuration 6 9th March 2012 15:24
installing squirrelmail on Debian with ispconfig3 saco721 Installation/Configuration 18 1st April 2011 18:57
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 13:47
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 21:47


All times are GMT +2. The time now is 09:06.


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