[ php-blog-Support Requests-1607988 ] POPfetcher: Posting New Entries by Email doesn't work

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.serendipity.trackers
Message-ID <[email protected]>
Support Requests item #1607988, was opened at 2006-12-03 10:20
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542823&aid=1607988&group_id=75065

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Install Problem (example)
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: POPfetcher: Posting New Entries by Email doesn't work

Initial Comment:
Hello everybody!!

I'm very interested in the possibility to Post New Entries by Email, I've installed the plugin POPfetcher in my system, but it doesn't work at all.

I've configured with this options:


Plugin Type: External  
External Launch Name: popfetcher  
author: webmaster  
Mail Server: 159.23.98.66
Username:  webmaster
Password: webmaster
Restrict e-mail sender: 
Category:    
Upload Directory : /doc/serendipity/mailattachments
Blog flag: Yes
Use plaintext attachments as entry body? No  
First text attachment is entry body: No  
Strip advertisements? No  
Strip text after special string:
Strip HTML Tags from message: No  
Define a string which separates body/extended parts:
Define a string which indicates the text to capture: 
 Publish  
Comments & trackbacks to this entry requires moderation: No  
Allow comments to this entry: Yes  
Delete flag: Yes 
APOP flag: No  
POP3 port: 110    
Timeout:30    


Then I try the link:
http://159.23.98.66/serendipity/index.php?/plugin/popfetcher/

but nothing is executed, the page is white

and the mail remains into webmaster box.

If I get the messages with the Thunderbird mail client, the mails arrives at the Thunderbird without problem, so, the problem is that serendipity doesn't give the mails.....

Anyone could help me? something is wrong in my configuration? Do I need to check anything?

I would be very gratefully if you could help me!!
Thanks a lot and best regards,

Maria


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-12-05 02:35

Message:
Logged In: NO 

http://159.23.98.66/serendipity/feeds/index.rss2    doesn't work
http://159.23.98.66/serendipity/index.php?/feeds/index.rss2 displays:

<?xml version="1.0" encoding="utf-8" ?> 
- <rss version="2.0"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:admin="http://webns.net/mvcb/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
- <channel>
  <title>ALCATEL-LUCENT BLOG</title> 
  <link>http://159.23.98.66/serendipity/</link> 
  <description>Platform</description> 
  <dc:language>en</dc:language> 
  <generator>Serendipity 1.0.4 - http://www.s9y.org/</generator> 
  <pubDate>Tue, 05 Dec 2006 16:09:02 GMT</pubDate> 
- <image>
 
<url>http://159.23.98.66/serendipity/templates/default/img/s9y_banner_small.png</url>

  <title>RSS: ALCATEL-LUCENT BLOG - Platform</title> 
  <link>http://159.23.98.66/serendipity/</link> 
  <width>100</width> 
  <height>21</height> 
  </image>
- <item>
  <title>adjunt</title> 
  <link>http://159.23.98.66/serendipity/archives/19-adjunt.html</link> 
 
<comments>http://159.23.98.66/serendipity/archives/19-adjunt.html#comments</comments>

 
<wfw:comment>http://159.23.98.66/serendipity/wfwcomment.php?cid=19</wfw:comment>

  <slash:comments>0</slash:comments> 
 
<wfw:commentRss>http://159.23.98.66/serendipity/rss.php?version=2.0&type=comments&cid=19</wfw:commentRss>

  <author>[email protected] (webmaster)</author> 
  <content:encoded>adjunt doc</content:encoded> 
  <pubDate>Tue, 05 Dec 2006 17:09:02 +0100</pubDate> 
  <guid
isPermaLink="false">http://159.23.98.66/serendipity/archives/19-guid.html</guid>

  </item>
- <item>
  <title>prova attach</title> 
 
<link>http://159.23.98.66/serendipity/archives/12-prova-attach.html</link>

 
<comments>http://159.23.98.66/serendipity/archives/12-prova-attach.html#comments</comments>

 
<wfw:comment>http://159.23.98.66/serendipity/wfwcomment.php?cid=12</wfw:comment>

  <slash:comments>0</slash:comments> 
 
<wfw:commentRss>http://159.23.98.66/serendipity/rss.php?version=2.0&type=comments&cid=12</wfw:commentRss>

  <author>[email protected] (webmaster)</author> 
  <content:encoded>attach txt<br /> Jo tinc el meu poble com el té
