Smtp relay over ionos seit dem 29.01.2024 not works

I have an email server via debina with postfix (Kopano and univention), I set up sending via SMTP relay, which no longer works since Ionos was switched over on January 29th, 2024. Who can fix this and knows the problem?

Hi,

Can you send some debug info?

If you see yes after searching with:

ucr search mail/postfix/smtpd/debug

else set it with:
ucr set mail/postfix/smtpd/debug='yes'

send the actual activities from /var/log/mail.log after sending a test via the IONOS SMTP

Attention: clean up information if there are sensitive things there; because there’s really practically the whole communication to see)

Don’t forget to go back again after all:
ucr set mail/postfix/smtpd/debug='no'

I get this error message when sending an email:
The mail system <youxxxxxx@onmail.com>: host smtp.ionos.de[213.165.67.113] said: 550-Requested action not taken: mailbox unavailable 550 Sender address is not allowed. (in reply to MAIL FROM command)

Sending emails via Ionos went without any problems until yesterday, it is because Ionos has restricted the SMTP relay: Wichtige Änderung für das Versenden von E-Mails mit abweichender Absenderadresse - IONOS Hilfe

For me, I have several domains at ionos, but I also have a mailbox at Ionos for each email address. I collect the emails via pop3 (fetchmail) and send them via Postfix. The access data for each email address are also stored in the sender_auth and sender_relay. This has worked perfectly so far, but not since yesterday. As an emergency solution, I’ve been using Sendgrid since yesterday to send via it. Therefore I couldn’t create a log from mailinfo quickly, but I will do so with a test email address. Are there perhaps others affected?

ionos: IONOS stellt Smarthost Funktion zum 15.01.2024 ein - Frankys Web

