[Mailman-Users] Postfix and virtual user ( relay dovecot -> user unknown )

Thufir hawat.thufir at gmail.com
Tue Aug 28 10:40:48 CEST 2012


On 08/28/2012 12:56 AM, Andreatta Sébastien wrote:
[...]
>> Try adding:
>> lists.mydomain.be local:
>> in transport_maps (just to make absolutely sure nothing else gets hold
>> of that domain)

I seem to still have problems with postfix:

root at dur:~#
root at dur:~# cat /etc/postfix/transport
root at dur:~#
root at dur:~# nano /etc/postfix/transport
root at dur:~#
root at dur:~# cat /etc/postfix/transport
lists.dur.bounceme.net      mailman:
root at dur:~#
root at dur:~# postfix stop
postfix/postfix-script: stopping the Postfix mail system
root at dur:~# postfix start
postfix/postfix-script: starting the Postfix mail system
root at dur:~#
root at dur:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 dur.bounceme.net ESMTP Postfix (Ubuntu)
ehlo foo
250-dur.bounceme.net
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:transport_file_test at dur.bounceme.net
250 2.1.0 Ok
rcpt to:thufir at localhost
451 4.3.0 <thufir at localhost>: Temporary lookup failure
rcpt to:thufir at dur.bounceme.net
451 4.3.0 <thufir at dur.bounceme.net>: Temporary lookup failure
quit
221 2.0.0 Bye
Connection closed by foreign host.
root at dur:~#
root at dur:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
default_transport = smtp
home_mailbox = Maildir/
inet_interfaces = loopback-only
mailbox_command = /usr/lib/dovecot/deliver -c 
/etc/dovecot/conf.d/01-mail-stack-delivery.conf -m "${EXTENSION}"
mailbox_size_limit = 0
mailman_destination_recipient_limit = 1
mydestination = dur, dur.bounceme.net, localhost.bounceme.net, localhost
myhostname = dur.bounceme.net
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
readme_directory = no
recipient_delimiter = +
relay_domains = lists.dur.bounceme.net
relay_transport = relay
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = reject_unknown_sender_domain, 
reject_unknown_recipient_domain, reject_unauth_pipelining, 
permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-mail.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-mail.key
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
root at dur:~#


Whoops, I think I asked this question in the wrong list!  Any help still 
appreciated, of course.  I'm going to ask this on the postfix mailing 
list, which was my intent; pardon about that.


-Thufir


More information about the Mailman-Users mailing list