tothom.<br /> No cal pas que digui quin és el meu nom,<br /> ni cal que
les seves virtuts enalteixi<br /> ni les seves gràcies una a una
expliqui,<br /> si una muntanyola li fa de capçal<br /> o vessa ses
planes un riu inmortal,<br /> perquè arreu hi ha ciutats, viles i
pobles,<br /> més grans, més formosos, més bells i més nobles,<br />
però enlloc sentiria el que sento aquí,<br /> on totes les coses em
parlen de mi,<br /> on totes les coses em són conegudes,<br /> i
m'evoquen hores dolçament viscudes.<br /> Quan dic: el meu poble, ja he
dit sa lloança<br /> i perquè l'estimo sense comparança,<br /> que no
conec més amples confins,<br /> que aquestes muntanyes d'alzines i
pins.<br /> Així doncs, ja sap tothom<br /> quin és el meu poble,<br />
quin és el meu nom.</content:encoded> 
  <pubDate>Sun, 03 Dec 2006 23:35:01 +0100</pubDate> 
  <guid
isPermaLink="false">http://159.23.98.66/serendipity/archives/12-guid.html</guid>

  </item>
- <item>
  <title>a veure aquest cron</title> 
 
<link>http://159.23.98.66/serendipity/archives/6-a-veure-aquest-cron.html</link>

 
<comments>http://159.23.98.66/serendipity/archives/6-a-veure-aquest-cron.html#comments</comments>

 
<wfw:comment>http://159.23.98.66/serendipity/wfwcomment.php?cid=6</wfw:comment>

  <slash:comments>0</slash:comments> 
 
<wfw:commentRss>http://159.23.98.66/serendipity/rss.php?version=2.0&type=comments&cid=6</wfw:commentRss>

  <author>[email protected] (webmaster)</author> 
  <content:encoded>funciona??</content:encoded> 
  <pubDate>Sun, 03 Dec 2006 22:53:01 +0100</pubDate> 
  <guid
isPermaLink="false">http://159.23.98.66/serendipity/archives/6-guid.html</guid>

  </item>
- <item>
  <title>ara prova amb el corn</title> 
 
<link>http://159.23.98.66/serendipity/archives/5-ara-prova-amb-el-corn.html</link>

 
<comments>http://159.23.98.66/serendipity/archives/5-ara-prova-amb-el-corn.html#comments</comments>

 
<wfw:comment>http://159.23.98.66/serendipity/wfwcomment.php?cid=5</wfw:comment>

  <slash:comments>0</slash:comments> 
 
<wfw:commentRss>http://159.23.98.66/serendipity/rss.php?version=2.0&type=comments&cid=5</wfw:commentRss>

  <author>[email protected] (webmaster)</author> 
  <content:encoded>cron.................</content:encoded> 
  <pubDate>Sun, 03 Dec 2006 22:51:06 +0100</pubDate> 
  <guid
isPermaLink="false">http://159.23.98.66/serendipity/archives/5-guid.html</guid>

  </item>
- <item>
  <title>una altra prova</title> 
 
<link>http://159.23.98.66/serendipity/archives/4-una-altra-prova.html</link>

 
<comments>http://159.23.98.66/serendipity/archives/4-una-altra-prova.html#comments</comments>

 
<wfw:comment>http://159.23.98.66/serendipity/wfwcomment.php?cid=4</wfw:comment>

  <slash:comments>0</slash:comments> 
 
<wfw:commentRss>http://159.23.98.66/serendipity/rss.php?version=2.0&type=comments&cid=4</wfw:commentRss>

  <author>[email protected] (webmaster)</author> 
  <content:encoded>vinga....</content:encoded> 
  <pubDate>Sun, 03 Dec 2006 22:35:16 +0100</pubDate> 
  <guid
isPermaLink="false">http://159.23.98.66/serendipity/archives/4-guid.html</guid>

  </item>
- <item>
  <title>hola serendipity</title> 
 
<link>http://159.23.98.66/serendipity/archives/2-hola-serendipity.html</link>

 
<comments>http://159.23.98.66/serendipity/archives/2-hola-serendipity.html#comments</comments>

 
<wfw:comment>http://159.23.98.66/serendipity/wfwcomment.php?cid=2</wfw:comment>

  <slash:comments>0</slash:comments> 
 
<wfw:commentRss>http://159.23.98.66/serendipity/rss.php?version=2.0&type=comments&cid=2</wfw:commentRss>

  <author>[email protected] (webmaster)</author> 
  <content:encoded>hola serendipiy</content:encoded> 
  <pubDate>Sun, 03 Dec 2006 22:27:55 +0100</pubDate> 
  <guid
isPermaLink="false">http://159.23.98.66/serendipity/archives/2-guid.html</guid>

  </item>