Hier der Debug Log / Here the debug log from mail.info
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: connection established
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: master_notify: status 0
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: name_mask: resource
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: name_mask: software
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: connect from localhost[127.0.0.1]
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: localhost: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: 127.0.0.1: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: localhost: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: 127.0.0.1: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: smtp_stream_setup: maxtime=300 enable_deadline=0
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_hostname: smtpd_client_event_limit_exceptions: localhost ~? 127.0.0.0/8
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_hostaddr: smtpd_client_event_limit_exceptions: 127.0.0.1 ~? 127.0.0.0/8
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 220 KopanoM.xxxx.intranet ESMTP Postfix
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: < localhost[127.0.0.1]: EHLO KopanoM.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: localhost: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: 127.0.0.1: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250-KopanoM.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250-PIPELINING
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250-SIZE 130000000
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250-VRFY
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250-ETRN
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250-STARTTLS
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250-ENHANCEDSTATUSCODES
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250-8BITMIME
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250-DSN
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250 CHUNKING
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: < localhost[127.0.0.1]: MAIL FROM: alexander.haussner@dpxxx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: extract_addr: input: alexander.haussner@dpxxx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: smtpd_check_addr: addr=alexander.haussner@dpxxx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: connect to subsystem private/rewrite
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr request = rewrite
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr rule = local
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr address = “”
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: flags
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: flags
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: 0
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: address
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: address
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: “”
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: (list terminator)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: (end)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: rewrite_clnt: local: “” → “”
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr request = rewrite
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr rule = local
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr address = alexander.haussner@dpxxx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: flags
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: flags
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: 0
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: address
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: address
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: alexander.haussner@dpxxx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: (list terminator)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: (end)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: rewrite_clnt: local: alexander.haussner@dpxxx.dealexander.haussner@dpxxx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr request = resolve
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr sender =
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr address = alexander.haussner@dpxxx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: flags
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: flags
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: 0
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: transport
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: transport
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: lmtp
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: nexthop
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: nexthop
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: 127.0.0.1:2003
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: recipient
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: recipient
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: alexander.haussner@dpxxx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: flags
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: flags
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: 1024
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: (list terminator)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: (end)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: resolve_clnt: ' -> alexander.haussner@dpxxx.de’ → transp=lmtp' host=127.0.0.1:2003’ rcpt=alexander.haussner@dpxxx.de' flags= class=virtual Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: ctable_locate: install entry key ?alexander.haussner@dpxxx.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: extract_addr: in: <alexander.haussner@dpxxx.de>, result: alexander.haussner@dpxxx.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: smtpd_check_rewrite: trying: static:all Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: maps_find: static:all: static:all(0,lock|fold_fix|utf8_request): 127.0.0.1 = all Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: fsspace: .: block size 4096, blocks free 53003992 Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: smtpd_check_queue: blocks 4096 avail 53003992 min_free 0 msg_size_limit 130000000 Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250 2.1.0 Ok Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: < localhost[127.0.0.1]: RCPT TO: <walting@gmx.de> Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: extract_addr: input: <walting@gmx.de> Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: smtpd_check_addr: addr=walting@gmx.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: rewrite_clnt: cached: local: alexander.haussner@dpxxx.de -> alexander.haussner@dpxxx.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr request = rewrite Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr rule = local Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr address = walting@gmx.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: flags Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: flags Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: 0 Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: address Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: address Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: walting@gmx.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: (list terminator) Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: (end) Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: rewrite_clnt: local: walting@gmx.de -> walting@gmx.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr request = resolve Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr sender = alexander.haussner@dpxxx.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr address = walting@gmx.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: flags Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: flags Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: 0 Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: transport Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: transport Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: smtp Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: nexthop Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: nexthop Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: smtp.ionos.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: recipient Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: recipient Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: walting@gmx.de Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: flags Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: flags Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: 4096 Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: private/rewrite socket: wanted attribute: (list terminator) Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: (end) Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: resolve_clnt: alexander.haussner@dpxxx.de’ → walting@gmx.de' -> transp=smtp’ host=smtp.ionos.de' rcpt=walting@gmx.de’ flags= class=default
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: ctable_locate: install entry key alexander.haussner@dpxxx.de?walting@gmx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: extract_addr: in: walting@gmx.de, result: walting@gmx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: >>> START Recipient address RESTRICTIONS <<<
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: generic_checks: name=permit_mynetworks
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: permit_mynetworks: localhost 127.0.0.1
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_hostname: mynetworks: localhost ~? 127.0.0.0/8
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_hostaddr: mynetworks: 127.0.0.1 ~? 127.0.0.0/8
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: smtpd_acl_permit: checking smtpd_log_access_permit_actions settings
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: permit_mynetworks: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: smtpd_acl_permit: smtpd_log_access_permit_actions: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: generic_checks: name=permit_mynetworks status=1
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: >>> END Recipient address RESTRICTIONS <<<
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: >>> START Recipient address RESTRICTIONS <<<
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: generic_checks: name=permit_mynetworks
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: permit_mynetworks: localhost 127.0.0.1
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_hostname: mynetworks: localhost ~? 127.0.0.0/8
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_hostaddr: mynetworks: 127.0.0.1 ~? 127.0.0.0/8
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: smtpd_acl_permit: checking smtpd_log_access_permit_actions settings
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: permit_mynetworks: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: smtpd_acl_permit: smtpd_log_access_permit_actions: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: generic_checks: name=permit_mynetworks status=1
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: >>> END Recipient address RESTRICTIONS <<<
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: >>> CHECKING Recipient address VALIDATION MAPS <<<
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: ctable_locate: leave existing entry key alexander.haussner@dpxxx.de?walting@gmx.de
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: maps_find: recipient_canonical_maps: walting@gmx.de: not found
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_string: mydestination: gmx.de ~? kopanom.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_string: mydestination: gmx.de ~? localhost.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_string: mydestination: gmx.de ~? localhost
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: gmx.de: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: maps_find: recipient_canonical_maps: @gmx.de: not found
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: mail_addr_find: walting@gmx.de → (not found)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: maps_find: canonical_maps: walting@gmx.de: not found
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_string: mydestination: gmx.de ~? kopanom.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_string: mydestination: gmx.de ~? localhost.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_string: mydestination: gmx.de ~? localhost
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: gmx.de: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: maps_find: canonical_maps: @gmx.de: not found
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: mail_addr_find: walting@gmx.de → (not found)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.groups
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.groups: Searching with filter (&(mailPrimaryAddress=walting@gmx.de)(objectclass=posixGroup))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.distlist
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.distlist: Searching with filter (&(objectClass=univentionMailList)(mailPrimaryAddress=walting@gmx.de))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.virtual
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.virtual: Searching with filter (&(objectClass=univentionMail)(mailAlternativeAddress=walting@gmx.de)(!(univentionCanonicalRecipientRewriteEnabled=1)))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.external_aliases
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.external_aliases: Searching with filter (&(objectClass=univentionMail)(|(mailAlternativeAddress=walting@gmx.de)(mailPrimaryAddress=walting@gmx.de))(!(univentionCanonicalRecipientRewriteEnabled=1)))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.sharedfolderremote
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.sharedfolderremote: Searching with filter (&(objectClass=univentionMailSharedFolder)(|(mailPrimaryAddress=walting@gmx.de)(mailAlternativeAddress=walting@gmx.de))(!(univentionMailHomeServer=KopanoM.xxxx.intranet)))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.sharedfolderlocal_aliases
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.sharedfolderlocal_aliases: Searching with filter (&(objectClass=univentionMailSharedFolder)(mailAlternativeAddress=walting@gmx.de)(univentionMailHomeServer=KopanoM.xxxx.intranet))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: maps_find: virtual_alias_maps: walting@gmx.de: not found
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_string: mydestination: gmx.de ~? kopanom.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_string: mydestination: gmx.de ~? localhost.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_string: mydestination: gmx.de ~? localhost
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_list_match: gmx.de: no match
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.groups
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.groups: Searching with filter (&(mailPrimaryAddress=@gmx.de)(objectclass=posixGroup))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.distlist
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.distlist: Searching with filter (&(objectClass=univentionMailList)(mailPrimaryAddress=@gmx.de))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.virtual
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.virtual: Searching with filter (&(objectClass=univentionMail)(mailAlternativeAddress=@gmx.de)(!(univentionCanonicalRecipientRewriteEnabled=1)))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.external_aliases
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.external_aliases: Searching with filter (&(objectClass=univentionMail)(|(mailAlternativeAddress=@gmx.de)(mailPrimaryAddress=@gmx.de))(!(univentionCanonicalRecipientRewriteEnabled=1)))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.sharedfolderremote
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.sharedfolderremote: Searching with filter (&(objectClass=univentionMailSharedFolder)(|(mailPrimaryAddress=@gmx.de)(mailAlternativeAddress=@gmx.de))(!(univentionMailHomeServer=KopanoM.xxxx.intranet)))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: In dict_ldap_lookup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Using existing connection for LDAP source /etc/postfix/ldap.sharedfolderlocal_aliases
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: /etc/postfix/ldap.sharedfolderlocal_aliases: Searching with filter (&(objectClass=univentionMailSharedFolder)(mailAlternativeAddress=@gmx.de)(univentionMailHomeServer=KopanoM.xxxx.intranet))
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Search found 0 match(es)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_get_values[1]: Leaving dict_ldap_get_values
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: dict_ldap_lookup: Search returned nothing
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: maps_find: virtual_alias_maps: @gmx.de: not found
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: mail_addr_find: walting@gmx.de → (not found)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: before input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping enable_milters
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: after input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: name_mask: sendmail
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: name_mask: verify
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: connect to subsystem public/cleanup
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: public/cleanup socket: wanted attribute: queue_id
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: queue_id
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: 135413F86E2E
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: public/cleanup socket: wanted attribute: (list terminator)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: (end)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: send attr flags = 178
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: 135413F86E2E: client=localhost[127.0.0.1]
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250 2.1.5 Ok
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: < localhost[127.0.0.1]: DATA
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 354 End data with .
Jan 30 07:43:32 KopanoM postfix/cleanup[2434]: 135413F86E2E: message-id=kcEE./mChsrOxRqapgCGY0l/3eg.AIL+o0dT2gE@KopanoM.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: public/cleanup socket: wanted attribute: status
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: status
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: 0
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: public/cleanup socket: wanted attribute: reason
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: reason
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute value: (end)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: public/cleanup socket: wanted attribute: (list terminator)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: input attribute name: (end)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 250 2.0.0 Ok: queued as 135413F86E2E
Jan 30 07:43:32 KopanoM postfix/qmgr[1923]: 135413F86E2E: from=alexander.haussner@dpxxx.de, size=1648, nrcpt=1 (queue active)
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: < localhost[127.0.0.1]: QUIT
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: > localhost[127.0.0.1]: 221 2.0.0 Bye
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_hostname: smtpd_client_event_limit_exceptions: localhost ~? 127.0.0.0/8
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: match_hostaddr: smtpd_client_event_limit_exceptions: 127.0.0.1 ~? 127.0.0.0/8
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: master_notify: status 1
Jan 30 07:43:32 KopanoM postfix/smtpd[2036]: connection closed
Jan 30 07:43:32 KopanoM postfix/smtpd[2432]: connect from localhost[127.0.0.1]
Jan 30 07:43:32 KopanoM postfix/smtpd[2432]: 8E2173F870B2: client=localhost[127.0.0.1], orig_queue_id=135413F86E2E, orig_client=localhost[127.0.0.1]
Jan 30 07:43:32 KopanoM postfix/cleanup[2049]: 8E2173F870B2: message-id=kcEE./mChsrOxRqapgCGY0l/3eg.AIL+o0dT2gE@KopanoM.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/qmgr[1923]: 8E2173F870B2: from=alexander.haussner@dpxxx.de, size=2147, nrcpt=1 (queue active)
Jan 30 07:43:32 KopanoM postfix/smtpd[2432]: disconnect from localhost[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Jan 30 07:43:32 KopanoM amavis[2199]: (02199-01) Passed CLEAN {RelayedOpenRelay}, [127.0.0.1]:53024 alexander.haussner@dpxxx.dewalting@gmx.de, Queue-ID: 135413F86E2E, Message-ID: kcEE./mChsrOxRqapgCGY0l/3eg.AIL+o0dT2gE@kopanom.xxxx.intranet, mail_id: 2IbUugVhGVHf, Hits: -2.909, size: 1648, queued_as: 8E2173F870B2, 465 ms
Jan 30 07:43:32 KopanoM postfix/smtp[2068]: 135413F86E2E: to=walting@gmx.de, relay=127.0.0.1[127.0.0.1]:10024, delay=0.52, delays=0.05/0/0.01/0.46, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 8E2173F870B2)
Jan 30 07:43:32 KopanoM postfix/qmgr[1923]: 135413F86E2E: removed
Jan 30 07:43:32 KopanoM postfix/smtp[3735]: 8E2173F870B2: to=walting@gmx.de, relay=smtp.ionos.de[213.165.67.97]:25, delay=0.32, delays=0.01/0.02/0.27/0.02, dsn=5.0.0, status=bounced (host smtp.ionos.de[213.165.67.97] said: 550-Requested action not taken: mailbox unavailable 550 Sender address is not allowed. (in reply to MAIL FROM command))
Jan 30 07:43:32 KopanoM postfix/cleanup[2434]: E2BA43F8736C: message-id=20240130064332.E2BA43F8736C@KopanoM.xxxx.intranet
Jan 30 07:43:32 KopanoM postfix/bounce[3737]: 8E2173F870B2: sender non-delivery notification: E2BA43F8736C
Jan 30 07:43:32 KopanoM postfix/qmgr[1923]: E2BA43F8736C: from=<>, size=4327, nrcpt=1 (queue active)
Jan 30 07:43:32 KopanoM postfix/qmgr[1923]: 8E2173F870B2: removed
Jan 30 07:43:33 KopanoM postfix/lmtp[2436]: E2BA43F8736C: to=alexander.haussner@dpxxx.de, relay=127.0.0.1[127.0.0.1]:2003, delay=0.21, delays=0.01/0/0.05/0.15, dsn=2.1.5, status=sent (250 2.1.5 alexander.haussner@dpxxx.de Ok)
Jan 30 07:43:33 KopanoM postfix/qmgr[1923]: E2BA43F8736C: removed
Jan 30 07:43:37 KopanoM postfix/smtpd[2036]: rewrite stream disconnect

