postfix to mailman: User doesn't exist/relay access denied

dovecot/postfix/mailman
when I try to send from an internal emailaddress (managed by the serveritself) I get an "User doesn't exist" error if I send an email from an external service like gmail, I get "relay access denied".
/etc/postfix/main.conf
#See /usr/share/postfix/main.cf.dist for a commented, more complete version inet_interfaces = all
# Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP (Debian/GNU) biff = no
# appending .domain is the MUA's job. append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h
readme_directory = /usr/share/doc/postfix
# TLS parameters #smtpd_tls_cert_file=/etc/ssl/certs/mailserver.cert.pem #smtpd_tls_key_file=/etc/ssl/private/mailserver.key.pem smtpd_tls_cert_file=/etc/letsencrypt/live/mail.ifkuk.org/fullchain.pem #smtp_tls_cert_file=/etc/letsencrypt/live/mail.ifkuk.org/fullchain.pem smtpd_tls_key_file=/etc/letsencrypt/live/mail.ifkuk.org/privkey.pem #smtp_tls_key_file=/etc/letsencrypt/live/mail.ifkuk.org/privkey.pem
smtpd_use_tls=yes smtpd_tls_auth_only = yes #smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache #smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
#Enabling SMTP for authenticated users, and handing off authentication to Dovecot smtpd_sasl_auth_enable = yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth queue_directory = /var/spool/postfix broken_sasl_auth_clients = yes #smtpd_recipient_restrictions = permit_sasl_authenticated reject_unauth_destination #smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination reject_sender_login_mismatch #smtpd_relay_restrictions = # permit_mynetworks # permit_sasl_authenticated # reject_unauth_destination smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination #smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_non_fqdn_sender, permit smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks,
#smtpd_recipient_restrictions = permit #smtpd_sender_restrictions = permit
#smtpd_milters = unix:/spamass/spamass.sock #milter_connect_macros = j {daemon_name} v {if_name} _ #milter_default_action = tempfail
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client.
myhostname = mail.ifkuk.org mydomain = ifkuk.org alias_maps = hash:/etc/aliases,hash:/var/lib/mailman/data/aliases #alias_database = hash:/etc/aliases,hash:/var/lib/mailman/data/aliases myorigin = /etc/mailname
mydestination = localhost,localhost.localdomain,$myhostname,localhost.$mydomain #relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all
#settings especially important for mailman - walter #relay_domains = lists.ifkuk.org relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman #transport_maps = hash:/etc/postfix/transport, pgsql:/etc/postfix/pgsql-virtual_transports.cf #mailman_destination_recipient_limit = 1
#Handing off local delivery to Dovecot's LMTP, and telling it where to store mail virtual_transport = lmtp:unix:private/dovecot-lmtp #transport_maps = pgsql:/etc/postfix/pgsql-virtual_transports.cf virtual_alias_domains = virtual_alias_maps = proxy:pgsql:/etc/postfix/pgsql-virtual_forwardings.cf,pgsql:/etc/postfix/pgsql-virtual_email2email.cf,hash:/var/lib/mailman/data/virtual-mailman virtual_email2email = hash:/var/lib/mailman/data/virtual-mailman virtual_mailbox_domains = proxy:pgsql:/etc/postfix/pgsql-virtual_domains.cf virtual_mailbox_maps = proxy:pgsql:/etc/postfix/pgsql-virtual_mailboxes.cf #virtual_mailbox_base = /var/mail #virtual_uid_maps = static:5000 #virtual_gid_maps = static:5000
#virtual_transport=dovecot #dovecot_destination_recipient_limit=1
#smtpd_sasl_auth_enable = yes #smtpd_sasl_security_options = noanonymous #smtpd_sasl_local_domain = $myhostname #smtpd_sasl_application_name = smtpd #broken_sasl_auth_clients = yes
#smtpd_recipient_restrictions = # permit_sasl_authenticated, # permit_mynetworks, # check_relay_domains #html_directory = /usr/share/doc/postfix/html html_directory = /usr/share/doc/postfix/html smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
/etc/postfix/master.cfg
#mailman unix - n n - - pipe # flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
/etc/mailman/mm_cfg.py
from Defaults import *
############################################################## # Put YOUR site-specific configuration below, in mm_cfg.py . # # See Defaults.py for explanations of the values. #
#------------------------------------------------------------- # The name of the list Mailman uses to send password reminders # and similar. Don't change if you want mailman-owner to be # a valid local part. MAILMAN_SITE_LIST = 'mailman'
#------------------------------------------------------------- # If you change these, you have to configure your http server # accordingly (Alias and ScriptAlias directives in most httpds) DEFAULT_URL_PATTERN = 'http://%s/' IMAGE_LOGOS = '/images/mailman/'
#------------------------------------------------------------- # Default domain for email addresses of newly created MLs DEFAULT_EMAIL_HOST = 'lists.ifkuk.org' #------------------------------------------------------------- # Default host for web interface of newly created MLs DEFAULT_URL_HOST = 'lists.ifkuk.org' #------------------------------------------------------------- # Required when setting any of its arguments. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
#------------------------------------------------------------- # The default language for this server. DEFAULT_SERVER_LANGUAGE = 'de'
#------------------------------------------------------------- # Iirc this was used in pre 2.1, leave it for now USE_ENVELOPE_SENDER = 0 # Still used?
#------------------------------------------------------------- # Unset send_reminders on newly created lists DEFAULT_SEND_REMINDERS = 0
#------------------------------------------------------------- # Uncomment this if you configured your MTA such that it # automatically recognizes newly created lists. # (see /usr/share/doc/mailman/README.Exim4.Debian or # /usr/share/mailman/postfix-to-mailman.py) # MTA=None # Misnomer, suppresses alias output on newlist
#------------------------------------------------------------- # Uncomment if you use Postfix virtual domains (but not # postfix-to-mailman.py), but be sure to see # /usr/share/doc/mailman/README.Debian first. MTA='Postfix'
#------------------------------------------------------------- # Uncomment if you want to filter mail with SpamAssassin. For # more information please visit this website: # http://www.jamesh.id.au/articles/mailman-spamassassin/ # GLOBAL_PIPELINE.insert(1, 'SpamAssassin')
# Note - if you're looking for something that is imported from mm_cfg, but you # didn't find it above, it's probably in /usr/lib/mailman/Mailman/Defaults.py.
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.ifkuk.org']
/var/lib/mailman/data/aliases
# This file is generated by Mailman, and is kept in sync with the
# binary hash file aliases.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE # unless you know what you're doing, and can keep the two files properly # in sync. If you screw it up, you're on your own.
# The ultimate loop stopper address mailman-loop: /var/lib/mailman/data/owner-bounces.mbox
# STANZA START: mailman # CREATED: Thu Jan 28 19:56:43 2016 mailman: "|/var/lib/mailman/mail/mailman post mailman" mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman" mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman" mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman" mailman-join: "|/var/lib/mailman/mail/mailman join mailman" mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman" mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman" mailman-request: "|/var/lib/mailman/mail/mailman request mailman" mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman" mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman" # STANZA END: mailman
# STANZA START: test # CREATED: Thu Jan 28 19:56:43 2016 test: "|/var/lib/mailman/mail/mailman post test" test-admin: "|/var/lib/mailman/mail/mailman admin test" test-bounces: "|/var/lib/mailman/mail/mailman bounces test" test-confirm: "|/var/lib/mailman/mail/mailman confirm test" test-join: "|/var/lib/mailman/mail/mailman join test" test-leave: "|/var/lib/mailman/mail/mailman leave test" test-owner: "|/var/lib/mailman/mail/mailman owner test" test-request: "|/var/lib/mailman/mail/mailman request test" test-subscribe: "|/var/lib/mailman/mail/mailman subscribe test" test-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe test" # STANZA END: test
/var/lib/mailman/data/virtual-mailman
# This file is generated by Mailman, and is kept in sync with the binary hash # file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you # know what you're doing, and can keep the two files properly in sync. If you # screw it up, you're on your own. # # Note that you should already have this virtual domain set up properly in # your Postfix installation. See README.POSTFIX for details.
# LOOP ADDRESSES START mailman-loop@lists.ifkuk.org mailman-loop # LOOP ADDRESSES END
# STANZA START: mailman # CREATED: Thu Jan 28 19:56:43 2016 mailman@lists.ifkuk.org mailman mailman-admin@lists.ifkuk.org mailman-admin mailman-bounces@lists.ifkuk.org mailman-bounces mailman-confirm@lists.ifkuk.org mailman-confirm mailman-join@lists.ifkuk.org mailman-join mailman-leave@lists.ifkuk.org mailman-leave mailman-owner@lists.ifkuk.org mailman-owner mailman-request@lists.ifkuk.org mailman-request mailman-subscribe@lists.ifkuk.org mailman-subscribe mailman-unsubscribe@lists.ifkuk.org mailman-unsubscribe # STANZA END: mailman
# STANZA START: test # CREATED: Thu Jan 28 19:56:43 2016 test@lists.ifkuk.org test test-admin@lists.ifkuk.org test-admin test-bounces@lists.ifkuk.org test-bounces test-confirm@lists.ifkuk.org test-confirm test-join@lists.ifkuk.org test-join test-leave@lists.ifkuk.org test-leave test-owner@lists.ifkuk.org test-owner test-request@lists.ifkuk.org test-request test-subscribe@lists.ifkuk.org test-subscribe test-unsubscribe@lists.ifkuk.org test-unsubscribe # STANZA END: test

