hi :) i am currently in my final year of study and i am in the process of finishing my tesis project. so, i need some suggestion or opinion from u guys to make my project more perfect :)

my project is something like an email utility. when new incoming email arrive at my server, a program will be invoked to process the email. for example, base on the user defined rules, the email will be filtered and then save into certain folder, or automatically forward that email to another email account.

i have finish doing this program using perl. now my problem is at users part. since i dont have a real domain or mail server, i make assumption that all my users has an account at a pop3 server. they must give me their user ID and password so that i can help them to retrieve their email and process it. when i testing my program, i use fetchmail to retrieve the email from the pop3 server. then i use procmail to invoke my program that i just write and also i use procmail to put the email into default mailbox such as /var/spool/mail/a etc.

but now, i am thinking that this solution may not be appropriate, because a user at my server may has username here as A but his pop3 email account may be abraham@tm.net.my. this will bring problem for me when i want to use procmail to filter the receipeint name and put the email into correct mailbox. further more, it seems like unsecure because they need to give me their user id and password.

so, i am seeking for a better solution. anyone can give me any idea? by the way, if i want to write a script to retrieve pop3 emails for multiple users, what modules can i use?

thank you very very much :)

hweefarn

In reply to how can i retrieve pop3 emails for multiple users and then process it? by hweefarn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.