Hi,

yesterday was 29.1.2024 and they wrote the following message. Is your configuration adapted accordingly?

You have set up an e-mail inbox with the e-mail address max.mustermann@example.com. This address is also used for authentication on the IONOS outgoing mail server (SMTP). You use an e-mail address from Gmail (Google Mail) with the ending @gmail.com as the sender address.
From 29 January 2024, you can only use sender addresses ending in @example.com. Emails with a different sender, such as the @gmail.com used in the example, will no longer be delivered. In this case, the IONOS outgoing mail server (SMTP) transmits the following error code: Sender address is not allowed.

Sie haben ein E-Mail-Postfach mit der E-Mail-Adresse max.mustermann@example.com eingerichtet. Diese Adresse wird auch für die Authentifizierung am IONOS Postausgangsservers (SMTP) verwendet. Als Absenderadresse verwenden Sie eine E-Mail-Adresse von Gmail (Google Mail) mit der Endung @gmail.com.
Ab dem 29.01.2024 können Sie nur noch Absenderadressen verwenden, die auf @example.com enden. E-Mails mit einem anderen Absender, wie die im Beispiel verwendete @gmail.com, werden nicht mehr zugestellt. Der IONOS Postausgangsserver (SMTP) übermittelt in diesem Fall den folgenden Fehlercode: Sender address is not allowed.