On 02/09/2016 04:43 AM, walter@ifkuk.org wrote:
Please post the Postfix /var/log/mail.log messages resulting from each of these failed delivery scenarios (1 set per scenario).
/etc/postfix/main.conf
Looks OK offhand. The output from 'postconf -n' tells us all we need and is much more readable.
...
virtual_alias_domains =
Maybe something here?
virtual_alias_maps = proxy:pgsql:/etc/postfix/pgsql-virtual_forwardings.cf,pgsql:/etc/postfix/pgsql-virtual_email2email.cf,hash:/var/lib/mailman/data/virtual-mailman virtual_email2email = hash:/var/lib/mailman/data/virtual-mailman
What is this? virtual_email2email is not a documented Postfix main.cf parameter?
Good.
...
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.ifkuk.org']
Good.
/var/lib/mailman/data/aliases
Looks OK
/var/lib/mailman/data/virtual-mailman
Looks OK.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 09/02/2016 18:48, Mark Sapiro wrote:
The first one is from my gmail address, its quite long, but I left everything in, cause I dont know what could be of help
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 220 mail.ifkuk.org ESMTP (Debian/GNU)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: EHLO mail-wm0-f50.google.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
mail-wm0-f50.google.com: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
74.125.82.50: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-mail.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-PIPELINING
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-SIZE 10240000
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-VRFY
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-ETRN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-STARTTLS
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-ENHANCEDSTATUSCODES
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-8BITMIME
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250 DSN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: STARTTLS
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 220 2.0.0 Ready to start TLS
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = seed
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr size = 32
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: seed
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: seed
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value:
T2mAX0kBTKTyCDJic2PDtByPzNboSTVuXXOcpDDjaSI=
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: (list terminator)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = tktkey
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr keyname = [data 0
bytes]
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: keybuf
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: keybuf
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value:
yy+Wx5GCj3kRQ9vZxx3Fgn7XEpwKZSY84Vy9oOEuhhzoQqiZxp1XIO+H5gIkdWnDAUq6VgAAAAA=
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: (list terminator)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: xsasl_dovecot_server_create:
SASL service=smtp, realm=(null)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: name_mask: noanonymous
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: Connecting
Feb 9 20:50:18 ifkuk dovecot: auth: Debug: auth client connected (pid=0)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: VERSION?1?1
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: MECH?PLAIN?plaintext
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: name_mask: plaintext
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: MECH?LOGIN?plaintext
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: name_mask: plaintext
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: SPID?55327
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: CUID?11220
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply:
COOKIE?62301eb549511d91aa380c208689be41
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: DONE
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_mech_filter: keep mechanism: PLAIN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_mech_filter: keep mechanism: LOGIN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: EHLO mail-wm0-f50.google.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
mail-wm0-f50.google.com: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
74.125.82.50: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-mail.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-PIPELINING
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-SIZE 10240000
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-VRFY
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-ETRN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-AUTH PLAIN LOGIN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-AUTH=PLAIN LOGIN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-ENHANCEDSTATUSCODES
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-8BITMIME
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250 DSN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: MAIL FROM:<neubau@gmail.com>
SIZE=2528
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: extract_addr: input:
<neubau@gmail.com>
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: smtpd_check_addr:
addr=neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: connect to subsystem
private/rewrite
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = rewrite
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr rule = local
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr address =
neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: address
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: address
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value:
neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: (list terminator)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: rewrite_clnt: local:
neubau@gmail.com -> neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = resolve
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr sender =
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr address =
neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: transport
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: transport
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: smtp
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: nexthop
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: nexthop
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: recipient
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: recipient
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value:
neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 4096
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: (list terminator)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: resolve_clnt: ' ->
neubau@gmail.com' -> transp=smtp' host=
gmail.com'
rcpt=neubau@gmail.com' flags= class=default Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: ctable_locate: install entry key neubau@gmail.com Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: extract_addr: in: <neubau@gmail.com>, result: neubau@gmail.com Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = rewrite Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr rule = local Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr address = double-bounce Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: flags Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: flags Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0 Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: address Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: address Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: double-bounce@ifkuk.org Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: (list terminator) Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end) Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: rewrite_clnt: local: double-bounce -> double-bounce@ifkuk.org Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: smtpd_check_rewrite: trying: permit_inet_interfaces Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: permit_inet_interfaces: mail-wm0-f50.google.com 74.125.82.50 Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: fsspace: .: block size 4096, blocks free 671552 Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: smtpd_check_queue: blocks 4096 avail 671552 min_free 0 msg_size_limit 10240000 Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: > mail-wm0-f50.google.com[74.125.82.50]: 250 2.1.0 Ok Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: < mail-wm0-f50.google.com[74.125.82.50]: RCPT TO:<test@lists.ifkuk.org> Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: extract_addr: input: <test@lists.ifkuk.org> Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: smtpd_check_addr: addr=test@lists.ifkuk.org Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = rewrite Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr rule = local Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr address = test@lists.ifkuk.org Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: flags Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: flags Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0 Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: address Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: address Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: test@lists.ifkuk.org Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: (list terminator) Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: resolve_clnt:
' ->
test@lists.ifkuk.org' -> transp=
smtp' host=lists.ifkuk.org' rcpt=
test@lists.ifkuk.org' flags= class=default
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: ctable_locate: install entry
key test@lists.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: extract_addr: in:
<test@lists.ifkuk.org>, result: test@lists.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >>> START Sender address
RESTRICTIONS <<<
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_sasl_authenticated
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_sasl_authenticated status=0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_mynetworks
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: permit_mynetworks:
mail-wm0-f50.google.com 74.125.82.50
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
mail-wm0-f50.google.com: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
74.125.82.50: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_mynetworks status=0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >>> END Sender address
RESTRICTIONS <<<
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >>> START Recipient address
RESTRICTIONS <<<
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_sasl_authenticated
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_sasl_authenticated status=0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_mynetworks
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: permit_mynetworks:
mail-wm0-f50.google.com 74.125.82.50
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
mail-wm0-f50.google.com: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
74.125.82.50: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_mynetworks status=0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=reject_unauth_destination
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: reject_unauth_destination:
test@lists.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: permit_auth_destination:
test@lists.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: ctable_locate: leave
existing entry key test@lists.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: NOQUEUE: reject: RCPT from
mail-wm0-f50.google.com[74.125.82.50]: 554 5.7.1 <test@lists.ifkuk.org>:
Relay access denied; from=<neubau@gmail.com> to=<test@lists.ifkuk.org>
proto=ESMTP helo=<mail-wm0-f50.google.com>
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=reject_unauth_destination status=2
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >>> END Recipient address
RESTRICTIONS <<<
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 554 5.7.1 <test@lists.ifkuk.org>:
Relay access denied
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: DATA
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 554 5.5.1 Error: no valid recipients
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: QUIT
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 221 2.0.0 Bye
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
mail-wm0-f50.google.com: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
74.125.82.50: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = disconnect
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr ident =
smtp:74.125.82.50
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/anvil: wanted
attribute: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/anvil: wanted
attribute: (list terminator)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: disconnect from
mail-wm0-f50.google.com[74.125.82.50]
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: master_notify: status 1
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: connection closed
Feb 9 20:50:22 ifkuk postfix/smtpd[22439]: proxymap stream disconnect
Feb 9 20:50:23 ifkuk postfix/smtpd[22439]: auto_clnt_close: disconnect
private/tlsmgr stream
Feb 9 20:50:23 ifkuk postfix/smtpd[22439]: rewrite stream disconnect
This is the internal address.
Feb 9 20:50:23 ifkuk postfix/submission/smtpd[22443]: connect from 77.119.128.XXX.wireless.dyn.drei.com[77.119.128.XXX] Feb 9 20:50:24 ifkuk dovecot: auth: Debug: auth client connected (pid=0) Feb 9 20:50:25 ifkuk dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=smtp#011nologin#011lip=89.185.96.XXX#011rip=77.119.128.XXX#011secured#011resp=<hidden> Feb 9 20:50:25 ifkuk dovecot: auth: Debug: sql(walter@ifkuk.org,77.119.128.XXX): query: SELECT email as user, password FROM users WHERE email='walter@ifkuk.org'; Feb 9 20:50:25 ifkuk dovecot: auth: Debug: client passdb out: OK#0111#011user=walter@ifkuk.org Feb 9 20:50:26 ifkuk postfix/submission/smtpd[22443]: 2EABF3685: client=77.119.128.XXX.wireless.dyn.drei.com[77.119.128.XXX], sasl_method=PLAIN, sasl_username=walter@ifkuk.org Feb 9 20:50:26 ifkuk postfix/cleanup[22418]: 2EABF3685: message-id=<56BA42FA.9080307@ifkuk.org> Feb 9 20:50:26 ifkuk postfix/qmgr[22386]: 2EABF3685: from=<walter@ifkuk.org>, size=587, nrcpt=1 (queue active) Feb 9 20:50:26 ifkuk dovecot: lmtp(22434): Connect from local Feb 9 20:50:26 ifkuk dovecot: auth: Debug: master in: USER#0112#011test@ifkuk.org#011service=lmtp Feb 9 20:50:26 ifkuk dovecot: auth: Debug: sql(test@ifkuk.org): query: SELECT email as user, password FROM users WHERE email='test@ifkuk.org'; Feb 9 20:50:26 ifkuk dovecot: auth: sql(test@ifkuk.org): unknown user Feb 9 20:50:26 ifkuk dovecot: auth: Debug: userdb out: NOTFOUND#0112 Feb 9 20:50:27 ifkuk postfix/lmtp[22428]: 2EABF3685: to=<test@ifkuk.org>, orig_to=<test@lists.ifkuk.org>, relay=mail.ifkuk.org[private/dovecot-lmtp], delay=1.1, delays=0.9/0/0/0.25, dsn=5.1.1, status=bounced (host mail.ifkuk.org[private/dovecot-lmtp] said: 550 5.1.1 <test@ifkuk.org> User doesn't exist: test@ifkuk.org Feb 9 20:50:27 ifkuk dovecot: lmtp(22434): Disconnect from local: Successful quit Feb 9 20:50:27 ifkuk postfix/cleanup[22429]: 0B7BC3688: message-id=<20160209195027.0B7BC3688@mail.ifkuk.org> Feb 9 20:50:27 ifkuk postfix/qmgr[22386]: 0B7BC3688: from=<>, size=2546, nrcpt=1 (queue active) Feb 9 20:50:27 ifkuk postfix/bounce[22431]: 2EABF3685: sender non-delivery notification: 0B7BC3688 Feb 9 20:50:27 ifkuk postfix/qmgr[22386]: 2EABF3685: removed
here you go:
alias_maps = hash:/var/lib/mailman/data/aliases,hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix html_directory = /usr/share/doc/postfix/html inet_interfaces = all mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mydestination = localhost,localhost.localdomain,$myhostname,localhost.$mydomain mydomain = ifkuk.org myhostname = mail.ifkuk.org mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix recipient_delimiter = + relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman smtpd_banner = $myhostname ESMTP (Debian/GNU) smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, smtpd_tls_auth_only = yes smtpd_tls_cert_file = /etc/letsencrypt/live/mail.ifkuk.org/fullchain.pem smtpd_tls_key_file = /etc/letsencrypt/live/mail.ifkuk.org/privkey.pem smtpd_use_tls = yes virtual_alias_domains = virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman,proxy:pgsql:/etc/postfix/pgsql-virtual_forwardings.cf,pgsql:/etc/postfix/pgsql-virtual_email2email.cf virtual_mailbox_domains = proxy:pgsql:/etc/postfix/pgsql-virtual_domains.cf virtual_mailbox_maps = proxy:pgsql:/etc/postfix/pgsql-virtual_mailboxes.cf virtual_transport = lmtp:unix:private/dovecot-lmtp
i ve already removed it, it was in some 'how to', but obviously didnt help.

