Mittwoch, 8. April 2015

postfix on ubuntu 14.04 send and recieve mails slowly

Was looking why my server seems to always takes about 10 seconds till I can send my email via my client (Thunderbird) after an established connection. Also mail recieving took about 10s till it is delivered. I increased smtpd_tls_loglevel in /etc/postfix/main.cf to 4 and the transfer got stuck at
Apr 8 14:32:15 server postfix/smtpd[23321]: Read 28 chars: RCPT TO:?? Apr 8 14:32:25 server postfix/smtpd[23321]: warning: 1.111.11.111.dnsbl.njabl.org: RBL lookup error: Host or domain name not found. Name service error for name=1.111.11.111.dnsbl.njabl.org type=A: Host not found, try again
Exactly always 10 seconds, strange. So I looked up the error and found out, that the error is the Client reject table in the main.cf. I had there
smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client dnsbl.njabl.org
as mentioned on this site then I changed to
smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl
so only left the last reject_rbl_client and then it worked without the 10s delay! Not forget to decrease loglevel in /etc/postfix/main.cf back from
smtpd_tls_loglevel = 4
to
smtpd_tls_loglevel = 1

Dienstag, 31. März 2015

bob Internet nicht für Fernzugriffe via Ports verwendbar

Hätte bei einem Standort wo nur temporär eine Geburtenüberwachung im Stall stattfinden soll eine IP-Cam aufgestellt und einen Port einfach nach aussen freigegeben. Da mir der bob breitband tarif am sinnvollsten vorkam wählte ich diesen. Danich das Problem mit der Portfreigabe beim mobilen Internet schon öfter hatte wollte ich anrufen und es einfach freischalten lassen. Leider geht das bei bob nichr, da man sich eine öffentkiche IP teilt und intern bei bob nur "geNATet" wird. daher sind nur verbindungen möglich, die von innen aufgebaut wurden... leider, werde eine Rücjabwicklung meines Staeterpakets beantragen Weoterer Link zur Thematik: http://www.tarifecheck.at/forum/viewtopic.php?t=6089

Donnerstag, 1. Januar 2015

Joomgallery: Alle Popups wie Slimbox, Thickbox, Lytebox bleiben beim Laden stehen

Sollte man die Option eingestellt haben, dass die Bilder alle die gleiche Größe bekommen und die Originale gelöscht werden, kann gut sein, dass man vergessen hat, eine Option zu setzen, die eben nicht die Originale anzeigt.

Diese Option findet Ihr unter:
Komponenten->JoomGallery->Konfigurationsmanager->Kategorie-Ansicht->PopUp-Box Orignialbild (JoomGallery-Version 2.1.6)


Mittwoch, 31. Dezember 2014

Joomla Optimized Countdown nur 2-Stellig

Leider hatte der Countdown nur 2 Stellen. Folgendes Mail bekam ich dann von der Herstellerfirma:


In order to make the module show more than 2 digits of days, you have to do the following changes:
1) Go to the (jquery.countdown.js) file, which can be found in the (js) folder inside our module files.
2) In around line (60), simply, change the (-2) for the days slice to be (-3 or -4 or -5) as per your digits needs (only change it for days), and according to this number, add zeros (0) to match the case when the countdown have less days. The result will be something like that: (("000" + days).slice(-4)). In this example, we increased it to show 4 digits, that's why we have three zeros to show even if we have 1 day remaining.
3) Update lines 15 and 16 in the same file (jquery.countdown.js), the format and the startTime must have the same format. in our previous example of 4 digits of days, the results will be something like this:
format: "dddd:hh:mm:ss",
startTime: "0001:12:32:55",

Save the file and close it.
4) This change will require you to update the description below the digits (Days, Hours, ...etc) so it will show under that numbers. For this, you have to go to the (helper.php) file which can be found directly inside our module folder, and go to around line (98) and override the Div style for the Days only, and add special new width to match your needs, so it will appear something like: 
'.$oCDdaysL.'
.

That's it, you will have 4 digits of days, and everything shall work fine.
The result will be something like this:
https://o-sense.com/joomla/ocountdown.html
Feel free to contact us for any further assistance.
Regards.

Vielleicht kanns ja jemand gebrauchen! Eingestellt hab ichs, also funktionieren tuts!