09.17.05

Building sa-exim on openbsd

Posted in General at 1:55 am

If you’re getting

"Makefile", line 62: Need an operator

when trying to build sa-exim 4.2 on openbsd, do the following two things:

1. Edit the Makefile, on line 59:

@bash -c 'sed "//,$$ d” < [blah blah]'

Change bash to sh. You can use “:set number” in vi to see line numbers.

2. Use gmake instead of make.

09.13.05

Quote

Posted in Quotes at 12:36 pm

Me (after just fixing something…with duct tape): *sigh* Sometimes it does take a rocket scientist.

Mom: Or a man with a big roll of duct tape.

09.12.05

Email

Posted in General at 3:19 am

My mail server is mostly finished, I just switched over the MX record. Man…I know so many IMAP and SMTP commands now (from testing my server), that I could probably check my email over telnet. Squirremail is easier, though…;-)

I was going to make a comment about how I haven’t chcnged the A record yet, and you need to go to tradewind.mattjm.com to see the site hosted on the new server, but this post is being made on the new server…so, consider yourself warmly welcomed when you read this.

09.10.05

SSL, TLS, STARTTLS, Courier IMAP, Squirrelmail

Posted in General at 10:24 pm

I can’t find any good documentation on SSL/TLS and courier-imap’s imapd and imapd-ssl daemons, so I’m taking a crack at it. First, some background on TLS and SSL.

TLS is the newst version of SSL, ie. SSLv1 < SSLv2 < SSLv3 < TLSv1. So, TLS is actually better than SSL.

They work the same way…most of the time. SSL and TLS can both be negotiated as encrypted connections…meaning that the connection starts talking TLS or SSL as soon as it is made. This is what you’ll see over port 993 most of the time.

Additionally, TLS can begin AFTER the connection is made. That is, you would negotiate an unencrypted connection (say over the standard 143 IMAP port) discover that the server supports STARTTLS, send the STARTTLS command, and then begin speaking TLS.

Normally these finer points aren’t important, but if you’re trying to setup courier IMAP you can run into some glitches. Now, I’m running OpenBSD 3.7 with courier-imap-3.0.5p2 installed from the BSD ports tree. This is the operation I’ve observed on MY system, your mileage may vary.