On 02/09/2016 12:46 PM, walter@ifkuk.org wrote:
On 09/02/2016 18:48, Mark Sapiro wrote:
...
This is because you don't have lists.ifkuk.org in virtual_alias_domains. See below.
This is the internal address.
...
This is because you are using Dovecot for local mail delivery and Dovecot doesn't use aliases so it doesn't know how to deliver to test.
You have two problems.
The first is your external mail is not being delivered because Postfix hasn't been told lists.ifkuk.org is a domain it can deliver to so it thinks it's a relay domain and won't relay from an external domain. It you add lists.ifkuk.org to virtual_alias_domains, Postfix will know it can accept mail for that domain and will map 'test@lists.ifkuk.org' to the local user 'test' via the mapping in /var/lib/mailman/data/virtual-mailman.
Then you encounter the second problem which is the local user 'test' is supposed to be delivered to mailman via the
test: "|/var/lib/mailman/mail/mailman post test"
alias in /var/lib/mailman/data/aliases, but delivery for this domain is handled by Dovecot because of
virtual_transport = lmtp:unix:private/dovecot-lmtp
and Dovecot doesn't do aliases.
So, you have two choices depending on why you are using Dovecot for local delivery.
If this is a new server, and all of
is something that you just inherited from some default or some how-to document, I'd suggest removing it and going with something simpler like
virtual_alias_domains = lists.ifkuk.org virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman
plus whatever else you actually need.
If this is an existing server and Dovecot delivery is important, follow the FAQ at <http://wiki.list.org/x/10715238>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

