Hi
Ok this is the output, the mailman is a standard install right out of the box.

# postconf -n
alias_database = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_process_limit = 50
delay_warning_time = 4h
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = /etc/postfix/html
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mailbox_size_limit = 102400000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
maximal_queue_lifetime = 5d
message_size_limit = 20280000
mydestination = $myhostname, localhost.$mydomain, localhost, lists.telemar.se
mydomain = telemar.se
myhostname = apollo.telemar.se
mynetworks = $config_directory/mynetworks
newaliases_path = /usr/bin/newaliases
parent_domain_matches_subdomains =
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, $smtpd_recipient_restrictions
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/readmes
recipient_delimiter = +
relayhost = 172.16.1.10
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_data_restrictions = reject_unauth_pipelining, permit
smtpd_helo_restrictions =
smtpd_recipient_limit = 250
smtpd_recipient_restrictions = check_client_access proxy:mysql:/etc/postfix/mysql-client-access.cf, check_sender_access proxy:mysql:/etc/postfix/mysql-sender-access.cf, check_recipient_access proxy:mysql:/etc/postfix/mysql-recipient-access.cf, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_invalid_helo_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_rbl_client list.dsbl.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client dnsbl.njabl.org, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions =
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /usr/local/ssl/apollo.telemar.se.crt
smtpd_tls_key_file = /usr/local/ssl/apollo.telemar.se.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:/etc/postfix/tls_smtpd_scache
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = proxy:mysql:/etc/postfix/mysql-virtual-alias-domains.cf virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual-alias-maps.cf, proxy:mysql:/etc/postfix/mysql-virtual-mailbox-to-alias-maps.cf hash:/usr/local/mailman/data/aliases
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_limit = 102400000
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = maildrop

/GH

Wietse Venema skrev:
G?ran H?glund:
Hi
As I understod your posting I'd simply make an addenment to mydestination:

mydestination = $myhostname, localhost.$mydomain, localhost, lists.telemar.se

Copying your suggestion and I have my aliases files in my alias_maps:
alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
and
alias_database = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases

I got one step further mailman is found as a local user causing my server to accept the mail but the redirection fails.
I must have mixed up domain or something

Error message in the bounced email corresponds to my maillogs error:

<"|/usr/local/mailman/mail/mailman post mailman"@apollo.telemar.se> (expanded
    from <mail...@lists.telemar.se>): unknown user:
    "|/usr/local/mailman/mail/mailman post mailman"

Im confused here...

You're mixing up virtual aliases with local aliases.

We can clear this up if you can show the "postconf -n" command
output, instead of selectively pasting what you believe is relevant.

        Wietse

Reply via email to