Kind regards

no that is wron i am sending with alexander.haussner@dpxxx.de,

So problem solved, everything is working?

My problem is not yet solved, although I am currently working with an emergency solution by using sentgrid, which is an SMTP server.

Mein Problem ist noch nicht gelöst, ich arbeite zwar aktuel mit einer Notlösung indem ich sentgrid verwende, das ist ein smtp Server.

Ich habe bei ionos mehrere Domains und dazu auch die Postfächer. Z. B. info@muster01.de und info@muster02.de. Bisher ging der Absenderabhängige Versandt auch wie in dieser Anleitung:
Postfix 2.3.0 + Absender-abhängiges Mail-Relay mit SMTP-Auth für ausgehende Mails | Server Support Forum

I have several domains at ionos and also the mailboxes. E.g. info@muster01.de and info@muster02.de. Previously, sending depending on the sender also worked as described in these instructions:
Postfix 2.3.0 + Absender-abhängiges Mail-Relay mit SMTP-Auth für ausgehende Mails | Server Support Forum

This worked so far with ionos until January 29th, 2024, but despite Ionos’ statements to the contrary, it does NOT work to send with a different sending domain, even though both domains are in a (business) contract, only one domain can use SMTP to ship.

Das funktionierte auch bisher mit ionos bis zum 29.01.2024, aber trotz der anders lautenden Erklärungen von Ionos klappt es NICHT mit einer anderen Absenderdomain zu schicken, obwohl beide Domain in einem (Business) Vertrag sind, kann nur noch eine Domain, über den einen SMTP versenden.

