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

Re: configure postfix to relay host with yahoo

Expand Messages
  • Noel Jones
    On 5/30/2011 11:45 AM, Nahliel Steinberg wrote: ... The correct entry is the postfix relayhost setting (the postfix nexthop), not the stunnel destination.
    Message 1 of 6 , May 30, 2011
    • 0 Attachment
      On 5/30/2011 11:45 AM, Nahliel Steinberg wrote:
      ...
      > relayhost = [127.0.0.1]:11125
      ...
      > Log says authentification required
      >
      > I configure my sasl_password table :
      >
      > [smtp.mail.yahoo.com]:465 nahliel.steinberg@...:my_passwd(on yahoo)


      The correct entry is the postfix relayhost setting (the
      postfix nexthop), not the stunnel destination.

      [127.0.0.1]:11125 username:password




      -- Noel Jones
    • Nahliel Steinberg
      Tank s you Noel, i change it [127.0.0.1]:11125  username:password and i do hash : postmap sasl_passwd i restart postfix : /etc/init.d/postfix restart an i
      Message 2 of 6 , May 30, 2011
      • 0 Attachment
        Tank's you Noel,

        i change it


        [127.0.0.1]:11125  username:password

        and i do hash : postmap sasl_passwd

        i restart postfix : /etc/init.d/postfix restart

        an i try to send a mail

        log say this, and i think that authentification is ok :


        May 30 19:00:25 osiris postfix/pickup[3167]: 2CEF7281D9F: uid=1001 from=<nahliel>
        May 30 19:00:25 osiris postfix/cleanup[3197]: 2CEF7281D9F: message-id=<20110530170025.GA3171@osiris>
        May 30 19:00:25 osiris postfix/qmgr[3168]: 2CEF7281D9F: from=<nahliel@osiris>, size=476, nrcpt=1 (queue active)
        May 30 19:00:26 osiris postfix/smtp[3199]: 2CEF7281D9F: to=<regis.couraud@...>, relay=127.0.0.1[127.0.0.1]:11125, delay=1.2, delays=0.12/0.01/0.94/0.13, dsn=5.0.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 553 From address not verified - see http://help.yahoo.com/l/us/yahoo/mail/original/manage/sendfrom-07.html (in reply to MAIL FROM command))
        May 30 19:00:26 osiris postfix/cleanup[3197]: 8901F281DA0: message-id=<20110530170026.8901F281DA0@osiris>
        May 30 19:00:26 osiris postfix/qmgr[3168]: 8901F281DA0: from=<>, size=2395, nrcpt=1 (queue active)
        May 30 19:00:26 osiris postfix/bounce[3201]: 2CEF7281D9F: sender non-delivery notification: 8901F281DA0
        May 30 19:00:26 osiris postfix/qmgr[3168]: 2CEF7281D9F: removed
        May 30 19:00:28 osiris postfix/smtp[3199]: 8901F281DA0: to=<nahliel@osiris>, relay=127.0.0.1[127.0.0.1]:11125, delay=1.7, delays=0.06/0/1.4/0.2, dsn=5.0.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 501 Syntax error in arguments (in reply to MAIL FROM command))
        May 30 19:00:28 osiris postfix/qmgr[3168]: 8901F281DA0: removed

        I think the problem is the mail address sender ?

        postfix send my local address : nahliel@osiris and yahoo don't know this address ?

        May 30 19:00:25 osiris postfix/qmgr[3168]: 2CEF7281D9F: from=<nahliel@osiris>, size=476, nrcpt=1 (queue active)

        what must i do to rewrite the good address when my message send ?

        Sorry to my english, is poor





          -- Noel Jones
      • mouss
        ... is an invalid address. try again... you want ...
        Message 3 of 6 , May 30, 2011
        • 0 Attachment
          Le 30/05/2011 19:09, Nahliel Steinberg a écrit :
          > Tank's you Noel,
          >
          > i change it
          >
          >
          > [127.0.0.1]:11125 username:password
          >
          > and i do hash : postmap sasl_passwd
          >
          > i restart postfix : /etc/init.d/postfix restart
          >
          > an i try to send a mail
          >
          > log say this, and i think that authentification is ok :
          >
          >
          > May 30 19:00:25 osiris postfix/pickup[3167]: 2CEF7281D9F: uid=1001 from=<nahliel>
          > May 30 19:00:25 osiris postfix/cleanup[3197]: 2CEF7281D9F: message-id=<20110530170025.GA3171@osiris>
          > May 30 19:00:25 osiris postfix/qmgr[3168]: 2CEF7281D9F: from=<nahliel@osiris>, size=476, nrcpt=1 (queue active)

          <nahliel@osiris> is an invalid address. try again...
          you want <something@...> ...

          > May 30 19:00:26 osiris postfix/smtp[3199]: 2CEF7281D9F: to=<regis.couraud@...>, relay=127.0.0.1[127.0.0.1]:11125, delay=1.2, delays=0.12/0.01/0.94/0.13, dsn=5.0.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 553 From address not verified - see http://help.yahoo.com/l/us/yahoo/mail/original/manage/sendfrom-07.html (in reply to MAIL FROM command))
          > May 30 19:00:26 osiris postfix/cleanup[3197]: 8901F281DA0: message-id=<20110530170026.8901F281DA0@osiris>
          > May 30 19:00:26 osiris postfix/qmgr[3168]: 8901F281DA0: from=<>, size=2395, nrcpt=1 (queue active)
          > May 30 19:00:26 osiris postfix/bounce[3201]: 2CEF7281D9F: sender non-delivery notification: 8901F281DA0
          > May 30 19:00:26 osiris postfix/qmgr[3168]: 2CEF7281D9F: removed
          > May 30 19:00:28 osiris postfix/smtp[3199]: 8901F281DA0: to=<nahliel@osiris>, relay=127.0.0.1[127.0.0.1]:11125, delay=1.7, delays=0.06/0/1.4/0.2, dsn=5.0.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 501 Syntax error in arguments (in reply to MAIL FROM command))
          > May 30 19:00:28 osiris postfix/qmgr[3168]: 8901F281DA0: removed
          >
          > I think the problem is the mail address sender ?
          >
          > postfix send my local address : nahliel@osiris and yahoo don't know this address ?
          >
          > May 30 19:00:25 osiris postfix/qmgr[3168]: 2CEF7281D9F: from=<nahliel@osiris>, size=476, nrcpt=1 (queue active)
          >
          > what must i do to rewrite the good address when my message send ?
          >
          > Sorry to my english, is poor
          >
          >
          >
          >
          >
          > -- Noel Jones
          >
        • Lorens Kockum
          ... [...] ... Exactly. There s also a problem later on with the bounce, though. You can tell postfix to accept the default address generated by your MUA and
          Message 4 of 6 , May 30, 2011
          • 0 Attachment
            On Mon, May 30, 2011 at 06:09:43PM +0100, Nahliel Steinberg wrote:
            > May 30 19:00:25 osiris postfix/qmgr[3168]: 2CEF7281D9F: from=<nahliel@osiris>, size=476, nrcpt=1 (queue active)
            > May 30 19:00:26 osiris postfix/smtp[3199]: 2CEF7281D9F: to=<regis.couraud@...>, relay=127.0.0.1[127.0.0.1]:11125, delay=1.2, delays=0.12/0.01/0.94/0.13, dsn=5.0.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 553 From address not verified - see http://help.yahoo.com/l/us/yahoo/mail/original/manage/sendfrom-07.html (in reply to MAIL FROM command))
            [...]
            >
            > I think the problem is the mail address sender ?

            Exactly. There's also a problem later on with the bounce, though.

            You can tell postfix to accept the default address generated by
            your MUA and rewrite it to the correct address. This is good
            for servers that just have to send out mail (mail from cron
            and things like that), since rewriting is simple; there's just
            one domain. This is what you seem to have tried to do in the
            logs above, but usually the machines that I configure like this
            send all their mail to a smarthost . . . You should configure
            "myorigin" in the configuration file, details at

            http://www.postfix.org/BASIC_CONFIGURATION_README.html

            You can configure postfix to accept only properly qualified
            addresses, and configure the program that you used to inject
            the mail to use the proper address. This is good for ISP
            mail servers that serve a lot of MUA clients (Thunderbird,
            Outlook...) that have different domains.

            Otherwise, you can do something more complicated, but you'll
            need to read

            http://www.postfix.org/ADDRESS_REWRITING_README.html

            Hope this helps.
          • Victor Duchovni
            ... http://www.postfix.org/SOHO_README.html#fantasy -- Viktor.
            Message 5 of 6 , May 31, 2011
            • 0 Attachment
              On Tue, May 31, 2011 at 01:23:23AM +0200, mouss wrote:

              > <nahliel@osiris> is an invalid address. try again...
              > you want <something@...> ...

              http://www.postfix.org/SOHO_README.html#fantasy

              --
              Viktor.
            Your message has been successfully submitted and would be delivered to recipients shortly.