Issue Send Mail Authentication Required


  • I hope this is the correct category. I have the following problem:

    I am new with Kopano, bevor I used another Groupware Mailserver but now I want to change my mailserver to Kopano.

    I installed Kopano with postfix and MySQL. The most function work well. I can receive Mails, connect to WebApp, connect with Z-Push… But I have a problem to send Mails to my old Mailserver. When I send a Testmail for example to iCloud there is no problem an status is “sent”, but if I send the mail to my old mailserver I get the following failure:

    status=bounced (host mail.oldmailserver.de[X.X.X.X] said: 550 5.7.1 Authentication Required (in reply to end of DATA command))
    

    I searched for a solution, but I think I can’t see the forest for the trees.

    This is my Postfix main.cf:

    smtpd_banner = $myhostname ESMTP
    biff = no
    
    append_dot_mydomain = no
    readme_directory = no
    compatibility_level = 2
    
    smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_use_tls=yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    
    relayhost = 
    smtp_sasl_security_options = noplaintext noanonymous
    
    smtpd_relay_restrictions = permit_mynetworks, reject_unauth_destination
    smtpd_recipient_restrictions = permit_mynetworks,
    			       reject_non_fqdn_recipient,
    			       reject_non_fqdn_hostname,
    			       reject_invalid_hostname,
    			       reject_non_fqdn_recipient,
    			       reject_non_fqdn_sender,
    			       reject_unauth_pipelining,
    			       reject_unverified_recipient,
    
    myhostname = mail.newmailserver.de
    
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = localhost
    mynetworks = 127.0.0.0/8, localhost
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    
    virtual_alias_maps = hash:/etc/postfix/virtual
    virtual_mailbox_maps = mysql:/etc/postfix/mysql-users.cf
    virtual_transport = lmtp:[localhost]:2003
    virtual_mailbox_domains = newmailserver.de
    

    I hope anyone can help.


  • to me it looks like the bounce response comes from your old mailserver. Maybe you should look there for the problem.


  • I don‘t think that is a problem of the old mailserver because i receive all mails from other Mailservers. So it must be a problem with kopano.

  • Kopano

    I would concur with @xthbx. Maybe an overlap of domain names?

    What groupware have you been using before @chrisbi? Your username feels familiar.


  • Ok @xthbx and @fbartels you were right. I found the issue, the domain I use on the Kopano Server was still stored as alias on the old mailserver. Thank you for the tip with the overlapping.

    @fbartels I used Kerio Connect before and now I try Kopano, maybe it will be the successor.