×

Loading...
Ad by
  • 予人玫瑰,手有余香:加拿大新天地工作移民诚聘求职顾问&行业导师!
Ad by
  • 予人玫瑰,手有余香:加拿大新天地工作移民诚聘求职顾问&行业导师!

It seems that I saved 10 bucks. ;) The first email was sent to gmail by my sendmail daemon after I spend 8 hours on it. This is the step I get through:

1. setup sendmail forwarding configuraiton
define(`SMART_HOST', `smtp.broadband.rogers.com')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo', `hash /etc/mail/auth/authinfo')dnl

2. install SASLv2, this step takes my 5 hours. Your sendmail will not send SMTP AUTH information without this program installed.

3. add SASL to sendmail bulid program. rebuild sendmail.
4. create auth information
AuthInfo:rogers.com "U:root" "I:user@rogers.com" "P:test"
AuthInfo:yahoo.com "U:root" "I:user@rogers.com" "P:test"
AuthInfo: "U:root" "I:user@rogers.com" "P:test"

5. smile time, and very very tired and need to have a good sleep.

bugfree
Report

Replies, comments and Discussions:

  • 工作学习 / 专业技术讨论 / Rogers block STMP(port 25) packet. My sendmail server can receive email from external, but send failed because all packet was dropped by their firewall. How do you get around this? thanks
    • Okay, I got the first step now. I can use roger mail server to relay mail email. The following is my testing. Now the question how to configure sendmail to do that ...
      • username and password using base64 encode ;)
        %telnet smtp.broadband.rogers.com 587
        Trying 206.190.36.18...
        Connected to smtp-rog.mail.yahoo2.akadns.net.
        Escape character is '^]'.
        220 smtp105.rog.mail.re2.yahoo.com ESMTP
        auth
        504 auth type unimplemented (#5.5.1)
        535 authorization failed (#5.7.0)
        YnVnZnJlZUByb2dlcnMuY29t
        NjY2NjY2502 unimplemented (#5.5.1)

        502 unimplemented (#5.5.1)
        auth login
        334 VXNlcm5hbWU6
        YpVpZpJpZUBpp2ppppMpY29p
        334 UGFzc3dvcmQ6
        abjcjoy8
        235 ok, go ahead (#2.0.0)
        mail from: bugfree@rogers.com
        250 ok
        rcpt to: allanz@gmail.com
        250 ok
        data
        354 go ahead
        subject: rogers
        hello
        data from myself
        thanks
        bye
        .
        250 ok 1122587581 qp 52378
        451 timeout (#4.4.3)
        Connection closed by foreign host.
    • I need to learn how to configure sendmail to use rogers mail server to relay emails. Who can first figure it out than me, I will buy you a lunch ;)
      • It seems that I saved 10 bucks. ;) The first email was sent to gmail by my sendmail daemon after I spend 8 hours on it. This is the step I get through:
        1. setup sendmail forwarding configuraiton
        define(`SMART_HOST', `smtp.broadband.rogers.com')dnl
        define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
        FEATURE(`authinfo', `hash /etc/mail/auth/authinfo')dnl

        2. install SASLv2, this step takes my 5 hours. Your sendmail will not send SMTP AUTH information without this program installed.

        3. add SASL to sendmail bulid program. rebuild sendmail.
        4. create auth information
        AuthInfo:rogers.com "U:root" "I:user@rogers.com" "P:test"
        AuthInfo:yahoo.com "U:root" "I:user@rogers.com" "P:test"
        AuthInfo: "U:root" "I:user@rogers.com" "P:test"

        5. smile time, and very very tired and need to have a good sleep.

        bugfree
        • excellent, thanks for sharing!
        • how about Domino server? i ran into the same problem with Domino web access, could not figure it out. Someone can help?
          • mad google, you will finger it out ;)