List Info

Thread: Mail-transport




Mail-transport
country flaguser name
France
2007-03-03 04:48:38
I'm trying to run the mail-transport (from CVS) on FC5 and
although it 
is seen as an external component by the Wildfire XMPP
server, it is not 
available in the Service Discovery and the console returns
:

$ sudo python mail.py -c config.xml -D
Sat 03 Mar 2007 11:38:41 - CVS 1.4
Traceback (most recent call last):
   File "mail.py", line 242, in ?
     connection.Process(1)
   File
"/usr/lib/python2.4/site-packages/xmpp/dispatcher.py&qu
ot;, line 122, 
in Process
     self.Stream.Parse(data)
   File
"/usr/lib/python2.4/site-packages/xmpp/simplexml.py&quo
t;, line 351, 
in endtag    self.dispatch(self._mini_dom)
   File
"/usr/lib/python2.4/site-packages/xmpp/dispatcher.py&qu
ot;, line 253, 
in dispatch
     raise UnsupportedStanzaType(name)
UnsupportedStanzaType: iq
Sat 03 Mar 2007 11:38:56 - CVS 1.4
Traceback (most recent call last):
   File "mail.py", line 243, in ?
     transport.mail_check()
   File "mail.py", line 132, in mail_check
     mails = os.listdir(self.watchdir)
OSError: [Errno 2] No such file or directory:
'/home/kael/Maildir/new/'
Sat 03 Mar 2007 11:39:02 - CVS 1.4
Traceback (most recent call last):
   File "mail.py", line 243, in ?
     transport.mail_check()
   File "mail.py", line 132, in mail_check
     mails = os.listdir(self.watchdir)
OSError: [Errno 2] No such file or directory:
'/home/kael/Maildir/new/'
Sat 03 Mar 2007 11:39:08 - CVS 1.4
Traceback (most recent call last):
   File "mail.py", line 243, in ?
     transport.mail_check()
   File "mail.py", line 132, in mail_check
     mails = os.listdir(self.watchdir)
OSError: [Errno 2] No such file or directory:
'/home/kael/Maildir/new/'
Sat 03 Mar 2007 11:39:14 - CVS 1.4
Traceback (most recent call last):
   File "mail.py", line 243, in ?
     transport.mail_check()
   File "mail.py", line 132, in mail_check
     mails = os.listdir(self.watchdir)
OSError: [Errno 2] No such file or directory:
'/home/kael/Maildir/new/'
Sat 03 Mar 2007 11:39:17 - CVS 1.4
Traceback (most recent call last):
   File "mail.py", line 242, in ?
     connection.Process(1)
   File
"/usr/lib/python2.4/site-packages/xmpp/dispatcher.py&qu
ot;, line 119, 
in Process
     if self._owner.Connection.pending_data(timeout):
   File
"/usr/lib/python2.4/site-packages/xmpp/transports.py&qu
ot;, line 189, 
in pending_data
     return select.select([self._sock],[],[],timeout)[0]
error: (4, 'Interrupted system call')
Traceback (most recent call last):
   File "mail.py", line 252, in ?
     connection.disconnect()
   File
"/usr/lib/python2.4/site-packages/xmpp/dispatcher.py&qu
ot;, line 372, 
in disconnect
     while self.Process(1): pass
   File
"/usr/lib/python2.4/site-packages/xmpp/dispatcher.py&qu
ot;, line 122, 
in Process
     self.Stream.Parse(data)
xml.parsers.expat.ExpatError: parsing finished: line 1,
column 334



What am I missing ?

Thanks.

-- 
kael


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xmpppy-devel mailing list
Xmpppy-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmpppy-dev
el

Re: Mail-transport
user name
2007-03-04 02:06:55
There are two issues here:

 - It looks like you have useRouteWrap enabled.  That option
is for
jabberd2 only.
 - You need to run the transport under an account that uses
Maildir
format for it's mailbox. (I  don't use Maildir's, but I've
got a
.forward file that instructs exim to 'save $home/Maildir/'
the
message.

