setting up a local SMTP server

Hi folks,

I’m using Mac OSX 10.7 and need to set up a local SMTP server.
I followed instructions found on this site http://hints.macworld.com/article.php?story=20081217161612647 and set something up locally (using smtp.gmail.com:587)

i am now able to send a test email from the terminal using
printf “Subject: test” | sendmail myEmail@MyDomain.com myEmail@MyDomain.com

Question 1: Will this work?

Question 2: What should i put in under Eggplant > Preferences > Mail > SMTP Server & Authentication?

Question 3: In my eggplant script do i need to reference the smtp_Host ?
sendMail (smtp_host:“what_DoI_Put_Here”, to:"myEmail@MyDomain.com", subject:“Test”, from:"myEmail@MyDomain.com")

Thanks in advance!