- <item>
  <title>Pltsup</title> 
  <link>http://159.23.98.66/serendipity/archives/1-Pltsup.html</link> 
  <category>prova1</category> 
 
<comments>http://159.23.98.66/serendipity/archives/1-Pltsup.html#comments</comments>

 
<wfw:comment>http://159.23.98.66/serendipity/wfwcomment.php?cid=1</wfw:comment>

  <slash:comments>1</slash:comments> 
 
<wfw:commentRss>http://159.23.98.66/serendipity/rss.php?version=2.0&type=comments&cid=1</wfw:commentRss>

  <author>[email protected] (webmaster)</author> 
  <content:encoded>Block de pltsup</content:encoded> 
  <pubDate>Sun, 03 Dec 2006 18:31:19 +0100</pubDate> 
  <guid
isPermaLink="false">http://159.23.98.66/serendipity/archives/1-guid.html</guid>

  </item>
  </channel>
  </rss>



[root@sewebt serendipity]# more serendipity_config.inc.php
<?php # $Id: serendipity_config.inc.php 1531 2006-12-01 18:47:23Z
garvinhicking
$
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity
Developer
Team)
# All rights reserved.  See LICENSE file for licensing details

if (!headers_sent()) {
    session_start();
}

if (!defined('S9Y_INCLUDE_PATH')) {
    define('S9Y_INCLUDE_PATH', dirname(__FILE__) . '/');
}
define('S9Y_CONFIG_TEMPLATE',     S9Y_INCLUDE_PATH .
'include/tpl/config_local.i
nc.php');
define('S9Y_CONFIG_USERTEMPLATE', S9Y_INCLUDE_PATH .
'include/tpl/config_persona
l.inc.php');

define('IS_installed', file_exists('serendipity_config_local.inc.php') &&
(files
ize('serendipity_config_local.inc.php') > 0));

if (!defined('IN_serendipity')) {
    define('IN_serendipity', true);
}

include_once(S9Y_INCLUDE_PATH . 'include/compat.inc.php');

// The version string
$serendipity['version']         = '1.0.4';

// Name of folder for the default theme
$serendipity['defaultTemplate'] = 'carl_contest';

// Setting this to 'false' will enable debugging output. All alpa/beta/cvs
snaps
hot versions will emit debug information by default. To increase the debug
level
 (to enable Smarty debugging), set this flag to 'debug'.
$serendipity['production']      = (preg_match('@\-(alpha|beta|cvs)@',
$serendipi
ty['version']) ? false : true);

// Set error reporting
error_reporting(E_ALL & ~E_NOTICE);

if ($serendipity['production'] !== true) {
    if ($serendipity['production'] === 'debug') {
        error_reporting(E_ALL);
    }
    @ini_set('display_errors', 'on');
}

// Default rewrite method
$serendipity['rewrite']         = 'none';



there is no file in uploads directory

I will send the mail that I send to [email protected]

Thanks for all.
Sincerently,
Maria








----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-12-05 02:26

Message:
Logged In: NO 

Thanks a lot garvinhicking.
Whant do you refer when saying: "Does URL rewriting generally work on your
blog?"

When I submitt a post by email with an attach file in my blog, the entry
is:
Monday, December 4. 2006
prova attach doc Posted by webmaster at 00:24

Comments (0) 
Trackbacks (0)

prova attach doc
doc 



The link prova attach doc redirect me to the:
http://159.23.98.66/serendipity/archives/15-prova-attach-doc.html

but in that directory archives there is no file.

You ask me about
http://159.23.98.66/serendipity/index.php?/archives/15-prova-attach-doc.html,
this link works, but not for seeing the file attached, it redirects to me
at the entry "prova attach doc", but the file attached is not there....

I think that this issue is concerning that serendipity doesn't work the
files that I send attached by email....

Is there any way to try it, something to log, etc.....

Have a nice day,
Maria 

----------------------------------------------------------------------

Comment By: Garvin Hicking (garvinhicking)
Date: 2006-12-05 01:43

Message:
Logged In: YES 
user_id=473563
Originator: NO

Hi!

I mean with URL rewriting, when you call your blog
http://yourblog/feeds/index.rss2 does that work? Or does only
http://yourblog/index.php?/feeds/index.rss2 produce the desired URL?

Is there a chance to see your blog online in the internet?

Maybe you can just enter Serendipity configuration and there set "URL
Rewriting" to "NONE".

If via FTP you check your "uploads" directory, is the attached file in
there?

If possible, can you send me the email that you send via POPfetcher to
your blog? With that mail I could try to reproduce the issue. Send the
mail to "garvin at s9y.org"


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-12-05 01:29

Message:
Logged In: NO 

Thanks a lot garvinhicking.
Whant do you refer when saying: "Does URL rewriting generally work on your
blog?"

When I submitt a post by email with an attach file in my blog, the entry
is:
Monday, December 4. 2006
prova attach doc Posted by webmaster at 00:24

Comments (0) 
Trackbacks (0)

prova attach doc
doc 



The link prova attach doc redirect me to the:
http://159.23.98.66/serendipity/archives/15-prova-attach-doc.html

but in that directory archives there is no file.

You ask me about
http://159.23.98.66/serendipity/index.php?/archives/15-prova-attach-doc.html,
this link works, but not for seeing the file attached, it redirects to me
at the entry "prova attach doc", but the file attached is not there....

I think that this issue is concerning that serendipity doesn't work the
files that I send attached by email....

Is there any way to try it, something to log, etc.....

Have a nice day,
Maria 

----------------------------------------------------------------------

Comment By: Garvin Hicking (garvinhicking)
Date: 2006-12-04 00:25

Message:
Logged In: YES 
user_id=473563
Originator: NO

Hi!

Sadly the URL you gave here does not work for me, so I'm in the dark on
that issue. Does URL rewriting generally work on your blog?

Does the link
http://159.23.98.66/serendipity/index.php?/archives/15-prova-attach-doc.html
work in your blog?

Regards,
Garvin

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-12-03 14:23

Message:
Logged In: NO 

I finally solved the problem changing the following:

Upload Directory : mailattach/
Blog flag: Yes
Use plaintext attachments as entry body? No 
First text attachment is entry body: Yes 
Strip advertisements? No 
Strip HTML Tags from message: Yes

But now I've a problem with the attachments sendend via email.....
if I try with a txt file, it is posted as the body of the text in the
blog, it's ok, but if I try with a doc file, it's created a link: 
http://159.23.98.66/serendipity/archives/15-prova-attach-doc.html

but this file doesn't exists!!

Do I need to change some configuration options?

Look at this:

Permalink Entry URL structure:    archives/%id%-%title%.html
Permalink Author URL structure:    authors/%id%-%realname%
Permalink Category URL structure:  categories/%id%-%name%
Permalink RSS-Feed Category URL structure:
feeds/categories/%id%-%name%.rss    
Permalink RSS-Feed Author URL structure:
feeds/authors/%id%-%realname%.rss
Path to archives 
   
Path to archive 
   
Path to categories 
   
Path to authors 
   
Path to unsubscribe comments 
   
Path to delete comments 
   
Path to approve comments 
   
Path to RSS Feeds 
   
Path to single plugin 
   
Path to admin 
   
Path to search 
   



----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-12-03 14:21

Message:
Logged In: NO 

I finally solved the problem changing the following:

Upload Directory : mailattach/
Blog flag: Yes
Use plaintext attachments as entry body? No 
First text attachment is entry body: Yes 
Strip advertisements? No 
Strip HTML Tags from message: Yes

But now I've a problem with the attachments sendend via email.....
if I try with a txt file, it is posted as the body of the text in the
blog, it's ok, but if I try with a doc file, it's created a link: 
http://159.23.98.66/serendipity/archives/15-prova-attach-doc.html

but this file doesn't exists!!

Do I need to change some configuration options?

Look at this:

Permalink Entry URL structure:    archives/%id%-%title%.html
Permalink Author URL structure:    authors/%id%-%realname%
Permalink Category URL structure:  categories/%id%-%name%
Permalink RSS-Feed Category URL structure:
feeds/categories/%id%-%name%.rss    
Permalink RSS-Feed Author URL structure:
feeds/authors/%id%-%realname%.rss
Path to archives 
   
Path to archive 
   
Path to categories 
   
Path to authors 
   
Path to unsubscribe comments 
   
Path to delete comments 
   
Path to approve comments 
   
Path to RSS Feeds 
   
Path to single plugin 
   
Path to admin 
   
Path to search 
   



----------------------------------------------------------------------

Comment By: Garvin Hicking (garvinhicking)
Date: 2006-12-03 12:43

Message:
Logged In: YES 
user_id=473563
Originator: NO

Hi!

Did you try to use
http://159.23.98.66/serendipity/index.php?/plugin/popfetcher instead of
http://159.23.98.66/serendipity/index.php?/plugin/popfetcher/ ?

The ending slash is not configured in your external launch name, so it
might not "catch up".

Regards,
Garvin

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542823&aid=1607988&group_id=75065

-------------------------------------------------------------------------
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
_______________________________________________
php-blog-tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-blog-tracker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.