I would therefore like to leave the topic open, maybe something else will come up or someone knows a trick

ich würde daher das Thema gerne noch offen lassen, vielleicht ergibt sich ja noch was oder kennt jemand einen Trick

Ok, sorry to hear that.

  • is a sender_dependent_relayhost_maps configured ?
  • How does your main.cf looks like ?
  • How does your /etc/postfix/sender_relay looks like ?
  • Can you send Mails with a normal client like thunderbird using the same credentials?
  • Is your smtpd debug elevated ?

Please also check the Topic sender_dependent_relayhost here and elsewhere.

Hi, yes, it’s set up that way, but I’m probably making a mistake because only with ionos it doesn’t use sender-dependent sending. I would like to show my settings here:

main.cf

a message, including envelope information. Default is 10240000

message_size_limit = 130000000

mailbox_size_limit limits the max. size of local mailboxes. Default is 51200000

mailbox_size_limit = 0

some basic path definitions

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix/sbin

some basic mail system settings

myhostname = KopanoM.hs-xxx.intranet

mydomain is unset - The default is to use $myhostname minus the first component.

myorigin = KopanoM.hs-xxx.intranet
smtp_helo_name = KopanoM.hs-xxx.intranet

append_dot_mydomain = no

compatibility_level = 3

inet_interfaces = all
inet_protocols = ipv4

mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks = 127.0.0.0/8
mynetworks_style = subnet

masquerade_domains = $mydomain
masquerade_exceptions = root

transport_maps = hash:/etc/postfix/transport
relay_domains = $mydestination

we need to name a smtp relay host to which we forward non-local

mails. smtp authentication is also possible.

relayhost = smtp.ionos.de
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth

disable_vrfy_command = no

banner

smtputf8_enable = no

prevent STMP Smuggling CVE-2023-51764 / Bug 56957

local_header_rewrite_clients = static:all

virtual_alias_domains =

virtual_alias_maps = hash:/etc/postfix/virtual,
ldap:/etc/postfix/ldap.groups,
ldap:/etc/postfix/ldap.distlist,
ldap:/etc/postfix/ldap.virtual,
ldap:/etc/postfix/ldap.external_aliases,
ldap:/etc/postfix/ldap.sharedfolderremote,
ldap:/etc/postfix/ldap.sharedfolderlocal_aliases

virtual_mailbox_domains = ldap:/etc/postfix/ldap.virtualdomains

virtual_mailbox_maps = ldap:/etc/postfix/ldap.virtual_mailbox,
ldap:/etc/postfix/ldap.sharedfolderlocal

virtual_transport = lmtp:127.0.0.1:2003

canonical_maps = hash:/etc/postfix/canonical
relocated_maps = hash:/etc/postfix/relocated

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

postscreen settings

postscreen_dnsbl_action = enforce
postscreen_dnsbl_threshold = 3
postscreen_dnsbl_sites =

postscreen_helo_required = no
postscreen_greet_action = drop
postscreen_greet_ttl = 1d

postscreen_non_smtp_command_enable = no
postscreen_non_smtp_command_action = ignore

postscreen_bare_newline_enable = no
postscreen_bare_newline_action = ignore

postscreen_blacklist_action = ignore
postscreen_access_list = permit_mynetworks
cidr:/etc/postfix/postscreen_access.cidr

smtpd_sender_restrictions is not defined since all relevant checks have been moved to

smtpd_recipient_restrictions (see below) and every mail has to pass smtpd_recipient_restrictions too.

#smtpd_sender_restrictions =

smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unlisted_recipient

special recipient_restrictions which may be used by smtps/submission services

(can be configured via UCR: mail/postfix/submission/restrictions/recipient/…)

submission_recipient_restrictions =

#TLS settings
smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_starttls_timeout = 300s
smtpd_timeout = 300s
smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3
smtpd_tls_protocols =
smtpd_tls_exclude_ciphers = RC4, aNULL
smtpd_tls_cert_file = /etc/univention/letsencrypt/signed_chain.crt
smtpd_tls_key_file = /etc/univention/letsencrypt/domain.key
smtpd_tls_CAfile = /etc/univention/letsencrypt/signed_chain.crt

