Windows

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Authen:SASL

    5 answers - 826 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    My web host has recently limited the total Cc: and Bcc: recipients to 4 when I
    use sendmail from a Perl script in an attempt to control outgoing spam. They
    tell me I can get around this by using Authen::SASL along with Net::SMTP, but
    offer no clue about how to do this. Can anyone give me an example of how this
    might work? I need to send mail to 7 or 8 people based on events at the website,
    and most need to be CC-ed or Bcc-ed.
    I also note that the download of Authen::SASL 2.09 contains scores of files,
    about 122K in tar form. I will apparently have to have this in my web since my
    web host says they don't have it installed. Any suggestions?
    Thanks,
    Dave
    Perl-Win32-Users mailing list
    Perl-Win32-Users (AT) listserv (DOT) ActiveState.com
    To unsubscribe:
  • No.1 | | 1985 bytes | |

    Message
    From: "David Ressler" <Perl (AT) nettenna (DOT) com>
    To: "Perl List" <perl-win32-users (AT) listserv (DOT) ActiveState.com>
    Sent: Friday, June 17, 2005 5:54 AM
    Subject: Authen:SASL

    My web host has recently limited the total Cc: and Bcc: recipients to 4
    when I
    use sendmail from a Perl script in an attempt to control outgoing spam.
    They
    tell me I can get around this by using Authen::SASL along with Net::SMTP,
    but
    offer no clue about how to do this. Can anyone give me an example of how
    this
    might work? I need to send mail to 7 or 8 people based on events at the
    website,
    and most need to be CC-ed or Bcc-ed.

    Don't know how to use Authen::SASL, but couldn't you also get around the
    problem by having the script loop through a cycle that connects to the mail
    server, sends to 4 recipients, then disconnects ? The script would loop
    through that cycle until mail has been sent to each of the intended
    recipients.

    I also note that the download of Authen::SASL 2.09 contains scores of
    files,
    about 122K in tar form. I will apparently have to have this in my web
    since my
    web host says they don't have it installed. Any suggestions?

    This part is probably not so bad. It's simplest if you are able to get your
    ISP's server to do that installation for you. , since the
    Authen::SASL module is pure perl, it's just a matter of placing the required
    '.pm' files into some location within your "user" directory and then making
    them accessible with the appropriate 'use lib' directive at the start of the
    script. Looks to me that the only Authen::SASL files you'll need to upload
    are the '.pm' files within the 'lib' folder inside the tarball.

    Cheers,
    Rob

    Perl-Win32-Users mailing list
    Perl-Win32-Users (AT) listserv (DOT) ActiveState.com
    To unsubscribe:
  • No.2 | | 903 bytes | |

    approximately 6/16/2005 12:54 PM, came the following characters from
    the keyboard of David Ressler:
    My web host has recently limited the total Cc: and Bcc: recipients to 4 when I
    use sendmail from a Perl script in an attempt to control outgoing spam. They
    tell me I can get around this by using Authen::SASL along with Net::SMTP, but
    offer no clue about how to do this. Can anyone give me an example of how this
    might work? I need to send mail to 7 or 8 people based on events at the website,
    and most need to be CC-ed or Bcc-ed.

    Perhaps, if the list of recipients is not too dynamic, an alias could be
    set up in the servers mail system (presuming the web host also supports
    mail), and perhaps that would be counted as only one recipient by the
    outgoing number of recipients check, but later be expanded to be all of
    them, by the mail delivery system? maybe not.
  • No.3 | | 3669 bytes | |

    Re: looping, 4 at a time - I have tried this, but for several reasons this is
    undesirable, although it is a last-resort tactic.

    Re: the Authen::SASL download - there are 20 .pm modules in the tarball:

    Name Type Modified Size Ratio

    ANNYMUS.pm PM File 4/26/2005 6:34 AM 1,817 0%

    Base.pm PM File 4/26/2005 6:34 AM 841 0%

    Builder.pm PM File 4/26/2005 6:34 AM 18,413 0%

    Can.pm PM File 4/26/2005 6:34 AM 932 0%

    CRAM_MD5.pm PM File 4/26/2005 6:34 AM 352 0%

    CRAM_MD5.pm PM File 4/26/2005 6:34 AM 2,034 0%

    DIGEST_MD5.pm PM File 4/26/2005 6:34 AM 4,223 0%

    EXTERNAL.pm PM File 4/26/2005 6:34 AM 352 0%

    EXTERNAL.pm PM File 4/26/2005 6:34 AM 1,735 0%

    Fetch.pm PM File 4/26/2005 6:34 AM 2,444 0%

    Include.pm PM File 4/26/2005 6:34 AM 410 0%

    Install.pm PM File 4/26/2005 6:34 AM 3,788 0%

    LGIN.pm PM File 4/26/2005 6:34 AM 1,936 0%

    Makefile.pm PM File 4/26/2005 6:34 AM 3,733 0%

    Metadata.pm PM File 4/26/2005 6:34 AM 4,944 0%

    More.pm PM File 4/26/2005 6:34 AM 10,186 0%

    Perl.pm PM File 4/26/2005 6:34 AM 2,236 0%

    PLAIN.pm PM File 4/26/2005 6:34 AM 1,974 0%

    SASL.pm PM File 4/26/2005 6:34 AM 2,452 0%

    Win32.pm PM File 4/26/2005 6:34 AM 1,935 0%

    Note there are 2 sets of pairs (same name, different size). Are they all needed?
    If not, which?

    Message
    From: "Sisyphus" <sisyphus1 (AT) optusnet (DOT) com.au>
    To: "David Ressler" <Perl (AT) nettenna (DOT) com>; "Perl List"
    <perl-win32-users (AT) listserv (DOT) ActiveState.com>
    Sent: Thursday, June 16, 2005 6:07 PM
    Subject: Re: Authen:SASL

    Message
    From: "David Ressler" <Perl (AT) nettenna (DOT) com>
    To: "Perl List" <perl-win32-users (AT) listserv (DOT) ActiveState.com>
    Sent: Friday, June 17, 2005 5:54 AM
    Subject: Authen:SASL

    My web host has recently limited the total Cc: and Bcc: recipients to 4
    when I
    use sendmail from a Perl script in an attempt to control outgoing spam.
    They
    tell me I can get around this by using Authen::SASL along with Net::SMTP,
    but
    offer no clue about how to do this. Can anyone give me an example of how
    this
    might work? I need to send mail to 7 or 8 people based on events at the
    website,
    and most need to be CC-ed or Bcc-ed.

    Don't know how to use Authen::SASL, but couldn't you also get around the
    problem by having the script loop through a cycle that connects to the mail
    server, sends to 4 recipients, then disconnects ? The script would loop
    through that cycle until mail has been sent to each of the intended
    recipients.

    I also note that the download of Authen::SASL 2.09 contains scores of
    files,
    about 122K in tar form. I will apparently have to have this in my web
    since my
    web host says they don't have it installed. Any suggestions?

    This part is probably not so bad. It's simplest if you are able to get your
    ISP's server to do that installation for you. , since the
    Authen::SASL module is pure perl, it's just a matter of placing the required
    '.pm' files into some location within your "user" directory and then making
    them accessible with the appropriate 'use lib' directive at the start of the
    script. Looks to me that the only Authen::SASL files you'll need to upload
    are the '.pm' files within the 'lib' folder inside the tarball.

    Cheers,
    Rob

    Perl-Win32-Users mailing list
    Perl-Win32-Users (AT) listserv (DOT) ActiveState.com
    To unsubscribe:
  • No.4 | | 453 bytes | |

    David Ressler wrote:

    Re: looping, 4 at a time - I have tried this, but for several reasons this is
    undesirable, although it is a last-resort tactic.

    Re: the Authen::SASL download - there are 20 .pm modules in the tarball:

    Note there are 2 sets of pairs (same name, different size). Are they all needed?
    If not, which?

    If you check the paths, you should see the modules with the same
    name go to different directories.
  • No.5 | | 2329 bytes | |

    Message
    From: "David Ressler" <Perl (AT) nettenna (DOT) com>
    To: "Perl List" <perl-win32-users (AT) listserv (DOT) ActiveState.com>
    Sent: Sunday, June 19, 2005 12:16 AM
    Subject: Re: Authen:SASL

    Re: looping, 4 at a time - I have tried this, but for several reasons this
    is
    undesirable, although it is a last-resort tactic.

    Re: the Authen::SASL download - there are 20 .pm modules in the tarball:

    I think it's only the modules listed under "modules" at
    http://search.cpan.org/~gbarr/Authen-SASL-2.09/ that you'll need. And I
    think you'll find that they are the modules in the 'lib' folder within the
    cpan tarball. Looks to me that the other modules are just part of the normal
    installation process and don't play any part in the functionality of the
    module once the 'lib' modules have been installed.

    Here's the list of what got installed when I installed that module (out of
    curiosity):

    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL.pm
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL.pod
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL\EXTERNAL.pm
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL\CRAM_MD5.pm
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL\Perl.pod
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL\Perl.pm
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL\Perl\EXTERN AL.pm
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL\Perl\LGIN.p m
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL\Perl\ANNYMU S.pm
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL\Perl\PLAIN. pm
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL\Perl\DIGEST _MD5.pm
    Installing D:\perl58_M\site\5.8.7\lib\Authen\SASL\Perl\CRAM_M D5.pm

    When you install them, you need to retain those paths from the "Authen\"
    onwards.

    I was thinking it would be a lot simpler for you if there was some
    'perl -MCPAN ' command you could run on your isp's server that would
    fetch and install the module into your chosen location for you. I don't know
    if that's likely to be a viable option.

    Cheers,
    Rob

    Perl-Win32-Users mailing list
    Perl-Win32-Users (AT) listserv (DOT) ActiveState.com
    To unsubscribe:

Re: Authen:SASL


max 4000 letters.
Your nickname that display:
In order to stop the spam: 7 + 6 =
QUESTION ON "Windows"

EMSDN.COM