You donāt bother buddy. This site is done for this purpose
The script in charge to get these info is ~/.fvwm/script/mail.plx. You can call it on the command line and its content is:
[code]#!/usr/bin/perl
use strict;
use Net::POP3;
use Env qw(HOME);
open(POP3FILE, $HOME . ā/.secret_pop3ā) or print āfile!ā and exit;
my $var; my $varVal; my %allVar;
while () {
chomp;
($var,$varVal) = split(/ /);
$allVar{$var} = $varVal;
}
my $pop = Net::POP3->new($allVar{server}, Timeout=>5) or print ānet!ā and exit;
$pop->apop($allVar{login}, $allVar{passwd}) or print āaccount!ā and exit;
my ($undeleted) = $pop->popstat;
print $undeleted;
$pop->quit[/code]
From line 5 to 11, it simply parses the info in you ~/.secret_pop3 file.
At line 12, it opens a socket on the POP3 server with the info it has parsed as āserverā and exit in case of error. This displays net!.
At line 13, it provides the POP3 server with the info it has parsed as āloginā and āpasswdā and exit in case of error. This displays account!.
If there was no error, the remaining part gets stats on the server and print out the number of undeleted mail available on the server.
So, your issue should be in the āloginā or āpasswdā declaration that your declared POP3 server did not understand.
Are you sure itās a POP3 server and not a POP3 SSL server? Because this script only handle regular (and old) POP3 server.
There are still some possibility to handle POP3 SSL (Ultradabios was also looking for something like that) but itās not bases on the old but very widespread libnet module. Here is a link on how to proceed with another PERL module called : Mail::POP3Client
I only assume that it uses SSL because the script works quite well on the POP3 server Iām connected to. Beside, itās an old module (still maintain) and I think we can rely on it. IMHO, having an error while logging seems a normal bahaviour because the login and the password are transmitted ciphered by the SSL socket at authentication timeā¦ though here, Iām not an expert. To be sure of it, check the web of your ISP, they generally provides this kind of details.
Well, Iām not sure to have uderstood you. My ISP provides me with 3 kind of access: a POP3, an IMAP4 and webmail (you are citing webmails, I think). POP3 is really easy to parse and does not require exotic module. Thatās the reason of my little script. To read my mail or to send some, I rely on BALSA a lightweight and fast IMAP4 client. Webmail can be parsed but itās not really natural and each ISP provides its interface. It can be done (using libwww for instance) but it will only be useful for you. Iāve seen PERL modules that were able to parse some: seems too tricky for me.
Allright, it seems more an access problem to me. Did you check the script by calling it directly on the command line? You could also have a look at the execution right.
Thanks again great work on the config. I still have a few things to work out like the mail, volume icons changing, the wifi deal, and for some reason I used the same fvwmanimate settings as you and it was working but now it only animates when I de-iconify, so when I iconify no animation. Oh well
That reminds a post from swim that you can found: here. I guess the answers that follow should lead you on the right track.
One thing though that I havenāt mention already, this configuration comes along with 2 themes,. By default, the theme is set on Smokey, which relies a lot on transparencies, thus requiring a wallpaper properly set to show itās true shape. You can easily switch from one theme to the other by modifying the fvwm_theme environment variable in the main configuration file ~/.fvwm/config.
Should I leave the config file named āconfigā under the ~/.fvwm directory or should I rename it to .fvwm2rc? Iāll be looking at that thread as well
there r more and more mailing systems have turn to IMAP, and I just change a little bit of the mail.plx at pemās conf at .fvwm/script
below is the source , additionally , u need save the IMAP profile in ~/.IMAP_PROFILE , the format is no diff from pemās ~/.secret_pop3 ,
Iāve use Inbox folder, it should comply with ur own mail account;
BTW pem Dont u think it is better to let the dock in ur conf autohide?
Iāve done that ā¦
thanks for all the efforts pem has made.
sorry almost forget, u 'll need also have the package libnet-imap-simple-perl, (ahhhā¦, it seems to be this name, can be checked online:>)
I apt-get it under debian , a web shows that this package is availiable on all the mirrors of **.debian.org around eu .
#!/usr/bin/perl
use strict;
use Net::IMAP::Simple;
use Env qw(HOME);
open(IMAPFILE, $HOME . "/.IMAP_PROFILE") or print "file!" and exit;
my $var; my $varVal; my %allVar;
while (<IMAPFILE>) {
chomp;
($var,$varVal) = split(/ /);
$allVar{$var} = $varVal;
}
my $server = new Net::IMAP::Simple($allVar{server}) or print "net1!" and exit;
$server->login($allVar{login}, $allVar{passwd}) or print "account!" and exit;
my ($undeleted) = $server->select('Inbox');
print $undeleted;
$server->quit();
the close button does not work properly (this happens while the window is maximized), I mean the 3 fotos (-)(o)(x) of titlebar, the (x) is not shown ,instead, only a complete black rectangle like (-)(o)#. make sense??
well, the failure only occurs in smokey. any idea?
Well, I get your point. Unfortunately, Iām really dry on it
If somebody has any idea on this issue, I would really appreciate. Hereās the incriminated window decoration:
Transluency and shaping do not work together (at least on the 2.5.12). Only transparency and shaping are working. Thatās why I only shape the root menu wich is set as transparent. The other menus are not shaped and set as tanslucent. This one was a bit tricky
Having xcompmgr working on your computer is certainly the hardest part: it hangs on mine if I put the accelerationās āonā .
Well, humm ā¦ The transparency on my theme uses 2 things to work: you must have a backgound properly set and your Fvwm must contained the transparency patch.
For the first condition, there are many background setter out there. I use the one named Esetroot delivered with the Eterm package. This thing is fast enough, though some backgound setter based on Imlib2 should be better (one day I will perhaps take some time to do that ā¦)