[Tutor] need help to understand terms for desinging a program

Hameed U. Khan hameed.u.khan at gmail.com
Wed Oct 5 21:16:10 CEST 2005


On 10/5/05, paul brian <paul1brian at gmail.com> wrote:
> This is a pretty big question, and it would be easier to answer if you
> can give us more details about what you want to do.
>
> It seems you want to inspect outgoing mails (possibly rewrite their
> addresses?) before the mails are sent out.
>
> If you are looking to send out emails to a list then I suggest looking
> at mailman - a python mailing list manager.
>
> If you want to use python to examine mail messages and do not care
> what mailserver (MTA) you use you could try exim instead of qmail and
> then try exim-python.
> http://botanicus.net/dw/exim-python/exim-4.32py1.html
>
>
>
>
>
> On 10/5/05, Hameed U. Khan <hameed.u.khan at gmail.com> wrote:
> > Hi,
> >  I need to make a program which will accomplish following. I dont
> > need the code. I want to make it myself. But I need guidance from you
> > people because I am not a good programmer. I need help in
> > understanding following terms.
> >
> >   " qmail-queue  reads  a  mail message from descriptor 0.  It
> >       then reads envelope information  from  descriptor  1.   It
> >       places  the  message  into  the  outgoing queue for future
> >       delivery by qmail-send.
> >
> >       The envelope information is  an  envelope  sender  address
> >       followed  by  a list of envelope recipient addresses.  The
> >       sender address is preceded by the letter F and  terminated
> >       by  a  0  byte.  Each recipient address is preceded by the
> >       letter T and terminated by a 0 byte.  The list of  recipi-
> >       ent addresses is terminated by an extra 0 byte.  If qmail-
> >       queue sees end-of-file before the extra 0 byte, it  aborts
> >       without placing the message into the queue."
> >
> >  I want to inspect messages before passing them to actuall qmail-queue
> > program.
> > Thanks in advance for your help.
> > --
> > Regards,
> > Hameed U. Khan
> > Registered Linux User #: 354374
> > _______________________________________________
> > Tutor maillist  -  Tutor at python.org
> > http://mail.python.org/mailman/listinfo/tutor
> >
>
>
> --
> --------------------------
> Paul Brian
> m. 07875 074 534
> t. 0208 352 1741
>

Thanks paul for you quick reply but I have to stick with qmail. I want
to check envelopes when user attempts to send message. Because our
company want to restrict some users to send message to selected
domains only. I've been given this task. Anyway thanks again for your
time.
--
Regards,
Hameed U. Khan
Registered Linux User #: 354374
-
*Computer without Linux is just like the world without computer.*


More information about the Tutor mailing list