Announcement

Collapse
No announcement yet.

Cyrus dont like fetchmail

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cyrus dont like fetchmail

    Hello,
    next Problem i have to integrate my Freemail Accounts via Fetchmail but fetchmail dont know my users.

    Code:
    Jan 30 19:22:22 server6 fetchmail[4871]: SMTP error: 550 5.1.1 <myuser@localhost>: Recipient address rejected: User unknown in local recipient table
    Jan 30 19:22:23 server6 fetchmail[4871]: mail from MAILER-DAEMON@server6 bounced to postmaster
    How to edit the local recipient table, or is this more to do?
    Fetchmail is working, postmaster has the mails.


    Regards Stefan
    Last edited by Guest; 01-30-2008, 07:58 PM.

  • #2
    A little push, sry


    Stefan

    Comment


    • #3
      Sry for this reply, but i have this problem and no idea to resolv this.
      Please Help

      Stefan

      Comment


      • #4
        I use fetchmail as well, but I don't have any problems. How do you use fetchmail? I start it every twenty minutes by the /etc/crontab file

        The /home/<localuser>/.fetchmailrc looks like this:

        Code:
        poll <remote_mail_server>
             proto <protocol>
             user "<remoteuser>"
             password "<remotepassword>"
             is "<localuser>" here

        Comment


        • #5
          Fetchmail is not the problem, fetchmail fetched the mail mails, but there is no known user, said the log.
          What to do with the recipient table to transport the mails from fetchmail to cyrus.
          In normal configuration, also no OX, there is ok, but wit ox i have this error.

          Stefan

          fetchmail[4871]: SMTP error: 550 5.1.1 <myuser@localhost>: Recipient address rejected: User unknown in local recipient table

          Comment


          • #6
            Does this entry really says "@localhost"? I could imagine that not only the username but also the domain is checked when inserting mails from fetchmail to smtp. If the configured maildomain is not @localhost that would explain some errors. The SMTP server does reject any E-Mail which points to a E-Mail address which is not known.

            Comment


            • #7
              Did you use only Fetchmail and Cyrus? You have to use some kind of MDA (?) on your Machine. Like Sendmail or Postfix.

              In our Case an email take this way Through:

              Fetchmail -> Postfix -> Amavis (Spam and Virus protection) -> Postfix -> Cyrus

              Comment


              • #8
                i use fetchmail postfix cyrus in the OX, with the Hyperion installer

                Stefan

                Comment


                • #9
                  I used
                  user@mail.domain.de
                  user@hostname.domain.de
                  user@domain.de
                  but everytime i have unknown user.
                  Wich is the right syntax for fetchmailrc


                  Stefan

                  Comment


                  • #10
                    A friend was lookung in my configs and change this:

                    /etc/postfix/ox_user_aliases


                    Code:
                    hosts = 127.0.0.1
                    user = openexchange
                    password = schnee76_90
                    dbname = open-xchange-db
                    query = SELECT login2user.uid FROM login2user,user,user_attribute
                            WHERE login2user.cid=1
                            AND user_attribute.name="alias"
                            AND login2user.id=user_attribute.id
                            AND login2user.id=user.id
                            AND user_attribute.value="%s";
                    to
                    Code:
                    hosts = 127.0.0.1
                    user = openexchange
                    password = schnee76_90
                    dbname = open-xchange-db
                    query = SELECT login2user.uid FROM login2user,user,user_attribute
                            WHERE login2user.cid=1
                            AND user_attribute.name="alias"
                            AND login2user.id=user_attribute.id
                            AND login2user.id=user.id;



                    now i can use the another Mailaccounts over fetchmail.
                    Is this change a Problem, when not pls take it in the installer

                    Regards Stefan
                    Last edited by Guest; 02-19-2008, 10:39 PM.

                    Comment


                    • #11
                      My Friend asks:"what for ask on Mysql is this "%s" at the end of this config".

                      Regards Stefan
                      Last edited by Guest; 02-19-2008, 10:36 PM.

                      Comment


                      • #12
                        Hi,

                        the %s is a common way to insert external variables (like a username) to a prepared statement (like a database query).

                        Greetings

                        Comment


                        • #13
                          Can i have a problem through this change?


                          Stefan Kelemen

                          Comment


                          • #14
                            I've written into the Wiki howto fix the Problem




                            and yes with the other solution there will be problems

                            Comment

                            Working...
                            X