walter@ifkuk.org writes:
I don't use Postfix, so this is just a guess, but it looks to me like Postfix thinks that lists.ifkuk.org is an independent domain. Maybe try putting it in mydestinations? (I don't think just having it in postfix-style-virtual-domains is enough?)
The other thing that caught my eye is that there seems to be a lot of security oriented configuration. It's very easy to be so "secure" that even the owner can't get in.

On 02/09/2016 04:43 AM, walter@ifkuk.org wrote:
Please post the Postfix /var/log/mail.log messages resulting from each of these failed delivery scenarios (1 set per scenario).
/etc/postfix/main.conf
Looks OK offhand. The output from 'postconf -n' tells us all we need and is much more readable.
...
virtual_alias_domains =
Maybe something here?
virtual_alias_maps = proxy:pgsql:/etc/postfix/pgsql-virtual_forwardings.cf,pgsql:/etc/postfix/pgsql-virtual_email2email.cf,hash:/var/lib/mailman/data/virtual-mailman virtual_email2email = hash:/var/lib/mailman/data/virtual-mailman
What is this? virtual_email2email is not a documented Postfix main.cf parameter?
Good.
...
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.ifkuk.org']
Good.
/var/lib/mailman/data/aliases
Looks OK
/var/lib/mailman/data/virtual-mailman
Looks OK.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 09/02/2016 18:48, Mark Sapiro wrote:
The first one is from my gmail address, its quite long, but I left everything in, cause I dont know what could be of help
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 220 mail.ifkuk.org ESMTP (Debian/GNU)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: EHLO mail-wm0-f50.google.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
mail-wm0-f50.google.com: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
74.125.82.50: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-mail.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-PIPELINING
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-SIZE 10240000
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-VRFY
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-ETRN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-STARTTLS
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-ENHANCEDSTATUSCODES
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-8BITMIME
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250 DSN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: STARTTLS
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 220 2.0.0 Ready to start TLS
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = seed
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr size = 32
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: seed
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: seed
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value:
T2mAX0kBTKTyCDJic2PDtByPzNboSTVuXXOcpDDjaSI=
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: (list terminator)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = tktkey
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr keyname = [data 0
bytes]
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: keybuf
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: keybuf
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value:
yy+Wx5GCj3kRQ9vZxx3Fgn7XEpwKZSY84Vy9oOEuhhzoQqiZxp1XIO+H5gIkdWnDAUq6VgAAAAA=
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/tlsmgr: wanted
attribute: (list terminator)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: xsasl_dovecot_server_create:
SASL service=smtp, realm=(null)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: name_mask: noanonymous
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: Connecting
Feb 9 20:50:18 ifkuk dovecot: auth: Debug: auth client connected (pid=0)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: VERSION?1?1
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: MECH?PLAIN?plaintext
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: name_mask: plaintext
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: MECH?LOGIN?plaintext
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: name_mask: plaintext
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: SPID?55327
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: CUID?11220
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply:
COOKIE?62301eb549511d91aa380c208689be41
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_connect: auth reply: DONE
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_mech_filter: keep mechanism: PLAIN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]:
xsasl_dovecot_server_mech_filter: keep mechanism: LOGIN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: EHLO mail-wm0-f50.google.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
mail-wm0-f50.google.com: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
74.125.82.50: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-mail.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-PIPELINING
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-SIZE 10240000
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-VRFY
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-ETRN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-AUTH PLAIN LOGIN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-AUTH=PLAIN LOGIN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-ENHANCEDSTATUSCODES
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250-8BITMIME
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 250 DSN
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: MAIL FROM:<neubau@gmail.com>
SIZE=2528
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: extract_addr: input:
<neubau@gmail.com>
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: smtpd_check_addr:
addr=neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: connect to subsystem
private/rewrite
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = rewrite
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr rule = local
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr address =
neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: address
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: address
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value:
neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: (list terminator)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: rewrite_clnt: local:
neubau@gmail.com -> neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = resolve
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr sender =
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr address =
neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: transport
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: transport
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: smtp
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: nexthop
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: nexthop
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: recipient
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: recipient
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value:
neubau@gmail.com
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: flags
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 4096
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket:
wanted attribute: (list terminator)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: resolve_clnt: ' ->
neubau@gmail.com' -> transp=smtp' host=
gmail.com'
rcpt=neubau@gmail.com' flags= class=default Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: ctable_locate: install entry key neubau@gmail.com Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: extract_addr: in: <neubau@gmail.com>, result: neubau@gmail.com Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = rewrite Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr rule = local Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr address = double-bounce Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: flags Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: flags Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0 Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: address Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: address Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: double-bounce@ifkuk.org Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: (list terminator) Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end) Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: rewrite_clnt: local: double-bounce -> double-bounce@ifkuk.org Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: smtpd_check_rewrite: trying: permit_inet_interfaces Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: permit_inet_interfaces: mail-wm0-f50.google.com 74.125.82.50 Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: fsspace: .: block size 4096, blocks free 671552 Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: smtpd_check_queue: blocks 4096 avail 671552 min_free 0 msg_size_limit 10240000 Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: > mail-wm0-f50.google.com[74.125.82.50]: 250 2.1.0 Ok Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: < mail-wm0-f50.google.com[74.125.82.50]: RCPT TO:<test@lists.ifkuk.org> Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: extract_addr: input: <test@lists.ifkuk.org> Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: smtpd_check_addr: addr=test@lists.ifkuk.org Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = rewrite Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr rule = local Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr address = test@lists.ifkuk.org Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: flags Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: flags Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0 Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: address Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: address Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: test@lists.ifkuk.org Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/rewrite socket: wanted attribute: (list terminator) Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: resolve_clnt:
' ->
test@lists.ifkuk.org' -> transp=
smtp' host=lists.ifkuk.org' rcpt=
test@lists.ifkuk.org' flags= class=default
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: ctable_locate: install entry
key test@lists.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: extract_addr: in:
<test@lists.ifkuk.org>, result: test@lists.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >>> START Sender address
RESTRICTIONS <<<
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_sasl_authenticated
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_sasl_authenticated status=0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_mynetworks
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: permit_mynetworks:
mail-wm0-f50.google.com 74.125.82.50
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
mail-wm0-f50.google.com: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
74.125.82.50: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_mynetworks status=0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >>> END Sender address
RESTRICTIONS <<<
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >>> START Recipient address
RESTRICTIONS <<<
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_sasl_authenticated
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_sasl_authenticated status=0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_mynetworks
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: permit_mynetworks:
mail-wm0-f50.google.com 74.125.82.50
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
mail-wm0-f50.google.com: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
74.125.82.50: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=permit_mynetworks status=0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=reject_unauth_destination
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: reject_unauth_destination:
test@lists.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: permit_auth_destination:
test@lists.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: ctable_locate: leave
existing entry key test@lists.ifkuk.org
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: NOQUEUE: reject: RCPT from
mail-wm0-f50.google.com[74.125.82.50]: 554 5.7.1 <test@lists.ifkuk.org>:
Relay access denied; from=<neubau@gmail.com> to=<test@lists.ifkuk.org>
proto=ESMTP helo=<mail-wm0-f50.google.com>
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: generic_checks:
name=reject_unauth_destination status=2
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >>> END Recipient address
RESTRICTIONS <<<
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 554 5.7.1 <test@lists.ifkuk.org>:
Relay access denied
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: DATA
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 554 5.5.1 Error: no valid recipients
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: <
mail-wm0-f50.google.com[74.125.82.50]: QUIT
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: >
mail-wm0-f50.google.com[74.125.82.50]: 221 2.0.0 Bye
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? 127.0.0.0/8
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::ffff:127.0.0.0]/104
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostname:
mail-wm0-f50.google.com ~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_hostaddr: 74.125.82.50
~? [::1]/128
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
mail-wm0-f50.google.com: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: match_list_match:
74.125.82.50: no match
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr request = disconnect
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: send attr ident =
smtp:74.125.82.50
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/anvil: wanted
attribute: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: status
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute value: 0
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: private/anvil: wanted
attribute: (list terminator)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: input attribute name: (end)
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: disconnect from
mail-wm0-f50.google.com[74.125.82.50]
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: master_notify: status 1
Feb 9 20:50:18 ifkuk postfix/smtpd[22439]: connection closed
Feb 9 20:50:22 ifkuk postfix/smtpd[22439]: proxymap stream disconnect
Feb 9 20:50:23 ifkuk postfix/smtpd[22439]: auto_clnt_close: disconnect
private/tlsmgr stream
Feb 9 20:50:23 ifkuk postfix/smtpd[22439]: rewrite stream disconnect
This is the internal address.
Feb 9 20:50:23 ifkuk postfix/submission/smtpd[22443]: connect from 77.119.128.XXX.wireless.dyn.drei.com[77.119.128.XXX] Feb 9 20:50:24 ifkuk dovecot: auth: Debug: auth client connected (pid=0) Feb 9 20:50:25 ifkuk dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=smtp#011nologin#011lip=89.185.96.XXX#011rip=77.119.128.XXX#011secured#011resp=<hidden> Feb 9 20:50:25 ifkuk dovecot: auth: Debug: sql(walter@ifkuk.org,77.119.128.XXX): query: SELECT email as user, password FROM users WHERE email='walter@ifkuk.org'; Feb 9 20:50:25 ifkuk dovecot: auth: Debug: client passdb out: OK#0111#011user=walter@ifkuk.org Feb 9 20:50:26 ifkuk postfix/submission/smtpd[22443]: 2EABF3685: client=77.119.128.XXX.wireless.dyn.drei.com[77.119.128.XXX], sasl_method=PLAIN, sasl_username=walter@ifkuk.org Feb 9 20:50:26 ifkuk postfix/cleanup[22418]: 2EABF3685: message-id=<56BA42FA.9080307@ifkuk.org> Feb 9 20:50:26 ifkuk postfix/qmgr[22386]: 2EABF3685: from=<walter@ifkuk.org>, size=587, nrcpt=1 (queue active) Feb 9 20:50:26 ifkuk dovecot: lmtp(22434): Connect from local Feb 9 20:50:26 ifkuk dovecot: auth: Debug: master in: USER#0112#011test@ifkuk.org#011service=lmtp Feb 9 20:50:26 ifkuk dovecot: auth: Debug: sql(test@ifkuk.org): query: SELECT email as user, password FROM users WHERE email='test@ifkuk.org'; Feb 9 20:50:26 ifkuk dovecot: auth: sql(test@ifkuk.org): unknown user Feb 9 20:50:26 ifkuk dovecot: auth: Debug: userdb out: NOTFOUND#0112 Feb 9 20:50:27 ifkuk postfix/lmtp[22428]: 2EABF3685: to=<test@ifkuk.org>, orig_to=<test@lists.ifkuk.org>, relay=mail.ifkuk.org[private/dovecot-lmtp], delay=1.1, delays=0.9/0/0/0.25, dsn=5.1.1, status=bounced (host mail.ifkuk.org[private/dovecot-lmtp] said: 550 5.1.1 <test@ifkuk.org> User doesn't exist: test@ifkuk.org Feb 9 20:50:27 ifkuk dovecot: lmtp(22434): Disconnect from local: Successful quit Feb 9 20:50:27 ifkuk postfix/cleanup[22429]: 0B7BC3688: message-id=<20160209195027.0B7BC3688@mail.ifkuk.org> Feb 9 20:50:27 ifkuk postfix/qmgr[22386]: 0B7BC3688: from=<>, size=2546, nrcpt=1 (queue active) Feb 9 20:50:27 ifkuk postfix/bounce[22431]: 2EABF3685: sender non-delivery notification: 0B7BC3688 Feb 9 20:50:27 ifkuk postfix/qmgr[22386]: 2EABF3685: removed
here you go:
alias_maps = hash:/var/lib/mailman/data/aliases,hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix html_directory = /usr/share/doc/postfix/html inet_interfaces = all mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mydestination = localhost,localhost.localdomain,$myhostname,localhost.$mydomain mydomain = ifkuk.org myhostname = mail.ifkuk.org mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix recipient_delimiter = + relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman smtpd_banner = $myhostname ESMTP (Debian/GNU) smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, smtpd_tls_auth_only = yes smtpd_tls_cert_file = /etc/letsencrypt/live/mail.ifkuk.org/fullchain.pem smtpd_tls_key_file = /etc/letsencrypt/live/mail.ifkuk.org/privkey.pem smtpd_use_tls = yes virtual_alias_domains = virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman,proxy:pgsql:/etc/postfix/pgsql-virtual_forwardings.cf,pgsql:/etc/postfix/pgsql-virtual_email2email.cf virtual_mailbox_domains = proxy:pgsql:/etc/postfix/pgsql-virtual_domains.cf virtual_mailbox_maps = proxy:pgsql:/etc/postfix/pgsql-virtual_mailboxes.cf virtual_transport = lmtp:unix:private/dovecot-lmtp
i ve already removed it, it was in some 'how to', but obviously didnt help.