smtpd_tls_received_header = no
smtpd_tls_session_cache_timeout = 3600s

tls_random_source = dev:/dev/urandom

smtpd_sasl_local_domain =

smtpd_sasl_security_options = noanonymous

smtp client

smtp_tls_security_level = may
smtp_tls_mandatory_protocols = !SSLv2,!SSLv3
smtp_tls_protocols = !SSLv2,!SSLv3
smtp_tls_exclude_ciphers = RC4, aNULL
smtp_tls_policy_maps = hash:/etc/postfix/tls_policy

Support broken clients like Microsoft Outlook Express 4.x which expect AUTH=LOGIN instead of AUTH LOGIN

broken_sasl_auth_clients = yes

tls logging

smtp_tls_loglevel = 0
smtpd_tls_loglevel = 0

EDH config

smtpd_tls_dh1024_param_file = /etc/postfix/dh_2048.pem
smtpd_tls_dh512_param_file = /etc/postfix/dh_512.pem

use the Postfix SMTP server’s cipher preference order instead of the remote client’s cipher preference order.

tls_preempt_cipherlist = yes

The Postfix SMTP server security grade for ephemeral elliptic-curve Diffie-Hellman (EECDH) key exchange

smtpd_tls_eecdh_grade = strong

if virus scanning is desired, all mails can be redirected through amavis.

content_filter = smtp-amavis:[127.0.0.1]:10024

The following section is included from the file /etc/postfix/main.cf.local.

Please note, that custom options in this file may interfere with the

standard Postfix configuration of Univention Corporate Server!

#Absenderabhaengige Zuweisung von SMTP Servern
#d.h. jeder Zarafa Benutzer kann seinen eigenen SMTP haben
#sender_dependent_relayhost_maps = yes

smtp_sender_dependent_authentication = yes
smtp_sasl_auth_enable = yes

noplaintext weglassen, wenn Passwoerter Klartext uebertragen werden muessen,

d.h. wenn in der sasl_password die Passwoerter im Klattext verwaltet:

(nicht empfohlen, nur wenn’s anders nicht funktioniert)

smtp_sasl_security_options = noanonymous
smtp_connection_cache_on_demand = no
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
sender_canonical_maps = hash:/etc/postfix/sender_canonical

Email Archiv

recipient_bcc_maps = hash:/etc/postfix/recipient_bcc

sender_bcc_maps = hash:/etc/postfix/sender_bcc

— end of /etc/postfix/main.cf.local —

/etc/postfix/smtp_auth:


smtp.ionos.de TestD1@domainD.de:Passowrt
smtp.ionos.de TestE1@domainE.de:Passowrt

/etc/postfix/sender_relay:

TestD1@domainD.de smtp.ionos.de
TestE1@domainE.de smtp.ionos.de

`/etc/postfix/sender_canonical
TestD1@domainD.de TestD1@domainD.de
TestE1@domainE.de TestE1@domainE.de

The problem of IONOS blocking empty senders, and therefore all NDR’s and OOF’s from Email servers can be solved with a product called MultiSendcon. It’s a local SMTP server that can be installed on any Windows system and automatically replaces the empty sender field with the sender from inside the email or a fixed one. It can also be used to select different authentications for different sender emails.

Hallo Claus, Danke für den Tipp, so wie ich es gesehen habe läuft Multisend con nur auf Windows. Das würde auf dem UCS nicht laufen. Ich hab als lüsung nun ein Proxmox Mailgateway installiert und sende die Emails darüber.

Hello Claus, thanks for the tip, as I saw it, Multisend con only runs on Windows. That wouldn’t work on the UCS. As a solution, I have now installed a Proxmox mail gateway and send the emails through it.

Mastodon