May 19, 2012, 4:27 am GMT  

Postings

X-Forwarded-For log filtering

The “X-Forwarded-For” is a HTTP header commonly used to pass the original client ip address as the web request traverses through reverse proxy servers. Furthermore, to truly capture the request ip address, the web server must be configured to record the ip address from the X-Forward-For header. If not, the log file will simply show that all requests are coming from the reverse proxy servers that frontend the web servers. (more…)

Filed under: cli-fu — appgirl @ 10:30 am
Comments (2)

Configuring Sendmail to relay through Gmail SMTP

Sending email directly from the MTA (mail transfer agent) on one’s server is now considered to be faux pas. Unless you’ve got that machine configured within DNS (MX record, reverse lookup, etc), it’d likely fail most basic spam checks at the destination mail server. The complexity of the configuration increases if you’ve got the need to masquerade emails from multiple domains. (more…)

Filed under: cli-fu — Tags: , , , , — appgirl @ 12:41 pm
Comments (2)

mutt: changing sender mail address on the fly

Had a need today to adjust the sender email address for a notification script. Since the script uses mutt to send the emails, that change was fairly straight-forward. Instead of modifying .muttrc, simply export the EMAIL environmental variable. (more…)

Filed under: cli-fu — Tags: , , — appgirl @ 7:19 am
Comments (1)
Older Posts »

My Tweets

Fans

AppGirl on Facebook

See What I'm Uncorking

Powered by WordPress