1) Locate your maillog (usually in /var/log)
2) If you cat the file, you’ll get output something like:
Jan 27 01:19:28 145856-web1 postfix/smtp[8994]: DAA77A74568: to=, relay=none,
delay=388925, status=deferred (connect to noemail.org[82.98.86.165]: Connection refused)
3) we want to check for “status=deferred” or “status=bounced”. we’ll do this with the grep command:
grep “status=bounced” /var/log/maillog [...]



Check your line endings!

Tuesday 01/22/2008  –  Category: Uncategorized

I had a problem with a file today that had a bunch of ^M breaks that was causing the class to not load correctly. if you ever run into a problem with a particular file, check your line endings!
“The different newline conventions often cause text files that have been
transferred between systems of different [...]



PHP mail

Tuesday 12/18/2007  –  Category: Uncategorized

How to use the often overlooked fourth parameter while using mail function in php:
bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] )

The additional_parameters parameter can be used to pass [...]



When using flvtool2 to trim flv’s…

Friday 12/14/2007  –  Category: Uncategorized

Use the -a switch to collapse space between cut regions (i.e. resets duration and keyframes from 0)



Rails database migrations for production

Friday 11/30/2007  –  Category: Uncategorized

To properly rake your database migrations to a production database, use:
rake db:migrate RAILS_ENV=production



 Page 13 of 13  « First  ... « 9  10  11  12  13