On 02/09/2016 12:46 PM, walter@ifkuk.org wrote:
On 09/02/2016 18:48, Mark Sapiro wrote:
...
This is because you don't have lists.ifkuk.org in virtual_alias_domains. See below.
This is the internal address.
...
This is because you are using Dovecot for local mail delivery and Dovecot doesn't use aliases so it doesn't know how to deliver to test.
You have two problems.
The first is your external mail is not being delivered because Postfix hasn't been told lists.ifkuk.org is a domain it can deliver to so it thinks it's a relay domain and won't relay from an external domain. It you add lists.ifkuk.org to virtual_alias_domains, Postfix will know it can accept mail for that domain and will map 'test@lists.ifkuk.org' to the local user 'test' via the mapping in /var/lib/mailman/data/virtual-mailman.
Then you encounter the second problem which is the local user 'test' is supposed to be delivered to mailman via the
test: "|/var/lib/mailman/mail/mailman post test"
alias in /var/lib/mailman/data/aliases, but delivery for this domain is handled by Dovecot because of
virtual_transport = lmtp:unix:private/dovecot-lmtp
and Dovecot doesn't do aliases.
So, you have two choices depending on why you are using Dovecot for local delivery.
If this is a new server, and all of
is something that you just inherited from some default or some how-to document, I'd suggest removing it and going with something simpler like
virtual_alias_domains = lists.ifkuk.org virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman
plus whatever else you actually need.
If this is an existing server and Dovecot delivery is important, follow the FAQ at <http://wiki.list.org/x/10715238>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

walter@ifkuk.org writes:
I don't use Postfix, so this is just a guess, but it looks to me like Postfix thinks that lists.ifkuk.org is an independent domain. Maybe try putting it in mydestinations? (I don't think just having it in postfix-style-virtual-domains is enough?)
The other thing that caught my eye is that there seems to be a lot of security oriented configuration. It's very easy to be so "secure" that even the owner can't get in.
participants (3)
-
Mark Sapiro
-
Stephen J. Turnbull
-
walter@ifkuk.org