Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
ó zfc@sâdZddlZddlZddlZddlZddlZddlZddlZddlZddddgZ ej dZ dZ d dd „ƒYZ e ƒad Zd Zd Zd d„Zdejfd„ƒYZdejfd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdd d„ƒYZd„ZedkrÞeƒZejZdekrÁejdƒZ e!ee e"ƒe#ƒd gƒZ$ee dZn ddl%Z$e&e$eƒZ'e'ej(ej)fej*ej+fƒZ,ej-r¹yddl.Z.Wn+e/k rIej0dIJej1dƒnXe.j2dƒdZ3yej-e3ƒWq¹e4k rµZ5e5jej6kr˜‚nej0dIJej1dƒq¹Xnyej7ƒWqÞe8k rÚqÞXndS(!scAn RFC 2821 smtp proxy. Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]] Options: --nosetuid -n This program generally tries to setuid `nobody', unless this flag is set. The setuid call will fail if this program is not run as root (in which case, use this flag). --version -V Print the version number and exit. --class classname -c classname Use `classname' as the concrete SMTP proxy class. Uses `PureProxy' by default. --debug -d Turn on debugging prints. --help -h Print this message and exit. Version: %(__version__)s If localhost is not given then `localhost' is used, and if localport is not given then 8025 is used. If remotehost is not given then `localhost' is used, and if remoteport is not given, then 25 is used. iÿÿÿÿNt SMTPServertDebuggingServert PureProxyt MailmanProxyisPython SMTP proxy version 0.2tDevnullcBseZd„Zd„ZRS(cCsdS(N((tselftmsg((s/usr/lib64/python2.7/smtpd.pytwriteXtcCsdS(N((R((s/usr/lib64/python2.7/smtpd.pytflushYR(t__name__t __module__RR (((s/usr/lib64/python2.7/smtpd.pyRWs s Rs, cCs;tjttƒIJ|r*tj|IJntj|ƒdS(N(tsyststderrt__doc__tglobalstexit(tcodeR((s/usr/lib64/python2.7/smtpd.pytusagebst SMTPChannelcBs€eZdZdZd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z d „Zd „ZRS(iicCs tjj||ƒ||_||_||_g|_|j|_d|_ d|_ g|_ d|_ tjƒ|_y|jƒ|_Wn:tjk rÅ}|jƒ|dtjkrÁ‚ndSXtdIt|jƒIJ|jd|jtfƒ|jdƒdS(NiRsPeer:s 220 %s %ss (tasynchatt async_chatt__init__t_SMTPChannel__servert_SMTPChannel__connt_SMTPChannel__addrt_SMTPChannel__linetCOMMANDt_SMTPChannel__statet_SMTPChannel__greetingtNonet_SMTPChannel__mailfromt_SMTPChannel__rcpttost_SMTPChannel__datatsockettgetfqdnt_SMTPChannel__fqdnt getpeernamet_SMTPChannel__peerterrortcloseterrnotENOTCONNt DEBUGSTREAMtreprtpusht __version__tset_terminator(Rtservertconntaddrterr((s/usr/lib64/python2.7/smtpd.pyRms*          cCstjj||dƒdS(Ns (RRR-(RR((s/usr/lib64/python2.7/smtpd.pyR-‡scCs|jj|ƒdS(N(Rtappend(Rtdata((s/usr/lib64/python2.7/smtpd.pytcollect_incoming_data‹sc Csøtj|jƒ}tdIt|ƒIJg|_|j|jkró|sZ|jdƒdSd}|j dƒ}|dkr�|j ƒ}d}n$|| j ƒ}||dj ƒ}t |d|dƒ}|så|jd|ƒdS||ƒdS|j|j kr|jdƒdSg}xN|jd ƒD]=}|r\|dd kr\|j|dƒq,|j|ƒq,Wtj|ƒ|_|jj|j|j|j|jƒ}g|_d|_|j|_|jd ƒ|sç|jd ƒn |j|ƒdS( NsData:s500 Error: bad syntaxt iitsmtp_s'502 Error: command "%s" not implementeds451 Internal confusions t.s250 Ok(t EMPTYSTRINGtjoinRR+R,RRR-RtfindtuppertstriptgetattrtDATAtsplitR4tNEWLINER!Rtprocess_messageR&RR R/( RtlinetmethodtitcommandtargR5ttexttstatus((s/usr/lib64/python2.7/smtpd.pytfound_terminator�sP            cCsQ|s|jdƒdS|jr0|jdƒn||_|jd|jƒdS(Ns501 Syntax: HELO hostnames503 Duplicate HELO/EHLOs250 %s(R-RR$(RRH((s/usr/lib64/python2.7/smtpd.pyt smtp_HELOÀs   cCs'|r|jdƒn |jdƒdS(Ns501 Syntax: NOOPs250 Ok(R-(RRH((s/usr/lib64/python2.7/smtpd.pyt smtp_NOOPÊscCs|jdƒ|jƒdS(Ns221 Bye(R-tclose_when_done(RRH((s/usr/lib64/python2.7/smtpd.pyt smtp_QUITÐs cCs„d}t|ƒ}|| jƒ|kr€||jƒ}|sAq€|ddkr€|ddkr€|dkr€|dd!}q€n|S(Nits<>i(RtlenR=R>(RtkeywordRHtaddresstkeylen((s/usr/lib64/python2.7/smtpd.pyt __getaddrÖs ,cCsŒtdI|IJ|r(|jd|ƒnd}|sE|jdƒdS|jr_|jdƒdS||_tdI|jIJ|jdƒdS(Ns ===> MAILsFROM:s501 Syntax: MAIL FROM:
s503 Error: nested MAIL commandssender:s250 Ok(R+t_SMTPChannel__getaddrRR-R(RRHRT((s/usr/lib64/python2.7/smtpd.pyt smtp_MAILãs    cCs“tdI|IJ|js*|jdƒdS|rB|jd|ƒnd}|s_|jdƒdS|jj|ƒtdI|jIJ|jdƒdS(Ns ===> RCPTs503 Error: need MAIL commandsTO:s501 Syntax: RCPT TO:
srecips:s250 Ok(R+RR-RWRR R4(RRHRT((s/usr/lib64/python2.7/smtpd.pyt smtp_RCPTðs   cCsO|r|jdƒdSd|_g|_d|_|j|_|jdƒdS(Ns501 Syntax: RSETRs250 Ok(R-RRR R!RR(RRH((s/usr/lib64/python2.7/smtpd.pyt smtp_RSETýs     cCs[|js|jdƒdS|r1|jdƒdS|j|_|jdƒ|jdƒdS(Ns503 Error: need RCPT commands501 Syntax: DATAs . s#354 End data with .(R R-R@RR/(RRH((s/usr/lib64/python2.7/smtpd.pyt smtp_DATAs     (R R RR@RR-R6RKRLRMRORWRXRYRZR[(((s/usr/lib64/python2.7/smtpd.pyRis    1   cBs#eZd„Zd„Zd„ZRS(cCsª||_||_tjj|ƒy>|jtjtjƒ|j ƒ|j |ƒ|j dƒWn|j ƒ‚n0Xt d|jjtjtjƒƒ||fIJdS(Nis0%s started at %s Local addr: %s Remote addr:%s(t _localaddrt _remoteaddrtasyncoret dispatcherRt create_socketR"tAF_INETt SOCK_STREAMtset_reuse_addrtbindtlistenR(R+t __class__R ttimetctime(Rt localaddrt remoteaddr((s/usr/lib64/python2.7/smtpd.pyRs     cCsQ|jƒ}|dk rM|\}}tdt|ƒIJt|||ƒ}ndS(NsIncoming connection from %s(tacceptRR+R,R(RtpairR1R2tchannel((s/usr/lib64/python2.7/smtpd.pyt handle_accept)s    cCs t‚dS(sIOverride this abstract method to handle messages from the client. peer is a tuple containing (ipaddr, port) of the client that made the socket connection to our smtp port. mailfrom is the raw address the client claims the message is coming from. rcpttos is a list of raw addresses the client wishes to deliver the message to. data is a string containing the entire full text of the message, headers (if supplied) and all. It has been `de-transparencied' according to RFC 821, Section 4.5.2. In other words, a line containing a `.' followed by other text has had the leading dot removed. This function should return None, for a normal `250 Ok' response; otherwise it returns the desired response string in RFC 821 format. N(tNotImplementedError(RtpeertmailfromtrcpttosR5((s/usr/lib64/python2.7/smtpd.pyRC1s(R R RRnRC(((s/usr/lib64/python2.7/smtpd.pyRs  cBseZd„ZRS(cCs\d}|jdƒ}dGHx6|D].}|rJ| rJdG|dGHd}n|GHq!WdGHdS(Nis s%---------- MESSAGE FOLLOWS ----------sX-Peer:is%------------ END MESSAGE ------------(RA(RRpRqRrR5t inheaderstlinesRD((s/usr/lib64/python2.7/smtpd.pyRCLs     (R R RC(((s/usr/lib64/python2.7/smtpd.pyRJscBseZd„Zd„ZRS(c CsŠ|jdƒ}d}x"|D]}|s,Pn|d7}qW|j|d|dƒtj|ƒ}|j|||ƒ}tdI|IJdS(Ns iis X-Peer: %sswe got some refusals:(RAtinsertRBR;t_deliverR+( RRpRqRrR5RtRFRDtrefused((s/usr/lib64/python2.7/smtpd.pyRCZs c Cs ddl}i}yU|jƒ}|j|jd|jdƒz|j|||ƒ}Wd|jƒXWnŸ|jk r’}tdIJ|j}nwt j |j fk r}tdI|j IJt |ddƒ}t |ddƒ} x"|D]} || f|| $sn$           «6(N 8    "