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

Re: your mail

Expand Messages
  • Dibyendra Hyoju
    Hi Stan, I checked the log and I found out that the email was not sent because of authentication issues. But, I checked the /etc/postfix/sasl_passwd and the
    Message 1 of 14 , Jan 28, 2013
    • 0 Attachment
      Hi Stan,

      I checked the log and I found out that the email was not sent because of authentication issues. But, I checked the /etc/postfix/sasl_passwd and the username and password is correct. I copied the same info into my local machine and it's working fine. The log contains following information:

      Jan 28 03:24:35 library postfix/qmgr[6359]: D98DA1C940: from=<speedymailer2011@...>, size=356, nrcpt=1 (queue active)
      Jan 28 03:24:36 library postfix/smtp[6361]: D98DA1C940: SASL authentication failed; server smtp.gmail.com[173.194.64.108] said: 535-5.7.1 Please log in with your web browser and then try again. Learn more at?535 5.7.1 https://support.google.com/mail/bin/answer.py?answer=78754 7sm7386969obu.4 - gsmtp
      Jan 28 03:24:37 library postfix/smtp[6361]: D98DA1C940: to=<dibyendra@...>, relay=smtp.gmail.com[173.194.64.109]:587, delay=6464, delays=6462/0.08/1.1/0, dsn=4.7.1, status=deferred (SASL authentication failed; server smtp.gmail.com[173.194.64.109] said: 535-5.7.1 Please log in with your web browser and then try again. Learn more at?535 5.7.1 https://support.google.com/mail/bin/answer.py?answer=78754 ow7sm5796998obc.20 - gsmtp)

      Any suggestions will be appreciated. Thank you.


      Dibyendra Hyoju


      On Sun, Jan 27, 2013 at 4:35 PM, Stan Hoeppner <stan@...> wrote:
      On 1/27/2013 4:21 AM, Dibyendra Hyoju wrote:

      > Postfix seems to be working but it's not sending email, maybe because of
      > the configurations?
      >
      > root@library:/home/madan# telnet localhost 25
      > Trying 127.0.0.1...
      > Connected to localhost.
      > Escape character is '^]'.
      > 220 library.net.np ESMTP Postfix (Debian/GNU)
      > mail from:speedymailer2011@...
      > 250 2.1.0 Ok
      > rcpt to:dibyendra@...
      > 250 2.1.5 Ok
      > data
      > 354 End data with <CR><LF>.<CR><LF>
      > subject:tst
      > testing from shibb
      > .
      > 250 2.0.0 Ok: queued as AFD841C927
      > quit
      > 221 2.0.0 Bye
      > Connection closed by foreign host.

      Postfix queued the message.  Given the sender and recipient addresses
      you used, it would appear you might be an open relay, which you
      obviously don't want to be.  Check your logs to see if Postfix attempted
      delivery of this msg to gmail.com.  And fix your configuration so
      Postfix won't relay mail to arbitrary domains.

      --
      Stan



    • Stan Hoeppner
      ... Why are you attempting to authenticate with Google? Are you trying to have Google deliver all of your outbound mail? I.e. you are using Google as your
      Message 2 of 14 , Jan 28, 2013
      • 0 Attachment
        On 1/28/2013 3:30 AM, Dibyendra Hyoju wrote:
        > Hi Stan,
        >
        > I checked the log and I found out that the email was not sent because of
        > authentication issues. But, I checked the /etc/postfix/sasl_passwd and the
        > username and password is correct. I copied the same info into my local
        > machine and it's working fine. The log contains following information:
        >
        > Jan 28 03:24:35 library postfix/qmgr[6359]: D98DA1C940: from=<
        > speedymailer2011@...>, size=356, nrcpt=1 (queue active)
        > Jan 28 03:24:36 library postfix/smtp[6361]: D98DA1C940: SASL authentication
        > failed; server smtp.gmail.com[173.194.64.108] said: 535-5.7.1 Please log in
        > with your web browser and then try again. Learn more at?535 5.7.1
        > https://support.google.com/mail/bin/answer.py?answer=78754 7sm7386969obu.4
        > - gsmtp
        > Jan 28 03:24:37 library postfix/smtp[6361]: D98DA1C940: to=<
        > dibyendra@...>, relay=smtp.gmail.com[173.194.64.109]:587, delay=6464,
        > delays=6462/0.08/1.1/0, dsn=4.7.1, status=deferred (SASL authentication
        > failed; server smtp.gmail.com[173.194.64.109] said: 535-5.7.1 Please log in
        > with your web browser and then try again. Learn more at?535 5.7.1
        > https://support.google.com/mail/bin/answer.py?answer=78754ow7sm5796998obc.20
        > - gsmtp)
        >
        > Any suggestions will be appreciated. Thank you.

        Why are you attempting to authenticate with Google? Are you trying to
        have Google deliver all of your outbound mail? I.e. you are using
        Google as your ISP WRT mail delivery? By default Postfix servers
        deliver all mail directly to the destination domain MX.

        --
        Stan


        >
        > Dibyendra Hyoju
        >
        >
        > On Sun, Jan 27, 2013 at 4:35 PM, Stan Hoeppner <stan@...>wrote:
        >
        >> On 1/27/2013 4:21 AM, Dibyendra Hyoju wrote:
        >>
        >>> Postfix seems to be working but it's not sending email, maybe because of
        >>> the configurations?
        >>>
        >>> root@library:/home/madan# telnet localhost 25
        >>> Trying 127.0.0.1...
        >>> Connected to localhost.
        >>> Escape character is '^]'.
        >>> 220 library.net.np ESMTP Postfix (Debian/GNU)
        >>> mail from:speedymailer2011@...
        >>> 250 2.1.0 Ok
        >>> rcpt to:dibyendra@...
        >>> 250 2.1.5 Ok
        >>> data
        >>> 354 End data with <CR><LF>.<CR><LF>
        >>> subject:tst
        >>> testing from shibb
        >>> .
        >>> 250 2.0.0 Ok: queued as AFD841C927
        >>> quit
        >>> 221 2.0.0 Bye
        >>> Connection closed by foreign host.
        >>
        >> Postfix queued the message. Given the sender and recipient addresses
        >> you used, it would appear you might be an open relay, which you
        >> obviously don't want to be. Check your logs to see if Postfix attempted
        >> delivery of this msg to gmail.com. And fix your configuration so
        >> Postfix won't relay mail to arbitrary domains.
      Your message has been successfully submitted and would be delivered to recipients shortly.