Stuff…

I know I will forget.

Stuff… header image 4

Entries Tagged as 'Protocols'

Apache browser caching

September 28th, 2010 · No Comments

Tried these values in a .htaccess file to make page speed results better.  Seems to have increased overall responsiveness in browser: <IfModule mod_expires.c> ExpiresActive On ExpiresDefault “access plus 1 seconds” ExpiresByType text/html “access plus 1 seconds” ExpiresByType image/gif “access plus 7 days” ExpiresByType image/jpeg “access plus 7 days” ExpiresByType image/png “access plus 7 days” ExpiresByType [...]

[Read more →]

Tags: Linux · Operating System · Protocols

Top spammers by country

September 22nd, 2010 · No Comments

In the previous post we were Importing country ISO 3166 codes into MySQL database, because, we wanted to run a script over all the junk mail caught in our catch all mailboxes. The script checked the received headers of the email and finds the IP address of the sender.  Then, looks up the country that [...]

[Read more →]

Tags: Networking · Protocols · SMTP

Command output: ERR: authdaemon: s_connect() failed: Permission denied maildrop

August 19th, 2010 · No Comments

Was receiving the following errors in the mail.log after upgrade from Ubuntu 8.04 LTS to Ubuntu 10.4 LTS: Aug 19 12:32:55 mail postfix/pipe[2208]: 88FD22BC84: to=<user@domain>, relay=maildrop, delay=1180, delays=1180/0.02/0/0.04, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/maildrop/bin/maildrop.bin: Temporary authentication failure. ) I had previously installed maildrop from source, but, decided to [...]

[Read more →]

Tags: Linux · Operating System · Protocols · SMTP

Deleting the postfix defer and deferred queues

March 16th, 2010 · No Comments

The /var/spool/postfix/defer and /var/spool/postfix/deferred queues had gone crazy on a server and was filling up the log files with rubbish.  Needed to delete the defer and deferred queues. postsuper -d ALL defer postsuper -d ALL deferred Did the trick nicely.  postsuper(1) appears to be quite helpful for this.

[Read more →]

Tags: Linux · Operating System · Protocols · SMTP

PHP HTML email to Exchange server not displaying in Outlook

March 2nd, 2010 · 1 Comment

Was using Free PHP Formmail Generator : http://phpfmg.sourceforge.net to send the contents of a form and when sending to most mail servers/mail clients it would work great.  When sending to a Microsoft Exchange server the HTML contents of the email was displayed as text (not marked up). Tried this with PHP4 and PHP5 and had [...]

[Read more →]

Tags: Linux · Networking · Operating System · Protocols · SMTP