On 3/3/07, kael <kaelalussinan.org> wrote:
> I'm trying to run the mail-transport (from CVS) on FC5
and although it
> is seen as an external component by the Wildfire XMPP
server, it is not
> available in the Service Discovery and the console
returns :
>
> $ sudo python mail.py -c config.xml -D
> Sat 03 Mar 2007 11:38:41 - CVS 1.4
> Traceback (most recent call last):
>    File "mail.py", line 242, in ?
>      connection.Process(1)
>    File
"/usr/lib/python2.4/site-packages/xmpp/dispatcher.py&qu
ot;, line 122,
> in Process
>      self.Stream.Parse(data)
>    File
"/usr/lib/python2.4/site-packages/xmpp/simplexml.py&quo
t;, line 351,
> in endtag    self.dispatch(self._mini_dom)
>    File
"/usr/lib/python2.4/site-packages/xmpp/dispatcher.py&qu
ot;, line 253,
> in dispatch
>      raise UnsupportedStanzaType(name)
> UnsupportedStanzaType: iq
> Sat 03 Mar 2007 11:38:56 - CVS 1.4
> Traceback (most recent call last):
>    File "mail.py", line 243, in ?
>      transport.mail_check()
>    File "mail.py", line 132, in mail_check
>      mails = os.listdir(self.watchdir)
> OSError: [Errno 2] No such file or directory:
'/home/kael/Maildir/new/'
> Sat 03 Mar 2007 11:39:02 - CVS 1.4
> Traceback (most recent call last):
>    File "mail.py", line 243, in ?
>      transport.mail_check()
>    File "mail.py", line 132, in mail_check
>      mails = os.listdir(self.watchdir)
> OSError: [Errno 2] No such file or directory:
'/home/kael/Maildir/new/'
> Sat 03 Mar 2007 11:39:08 - CVS 1.4
> Traceback (most recent call last):
>    File "mail.py", line 243, in ?
>      transport.mail_check()
>    File "mail.py", line 132, in mail_check
>      mails = os.listdir(self.watchdir)
> OSError: [Errno 2] No such file or directory:
'/home/kael/Maildir/new/'
> Sat 03 Mar 2007 11:39:14 - CVS 1.4
> Traceback (most recent call last):
>    File "mail.py", line 243, in ?
>      transport.mail_check()
>    File "mail.py", line 132, in mail_check
>      mails = os.listdir(self.watchdir)
> OSError: [Errno 2] No such file or directory:
'/home/kael/Maildir/new/'
> Sat 03 Mar 2007 11:39:17 - CVS 1.4
> Traceback (most recent call last):
>    File "mail.py", line 242, in ?
>      connection.Process(1)
>    File
"/usr/lib/python2.4/site-packages/xmpp/dispatcher.py&qu
ot;, line 119,
> in Process
>      if self._owner.Connection.pending_data(timeout):
>    File
"/usr/lib/python2.4/site-packages/xmpp/transports.py&qu
ot;, line 189,
> in pending_data
>      return
select.select([self._sock],[],[],timeout)[0]
> error: (4, 'Interrupted system call')
> Traceback (most recent call last):
>    File "mail.py", line 252, in ?
>      connection.disconnect()
>    File
"/usr/lib/python2.4/site-packages/xmpp/dispatcher.py&qu
ot;, line 372,
> in disconnect
>      while self.Process(1): pass
>    File
"/usr/lib/python2.4/site-packages/xmpp/dispatcher.py&qu
ot;, line 122,
> in Process
>      self.Stream.Parse(data)
> xml.parsers.expat.ExpatError: parsing finished: line 1,
column 334
>
>
>
> What am I missing ?
>
> Thanks.
>
> --
> kael
>
>
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys-and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Xmpppy-devel mailing list
> Xmpppy-devellists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xmpppy-dev
el
>


-- 
- Norman Rasmussen
 - Email: normanrasmussen.co.za
 - Home page: http://norman.rasmusse
n.co.za/

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xmpppy-devel mailing list
Xmpppy-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmpppy-dev
el

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )