mailman true virtual hosting
can some body help me? i have true domain "true.org" and virtual domain "virtual.org" in DNS configure like this #../named.conf options { directory "/var/named"; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.in-addr.arpa" { type master; file "named.local"; }; zone "irfan.ac.id" { type master; file "irfan.ac.id"; }; zone "true.org" { type master; file "true.org"; }; zone "virtual.org" { type master; file "virtual.org"; }; #../true.org $TTL 1D @ IN SOA true.org. root.true.org. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum
@ IN NS true.org. @ IN MX 10 mail.true.org.
IN A 172.18.3.238
mail IN A 172.18.3.238 lists IN A 172.18.3.214
#.../virtual.org $TTL 1D @ IN SOA virtual.org. root.virtual.org. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum
@ IN NS true. @ IN MX 10 mail.true.
IN A 172.18.3.214
#.../mm_cfg.py DEFAULT_URL_HOST = 'lists.true.org' DEFAULT_EMAIL_HOST = 'lists.true.org' MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virtual.org']
#postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain mynetworks = 172.18.3.0/24, 127.0.0.0/8 newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES recipient_delimiter = + sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 virtual_alias_domains = virtual.org virtual_alias_maps = hash:/etc/mailman/virtual-mailman, hash:/etc/postfix/virtual
#.../etc/postfix/virtual @virtual.org @lists.true.org
with configuration above, i succes create new list abc@virtual.org, and i have subscribe member "member@true.org" in list abc@virtual.org, but if i send mail to list abc@virtual.org, i have got messege
The mail system <abc@virtual.org>: mail for virtual.org loops back to myself Reporting-MTA: dns; mail.true.org X-Postfix-Queue-ID: 6F2662840C X-Postfix-Sender: rfc822; member@true.org Arrival-Date: Mon, 30 Jun 2008 22:38:21 +0700 (WIT) Final-Recipient: rfc822; abc@virtual.org Original-Recipient: rfc822;abc@virtual.org Action: failed Status: 5.4.6 Diagnostic-Code: X-Postfix; mail for virtual.org loops back to myself
___________________________________________________________________________
Dapatkan alamat Email baru Anda! Dapatkan nama yang selalu Anda inginkan sebelum diambil orang lain! http://mail.promotions.yahoo.com/newdomains/id/
Dony Tata wrote:
can some body help me? i have true domain "true.org" and virtual domain "virtual.org" in DNS configure like this [...]
#.../mm_cfg.py DEFAULT_URL_HOST = 'lists.true.org' DEFAULT_EMAIL_HOST = 'lists.true.org'
I think you probably want to add
VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) add_virtualhost('www.virtual.org', 'virtual.org')
MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virtual.org']
#postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain mynetworks = 172.18.3.0/24, 127.0.0.0/8 newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES recipient_delimiter = + sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 virtual_alias_domains = virtual.org virtual_alias_maps = hash:/etc/mailman/virtual-mailman, hash:/etc/postfix/virtual
#.../etc/postfix/virtual @virtual.org @lists.true.org
You probably don't want this.
with configuration above, i succes create new list abc@virtual.org, and i have subscribe member "member@true.org" in list abc@virtual.org, but if i send mail to list abc@virtual.org, i have got messege
The mail system <abc@virtual.org>: mail for virtual.org loops back to myself Reporting-MTA: dns; mail.true.org X-Postfix-Queue-ID: 6F2662840C X-Postfix-Sender: rfc822; member@true.org Arrival-Date: Mon, 30 Jun 2008 22:38:21 +0700 (WIT) Final-Recipient: rfc822; abc@virtual.org Original-Recipient: rfc822;abc@virtual.org Action: failed Status: 5.4.6 Diagnostic-Code: X-Postfix; mail for virtual.org loops back to myself
Did Mailman create a set of entries
abc@virtual.org abc abc-admin@virtual.org abc-admin ...
in data/virtual-mailman and aliases
abc: "|/path/to/mail/mailman post abc" abc-admin: "|/path/to/mail/mailman admin abc" ...
in data/aliases
If those virtual map and alias entries are there, it should work.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Dony Tata -
Mark Sapiro