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 and set something up locally (using

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

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:"", subject:“Test”, from:"")

Thanks in advance!