the imapd-ssl.rc script runs a process that only speaks TLS or SSL, so you have to connect using SSL or TLS. This script does not implement STARTTLS. If you want to use STARTTLS, keep reading. the imad-ssl.rc script will run SSL or TLS over the port specified in SSLPORT (usually 993.

The courier documentation led me to believe that /etc/courier-imap/imapd-ssl only affects the behavior of the imapd-ssl process. This is not the case on my system. The STARTTLS settings in imapd-ssl affect the normal imapd process. If IMAPDSTARTTLS=YES, then starttls is advertised when the server advertises CAPABILITY. If IMAP_TLS_REQUIRED=1, then the client MUST send STARTTLS in order to login. If IMAP_TLS_REQUIRED=0, then STARTTLS is optional.

So, if you want to use STARTTLS, run imapd, but configure /etc/courier-imap/imapd-ssl. If you want SSL/TLS to begin immediately on connection, run imapd-ssl (still configure imapd-ssl, but the TLS settings won’t have any effect).

Squirremail doesn’t support STARTTLS, so you’ll need to either run TLS on port 993 (Squirrelmail doesn’t support SSL), or make STARTTLS optional on 143. STARTTLS optional means squirrelmail would be talking plainly to the server, this is BAD if your IMAP server is not localhost. I’m not aware of any security concerns for an unencrypted connection to localhost, though. PLEASE correct me if I’m wrong.

  • on line drug store
  • taking diflucan
  • newest approved drugs
  • overdose klonopin
  • about viagra
  • klonopin overdose
  • treatment for breast cancer
  • oral anti-biotics
  • natural breast enhancements
  • viagra online store
  • flu treatment alternative
  • pain meds without prescription
  • buy cialis online uk
  • preventing hair loss
  • natural arthritis cure
  • fat burn
  • dog anxiety
  • high blood cholesterol
  • cialis herbal
  • generic pain medication
  • back pain relief product
  • benicar dosage
  • diabetes health care
  • soma saturday shipping
  • pregnancy and weight loss
  • buy discount cialis
  • ankylosing spondylitis
  • effects of high blood pressure
  • hair loss symptoms
  • discount canadian pharmacy
  • medical weight loss pill
  • cancer medicines
  • free weight loss diets
  • treatment of constipation
  • wrinkle face
  • metformin generic
  • side effects soma
  • improve sleep
  • cure hypothyroidism
  • asthma attack treatment
  • alzheimers treatment
  • cholesterol lowing drugs
  • top ten acne products
  • cialis buy
  • hair loss home remedy
  • muscle and joint pain
  • body building product
  • blood pressure medicine
  • dog skin
  • viagra coverage california
  • baby acne
  • neurontin medication
  • perscription drugs
  • pet drugs
  • dietary pills
  • online stop smoking support
  • best weight loss pills
  • how to use viagra
  • no prescription needed pharmacies
  • buy diabetes medicine
  • lipitor effects
  • diet pill rx
  • treatments for prostate cancer
  • new diabetes drug
  • diabetes meds
  • hair loss drug
  • itching relief
  • weight loss fast
  • order zoloft
  • canada med store
  • drugs online
  • psoriasis remedies
  • pain pills cheap
  • depression pills
  • dog care products
  • living with heart failure
  • how to buy viagra online
  • dementia treatment
  • weight loss support
  • weight loss stuff for free
  • skin diseases
  • medicine for constipation
  • jelly kamagra
  • natural remedy for hair loss
  • antibiotics gonorrhea
  • discount prescription medications
  • cialis 5
  • gout medicine
  • plan b safe
  • treatment for increased heart rate
  • suffering produces endurance
  • care of a cat
  • proven weight loss
  • prescription medicine prices
  • buy viagra soft online
  • cheap weight loss
  • good guide health womans
  • cephalexin prescription
  • anti-biotic
  • viagra for her
  • discount drug store
  • phentermine online prescription
  • cure scabies
  • online pharmacy in canada
  • cheap arthritis medications
  • treatment to stop smoking
  • cheap drugs for depression
  • skin solution
  • healthcare pharmacy
  • pet health care information
  • cialis 30 oral
  • how to have more erections
  • cheap birth control online
  • products back pain
  • cialis viagra online
  • nolvadex no prescription
  • beta blocker uses
  • malaria medicines
  • prescription drugs on line
  • buy cialis free shipping
  • diabetes drug
  • erythromycin penicillin
  • newer blood pressure drugs
  • older dog health
  • constipation cures
  • parasite infestation
  • promethazine tablets
  • dog ear health
  • hair loss medicine
  • ideal pet products
  • discount cialis online
  • scabies treatments
  • free phentermine
  • help for depression
  • vaginal chlamydia
  • clindamycin drug
  • levitra mail no prescription
  • senna constipation
  • international online pharmacies
  • weight loss meds on line
  • aricept dosage
  • recurrent urinary tract infection
  • revatio effects
  • hiv aids treatment
  • increase bus
  • how to relieve lower back pain
  • order no prescription diet pill
  • new treatments for diabetes
  • hair loss hair care information
  • buy avandia
  • medicine to lower heart rate
  • fda tamiflu
  • healthy dog puppy food
  • treatment of acne
  • scabies remedies
  • asthma information
  • whitening teeth
  • buy now cialis
  • pills for acne
  • skin swelling
  • congestive heart failure treatments
  • increase breasts
  • prescription medication
  • drug use and heart failure
  • shoulder pain
  • fluconazole
  • levaquin urinary
  • chest pain home treatment
  • pneumonia vs bronchitis
  • weight loss for children
  • trazodone 100mg
  • acne creams
  • neurontin medication
  • amoxicillin dosages
  • viagra women
  • free prescription drugs
  • online medicine
  • pharmacy drugs
  • diet drugs online
  • discount cialis levitra viagra
  • diet and weight loss product
  • toprol 50mg
  • quit smoking programs
  • neck arthritis
  • bronchitis cure
  • insomnia sleep problems
  • synthroid doses
  • alternative energy products
  • drug for alzheimers
  • chlamydia treatment online
  • dog skin disorder
  • dog stress
  • pet health care advice
  • metformin side effects
  • great weight loss pills
  • hair loss prevention for men
  • cheapest generic levitra
  • alternate herbal viagra
  • cholesterol lowering drugs
  • blood pressure medications