Loading ...
Sorry, an error occurred while loading the content.

Re: Problem sending emails to virtual users

Expand Messages
  • SONNY LASKAR
    Hello, *Output of telnet command:* [root@server1 ~]# telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is ^] . 220
    Message 1 of 8 , May 27, 2013
    • 0 Attachment
      Hello,
      Output of telnet command:
      [root@server1 ~]# telnet 127.0.0.1 25
      Trying 127.0.0.1...
      Connected to 127.0.0.1.
      Escape character is '^]'.
      220 server1.example.com ESMTP Postfix
      CONNECT foo
      221 2.7.0 Error: I can break rules, too. Goodbye.
      Connection closed by foreign host.

      Output from logs:
      May 28 06:22:00 server1 postfix/smtpd[4588]: connect from localhost.localdomain[                                                                                        127.0.0.1]
      May 28 06:22:30 server1 postfix/smtpd[4588]: warning: non-SMTP command from localhost.localdomain[127.0.0.1]: CONNECT foo
      May 28 06:22:30 server1 postfix/smtpd[4588]: disconnect from localhost.localdomain[127.0.0.1]


      My problem is with sending emails to virtual users. It always says "unknown user".
      Please assist



      On Tue, May 28, 2013 at 4:07 AM, /dev/rob0 <rob0@...> wrote:
      On Tue, May 28, 2013 at 12:05:13AM +0200, Benny Pedersen wrote:
      > SONNY LASKAR skrev den 2013-05-27 20:05:
      > >May 27 21:57:38 server1 postfix/smtpd[2161]: connect from
      > >localhost.localdomain[127.0.0.1]
      > >May 27 21:57:41 server1 postfix/smtpd[2161]: lost connection
      > >after CONNECT from localhost.localdomain[127.0.0.1]
      > >May 27 21:57:41 server1 postfix/smtpd[2161]: disconnect from
      > >localhost.localdomain[127.0.0.1]
      >
      > do you have squid installed ?
      >
      > CONNECT is not an smtp command

      In the context above, CONNECT means that the client had initiated
      the TCP connection, but had not yet given any commands. Non-SMTP
      commands given by a client are specifically logged as such.
      --
        http://rob0.nodns4.us/ -- system administration and consulting
        Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:



      --
      Regards
      Sonny
    • Noel Jones
      ... Welcome to postfix. For assistance please see: http://www.postfix.org/DEBUG_README.html#mail When posting to this list, use plain text only, no html. Do
      Message 2 of 8 , May 28, 2013
      • 0 Attachment
        On 5/27/2013 9:27 PM, SONNY LASKAR wrote:
        >
        > *My problem is with sending emails to virtual users. It always says
        > "unknown user".*
        > Please assist
        >


        Welcome to postfix. For assistance please see:
        http://www.postfix.org/DEBUG_README.html#mail

        When posting to this list, use plain text only, no html.
        Do not top-post.
      • SONNY LASKAR
        I had enabled debug for all queries on mysql but only the following relevant lines were seen: 130528 10:24:07 1924 Connect postfix@localhost on postfix 1924
        Message 3 of 8 , May 28, 2013
        • 0 Attachment
          I had enabled debug for all queries on mysql but only the following
          relevant lines were seen:
          130528 10:24:07 1924 Connect postfix@localhost on postfix
          1924 Query SELECT goto FROM alias WHERE
          address='support@...' AND active = '1'
          1924 Query SELECT goto FROM alias WHERE
          address='support@...' AND active = '1'
          130528 10:24:13 1924 Query SELECT goto FROM alias WHERE
          address='example.com' AND active = '1'
          1925 Connect postfix@localhost on postfix
          1925 Query SELECT domain FROM domain WHERE
          domain='example.com' AND backupmx = '0' AND active = '1'
          1924 Query SELECT goto FROM alias WHERE
          address='ticket@...' AND active = '1'
          1924 Query SELECT goto FROM alias WHERE
          address='example.com' AND active = '1'
          1925 Query SELECT domain FROM domain WHERE
          domain='example.com' AND backupmx = '0' AND active = '1'
          130528 10:24:24 1923 Query SET GLOBAL general_log = 0


          I am not able to figure out why it says unknown user
        • SONNY LASKAR
          I am still not able to figure out how to solve this issue. Please let me know if anyone needs any additional data.
          Message 4 of 8 , May 29, 2013
          • 0 Attachment
            I am still not able to figure out how to solve this issue.
            Please let me know if anyone needs any additional data.
          Your message has been successfully submitted and would be delivered to recipients shortly.