OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
postfix+sasl+dovecot script help!

From: Tudod Ki (tudodki88yahoo.com)
Date: Thu Nov 26 2009 - 03:50:14 CST


postfix+sasl+dovecot script help!

Hi everybody!

I am trying to get the solution for days now, and I don't know what to do really :S

I just want to write a script, what does automatically install postfix, dovecot, and it configures sasl authentication for the clients.

I'm here right now [the script!!]:

####################

http://pastebin.ca/1687824

[I have written the reference howto in the script.]

####################

I run it after a fresh Lenny netinstall, on VirtualBox.

If someone knows, what am I missing, please help me :\

I can see with "netstat -tulpn", that the server is listeing on port 993,955,25.

####################

1.) But: when I want to get the e-mails through imap, with Thunderbird, on another machine, it just waits, and waits, and waits...[and finally it gives this: "Connection to server debian.lan timed out."] :\

logs:
mail.info log: http://pastebin.com/f6c486374
mail.log: http://pastebin.com/f6e60f9b
other logs are empty

####################

2.) When I want to send a message from a testuser to a testuser, with Thunderbird, on the client, it just keeps asking for the password, when I want click send. :S

logs:
mail.info: http://pastebin.com/f1bca774f
mail.log: http://pastebin.com/f5c0be27c
mail.warn: http://pastebin.com/f46806d2f
other logs are empty

####################

Info about the os & softwares [e.g.: "dpkg -l | grep postfix"]: http://pastebin.com/f1d0cefd2

192.168.56.4 is the client
192.168.56.5 is the server
[VirtualBox, Host-Only networking, they can ping each other]

####################

Later I want to use it with Squirrel Mail [plus spam filtering + antivirus], but first, I just want to get it work :(

Thank you for any help :S [_good_ docs, howtos, solution, or anything please! :S :( ]