Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Fetchmail Plugin installed, but no Mails

    Plugins for Kopano WebApp
    2
    10
    660
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Former User
      A Former User last edited by A Former User

      Re: [New Plugin] Configure and use fetchmail from the WebApp

      Dear Team, can someone advise on this topic?

      I have followed the instructions and actually could install the Fetchmail plugin.
      Also creating the specific Fetchmail accounts to collect eMails from external Mail-Servers worked well.
      When I check for the status, I read 6 messages (6 seen) for xxxxxxx@gmail.com at pop.gmail.com (19959 octets).
      So, all fine obviously - But where are the 6 eMails? I cannot find them in the “Inbox” of the specific Kopano User.

      Also I do not understand - when I investigate the /usr/share/kopano-webapp/plugins/fetchmail/config.php file, I find a statement
      PLUGIN_FETCHMAIL_DATABASE_USER_PASSWORD “xxxxxx" (this is BTW the only statement I had customized)
      So, is it correct to set one common password here, instead of an individual one for each Kopano user? Because I have set a password here that does not match any of the Kopano users. Despite this fact, I see the Fetchmail plugin in all of the accounts. But the emails do not appear in any of the inboxes anyway.

      Does anybody have an idea what the issue could be?

      Please find below my config.php and please let me know, what config snippets you would like to see besides this.

      <?php
      /** Enable the fetchmail plugin for all clients **/
      define('PLUGIN_FETCHMAIL_USER_DEFAULT_ENABLE', false);
      /** Set the AES Key to encrypt the Account Passwords in the Database. IMPORTANT: If changed all saved passwords are lost! **/
      define('PLUGIN_FETCHMAIL_PASSWORDS_AES_KEY', "changethis!");
      /** Define the Database Driver. At the moment only mysql **/
      define('PLUGIN_FETCHMAIL_DATABASE_DRIVER', "mysql");
      /** Database Host. Example localhost:3306 for mysql **/
      define('PLUGIN_FETCHMAIL_DATABASE_HOST', "localhost");
      /** Databse Port - default: 3306 **/
      define('PLUGIN_FETCHMAIL_DATABASE_PORT', "3306");
      /** Database User. Needs CREATE, INSERT, SELECT, UPDATE rights **/
      define('PLUGIN_FETCHMAIL_DATABASE_USER', "kopano_fetchmail");
      /** Database User Password **/
      define('PLUGIN_FETCHMAIL_DATABASE_USER_PASSWORD', "xxxxxxxx");
      /** Database in which to save fetchmail configuration. Creates a table "fetchmail" **/
      define('PLUGIN_FETCHMAIL_DATABASE', "kopano");
      /** Prefix for the _fetchmail table **/
      define('PLUGIN_FETCHMAIL_DATABASE_PREFIX', "kopano")
      

      And here is my main.cf from Postfix:

      myhostname = ubuntu-hp
      alias_maps = hash:/etc/aliases
      alias_database = hash:/etc/aliases
      mydestination = ubuntu-hp.local, localhost.localdomain, localhost
      relayhost =
      mynetworks = 10.0.0.0/8 192.168.0.0/16 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
      mailbox_size_limit = 0
      recipient_delimiter = +
      inet_interfaces = all
      inet_protocols = all
      virtual_alias_maps = mysql:/etc/postfix/mysql-users.cf
      virtual_mailbox_maps = mysql:/etc/postfix/mysql-users.cf
      virtual_transport = lmtp:127.0.0.1:2003
      virtual_mailbox_domains = ubuntu-hp.local
      sender_dependent_relayhost_maps = hash:/etc/postfix/relaymap
      smtp_sender_dependent_authentication = yes
      smtp_sasl_auth_enable = yes
      smtp_sasl_password_maps = hash:/etc/postfix/passes
      smtp_sasl_security_options = noanonymous
      smtp_sasl_tls_security_options = noanonymous
      

      mysql-users.cf

      user = kopano
      password = xxxxxx
      hosts = 127.0.0.1
      dbname = kopano
      query = SELECT value FROM objectproperty where propname = 'emailaddress' and value = '%s';
      
      

      I have deleted my last code section about phpmyadmin issue, as it seems a general incompatibility, but nothing specific for fetchmail.

      A Former User 1 Reply Last reply Reply Quote 0
      • A Former User
        A Former User @Guest last edited by

        @hoinz_p
        I have now spent almost half an hour studying the mail.log.
        It seems that postfix is unable to deliver the received mail internally, and therefore tries to send a “unreachable” reply to the sender of the mail.
        This sounds very much like the problem with “fetchmail not capable to handle virtual users” problem - I thought this should be solved with the fetchmail plugin?
        Any hints from the experienced folks here?
        Thanks!

        1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels Kopano last edited by

          Hi @hoinz_p,

          if you suspected an issue in the plugin itself I would recommend to open up an issue on the upstream github repository. I don’t think that the plugin author checks in regularly here.

          As for your message in the postfix logging would propose to post the exact message here so others unfamiliar with the plugin may help as well.

          Regards Felix

          Resources:
          https://kopano.com/blog/how-to-get-kopano/
          https://documentation.kopano.io/
          https://kb.kopano.io/

          Support overview:
          https://kopano.com/support/

          1 Reply Last reply Reply Quote 0
          • A Former User
            A Former User last edited by A Former User

            Hello, Felix,

            thanks for looking into my issue.

            Currently I tend to think, that it is rather a wrong setting in postfix. As a history - I come from zarafa+fetchmail, and fetchmail was able to handle local users("poll blabla … is user … here). Kopano obviously cannot do this, at least I tried the same cofig, which worked in zarafa, but it did not in kopano.
            Now I tried the fetchmail plugin, hoping it would overcome this issue.

            As for Postfix - would you kindly look into my mail.log please?
            As a short explanation - I simply sent an eMail from hxxxxx.pxxxx@gmx.de(me) towards txxxxx.pxxxx@gmx.de(my son) and then try to fetch this mail via the fetchmail plugin. Fetching the mail itself works, as I described above.
            However, this mail does not appear in the “Inbox” of my son.

            Here comes my mail.log that was captured in the tiny timeslot between 14:39 and 14:40 today.
            I have xxxed the real eMail adresses, however you ll find that I use GMX. It seems, Kopano tries to send an “undeliverable” message back to the sender, but fails to do so as my Telekom IP is blacklisted. This is normally no issue for me, as I use a relaymap (see postfix config); however I do not understand why the relaymap does not kick in here.
            I am rather interested in your opinion about the local mail delivery; I think the issue with GMX will be no real showstopper.

            How can I upload the mail.log?

            Because there is a limit of 32000 something characters. Despite the log snippet is only for 1 minute, its greater than this limit.

            fbartels 1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano @Guest last edited by

              The best course of action is trimming your logs down if it does not fit into a post ;-) another possibility is to put it into a pastebin or GitHub gist.

              @hoinz_p said in Fetchmail Plugin installed, but no Mails:

              This is normally no issue for me, as I use a relaymap (see postfix config);

              That line is in your posted config, but not your actual map. From what you have told it sounds like it wants to deliver the message back to gmx, since your Mta does not know that the domain/account should be local (which is what a transport map could do).

              Regards Felix

              Resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              Support overview:
              https://kopano.com/support/

              1 Reply Last reply Reply Quote 0
              • A Former User
                A Former User last edited by

                OK another attempt, I removed some verbosity from -vvv to -v ;-)

                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: smtpd_client_event_limit_exceptions: localhost ~? [::1]/128
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: smtpd_client_event_limit_exceptions: ::1 ~? [::1]/128
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 220 ubuntu-hp ESMTP
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: < localhost[::1]: EHLO ubuntu-hp
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_list_match: localhost: no match
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_list_match: ::1: no match
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250-ubuntu-hp
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250-PIPELINING
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250-SIZE 10240000
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250-VRFY
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250-ETRN
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250-STARTTLS
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250-ENHANCEDSTATUSCODES
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250-8BITMIME
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250-DSN
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250 SMTPUTF8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: < localhost[::1]: MAIL FROM:<h***.p***@gmx.de> SIZE=5576
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: extract_addr: input: <h***.p***@gmx.de>
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: smtpd_check_addr: addr=h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: connect to subsystem private/rewrite
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr request = rewrite
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr rule = local
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr address = ""
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 0
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: address
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: address
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: ""
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: (list terminator)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: (end)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: rewrite_clnt: local: "" -> ""
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr request = rewrite
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr rule = local
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr address = h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 0
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: address
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: address
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: (list terminator)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: (end)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: rewrite_clnt: local: h***.p***@gmx.de -> h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr request = resolve
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr sender =
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr address = h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 0
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: transport
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: transport
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: smtp
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: nexthop
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: nexthop
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: recipient
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: recipient
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 4096
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: (list terminator)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: (end)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: resolve_clnt: `' -> `h***.p***@gmx.de' -> transp=`smtp' host=`gmx.de' rcpt=`h***.p***@gmx.de' flags= class=default
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: ctable_locate: install entry key ?h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: extract_addr: in: <h***.p***@gmx.de>, result: h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr request = rewrite
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr rule = local
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr address = double-bounce
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 0
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: address
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: address
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: double-bounce@ubuntu-hp
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: (list terminator)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: (end)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: rewrite_clnt: local: double-bounce -> double-bounce@ubuntu-hp
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: smtpd_check_rewrite: trying: permit_inet_interfaces
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: permit_inet_interfaces: localhost ::1
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: fsspace: .: block size 4096, blocks free 78536303
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: smtpd_check_queue: blocks 4096 avail 78536303 min_free 0 msg_size_limit 10240000
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250 2.1.0 Ok
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: < localhost[::1]: RCPT TO:<T***.p***@gmx.de>
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: extract_addr: input: <T***.p***@gmx.de>
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: smtpd_check_addr: addr=T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr request = rewrite
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr rule = local
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr address = h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 0
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: address
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: address
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: (list terminator)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: (end)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: rewrite_clnt: local: h***.p***@gmx.de -> h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr request = rewrite
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr rule = local
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr address = T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 0
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: address
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: address
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: (list terminator)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: (end)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: rewrite_clnt: local: T***.p***@gmx.de -> T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr request = resolve
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr sender = h***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr address = T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 0
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: transport
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: transport
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: smtp
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: nexthop
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: nexthop
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: mail.gmx.net
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: recipient
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: recipient
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: flags
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 4096
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: private/rewrite socket: wanted attribute: (list terminator)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: (end)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: resolve_clnt: `h***.p***@gmx.de' -> `T***.p***@gmx.de' -> transp=`smtp' host=`mail.gmx.net' rcpt=`T***.p***@gmx.de' flags= class=default
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: ctable_locate: install entry key h***.p***@gmx.de?T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: extract_addr: in: <T***.p***@gmx.de>, result: T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: >>> START Recipient address RESTRICTIONS <<<
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: generic_checks: name=permit_mynetworks
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: permit_mynetworks: localhost ::1
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: mynetworks: localhost ~? 10.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: mynetworks: ::1 ~? 10.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: mynetworks: localhost ~? 192.168.0.0/16
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: mynetworks: ::1 ~? 192.168.0.0/16
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: mynetworks: localhost ~? 127.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: mynetworks: ::1 ~? 127.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: mynetworks: localhost ~? [::ffff:127.0.0.0]/104
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: mynetworks: ::1 ~? [::ffff:127.0.0.0]/104
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: mynetworks: localhost ~? [::1]/128
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: mynetworks: ::1 ~? [::1]/128
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: smtpd_acl_permit: checking smtpd_log_access_permit_actions settings
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_list_match: permit_mynetworks: no match
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: smtpd_acl_permit: smtpd_log_access_permit_actions: no match
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: generic_checks: name=permit_mynetworks status=1
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: >>> END Recipient address RESTRICTIONS <<<
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: >>> START Recipient address RESTRICTIONS <<<
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: generic_checks: name=permit_mynetworks
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: permit_mynetworks: localhost ::1
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: mynetworks: localhost ~? 10.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: mynetworks: ::1 ~? 10.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: mynetworks: localhost ~? 192.168.0.0/16
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: mynetworks: ::1 ~? 192.168.0.0/16
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: mynetworks: localhost ~? 127.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: mynetworks: ::1 ~? 127.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: mynetworks: localhost ~? [::ffff:127.0.0.0]/104
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: mynetworks: ::1 ~? [::ffff:127.0.0.0]/104
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: mynetworks: localhost ~? [::1]/128
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: mynetworks: ::1 ~? [::1]/128
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: smtpd_acl_permit: checking smtpd_log_access_permit_actions settings
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_list_match: permit_mynetworks: no match
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: smtpd_acl_permit: smtpd_log_access_permit_actions: no match
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: generic_checks: name=permit_mynetworks status=1
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: >>> END Recipient address RESTRICTIONS <<<
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: >>> CHECKING Recipient address VALIDATION MAPS <<<
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: ctable_locate: leave existing entry key h***.p***@gmx.de?T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: maps_find: recipient_canonical_maps: T***.p***@gmx.de: not found
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_string: mydestination: gmx.de ~? ubuntu-hp.local
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_string: mydestination: gmx.de ~? localhost.localdomain
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_string: mydestination: gmx.de ~? localhost
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_string: mydestination: gmx.de ~? gmail.com
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_list_match: gmx.de: no match
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: maps_find: recipient_canonical_maps: @gmx.de: not found
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: mail_addr_find: T***.p***@gmx.de -> (not found)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: maps_find: canonical_maps: T***.p***@gmx.de: not found
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_string: mydestination: gmx.de ~? ubuntu-hp.local
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_string: mydestination: gmx.de ~? localhost.localdomain
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_string: mydestination: gmx.de ~? localhost
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_string: mydestination: gmx.de ~? gmail.com
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_list_match: gmx.de: no match
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: maps_find: canonical_maps: @gmx.de: not found
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: mail_addr_find: T***.p***@gmx.de -> (not found)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: maps_find: virtual_alias_maps: hash:/etc/postfix/virtual(0,lock|fold_fix|utf8_request): T***.p***@gmx.de = T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: mail_addr_find: T***.p***@gmx.de -> T***.p***@gmx.de
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: before input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping enable_milters
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: after input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: name_mask: sendmail
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: name_mask: verify
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: connect to subsystem public/cleanup
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: public/cleanup socket: wanted attribute: queue_id
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: queue_id
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 93F91DC0075
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: public/cleanup socket: wanted attribute: (list terminator)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: (end)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: send attr flags = 178
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: 93F91DC0075: client=localhost[::1]
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250 2.1.5 Ok
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: < localhost[::1]: DATA
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 354 End data with <CR><LF>.<CR><LF>
                Oct  6 21:47:26 ubuntu-hp postfix/cleanup[12546]: 93F91DC0075: message-id=<trinity-0dba4839-dbfb-422b-86da-e46f99a20776-1570391238434@3c-app-gmx-bap73>
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: public/cleanup socket: wanted attribute: status
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: status
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: 0
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: public/cleanup socket: wanted attribute: reason
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: reason
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute value: (end)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: public/cleanup socket: wanted attribute: (list terminator)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: input attribute name: (end)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 250 2.0.0 Ok: queued as 93F91DC0075
                Oct  6 21:47:26 ubuntu-hp postfix/qmgr[12510]: 93F91DC0075: from=<h***.p***@gmx.de>, size=5877, nrcpt=1 (queue active)
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: < localhost[::1]: QUIT
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: > localhost[::1]: 221 2.0.0 Bye
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: smtpd_client_event_limit_exceptions: localhost ~? 10.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: smtpd_client_event_limit_exceptions: ::1 ~? 10.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: smtpd_client_event_limit_exceptions: localhost ~? 192.168.0.0/16
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: smtpd_client_event_limit_exceptions: ::1 ~? 192.168.0.0/16
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: smtpd_client_event_limit_exceptions: localhost ~? 127.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: smtpd_client_event_limit_exceptions: ::1 ~? 127.0.0.0/8
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: smtpd_client_event_limit_exceptions: localhost ~? [::ffff:127.0.0.0]/104
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: smtpd_client_event_limit_exceptions: ::1 ~? [::ffff:127.0.0.0]/104
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostname: smtpd_client_event_limit_exceptions: localhost ~? [::1]/128
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: match_hostaddr: smtpd_client_event_limit_exceptions: ::1 ~? [::1]/128
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: disconnect from localhost[::1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: master_notify: status 1
                Oct  6 21:47:26 ubuntu-hp postfix/smtpd[12542]: connection closed
                Oct  6 21:47:26 ubuntu-hp postfix/smtp[12547]: 93F91DC0075: to=<T***.p***@gmx.de>, relay=mail.gmx.net[212.227.17.168]:25, delay=0.35, delays=0.08/0.02/0.23/0.02, dsn=5.0.0, status=bounced (host mail.gmx.net[212.227.17.168] said: 530 Authentication required (in reply to MAIL FROM command))
                Oct  6 21:47:27 ubuntu-hp postfix/cleanup[12546]: 0598FDC007A: message-id=<20191006194727.0598FDC007A@ubuntu-hp>
                Oct  6 21:47:27 ubuntu-hp postfix/bounce[12550]: 93F91DC0075: sender non-delivery notification: 0598FDC007A
                Oct  6 21:47:27 ubuntu-hp postfix/qmgr[12510]: 0598FDC007A: from=<>, size=7805, nrcpt=1 (queue active)
                Oct  6 21:47:27 ubuntu-hp postfix/qmgr[12510]: 93F91DC0075: removed
                Oct  6 21:47:27 ubuntu-hp postfix/smtp[12547]: 0598FDC007A: host mx00.emig.gmx.net[212.227.15.9] refused to talk to me: 554-gmx.net (mxgmx017) Nemesis ESMTP Service not available 554-No SMTP service 554-IP address is black listed. 554 For explanation visit http://postmaster.gmx.com/en/error-messages?ip=84.152.102.18&c=bl
                Oct  6 21:47:27 ubuntu-hp postfix/smtp[12547]: 0598FDC007A: to=<h***.p***@gmx.de>, relay=mx01.emig.gmx.net[212.227.17.5]:25, delay=0.19, delays=0.02/0/0.16/0, dsn=4.0.0, status=deferred (host mx01.emig.gmx.net[212.227.17.5] refused to talk to me: 554-gmx.net (mxgmx116) Nemesis ESMTP Service not available 554-No SMTP service 554-IP address is black listed. 554 For explanation visit http://postmaster.gmx.com/en/error-messages?ip=84.152.102.18&c=bl)
                Oct  6 21:47:31 ubuntu-hp postfix/smtpd[12542]: proxymap stream disconnect
                Oct  6 21:47:31 ubuntu-hp postfix/smtpd[12542]: auto_clnt_close: disconnect private/tlsmgr stream
                Oct  6 21:47:31 ubuntu-hp postfix/smtpd[12542]: rewrite stream disconnect```
                1 Reply Last reply Reply Quote 0
                • A Former User
                  A Former User last edited by

                  Here comes my relaymap

                  @gmail.com smtp.gmail.com
                  @gmx.de mail.gmx.net
                  (omitted)
                  
                  1 Reply Last reply Reply Quote 0
                  • A Former User
                    A Former User last edited by

                    And here the “passes” file (hint - I have followed an howto issued by C’t in 2012 ;-) still a working solution for Zarafa …)

                    xxxxxxxx@gmail.com xxxxxxxx@gmail.com:******
                    T****.p***@gmx.de T****.p***@gmx.de:******```
                    1 Reply Last reply Reply Quote 0
                    • A Former User
                      A Former User last edited by A Former User

                      So, for outbound mails it works like this: If I am logged in to Kopano with my son’s login, then postfix uses smtp.gmx.net and submits the mail with GMX as relay - no blacklisting happens.
                      This is operational, and this is the way it worked for me since 2012 - in Zarafa.

                      My most recent working fetchmail config worked like this:

                      /etc/fetchmailrc
                      
                      set daemon 120
                      poll pop.gmx.net protocol pop3 interval 1 user "h*******@gmx.de" password "******" is heinrich here ssl 
                      

                      And this “here” seems no longer to work.

                      That is the reason, why I tried the fetchmail plugin, as my understanding was, that it overcomes this “virtual users” issue.

                      fbartels 1 Reply Last reply Reply Quote 0
                      • fbartels
                        fbartels Kopano @Guest last edited by

                        @hoinz_p said in Fetchmail Plugin installed, but no Mails:

                        This is operational, and this is the way it worked for me since 2012 - in Zarafa.
                        My most recent working fetchmail config worked like this:
                        […]
                        And this “here” seems no longer to work.

                        I would then recommend instead of trying to follow an old “howto” to compare configuration between your old and new server. most likely users on your new server are named differently (or are using at least a different mail domain). From the way that mail is delivered to Kopano there has been no major changes since Zarafa. You still need to make sure that your MTA can resolve the user and pass them on to kopano-dagent.

                        From the logging it looks like the fetchmail plugin wants to deliver mails to the email address of the user (which is generally good), but as already pointed out earlier your mail system does not know that it should treat @gmx.de as its own and therefore tries to relay them back to gmx itself.

                        Regards Felix

                        Resources:
                        https://kopano.com/blog/how-to-get-kopano/
                        https://documentation.kopano.io/
                        https://kb.kopano.io/

                        Support overview:
                        https://kopano.com/support/

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post