Dovecot working!

I can’t seem to get Dovecot working, I assume it’s a config problem. I have Virtualmin setup.
The server sends email as PHP Mailer, but I can’t login to the SMTP server.

I’m looking for someone to solve this, since I’m unable to do it.

Please send me a pm.

Here are the configs:

var/log/mysql# dovecot -n

1.2.15: /etc/dovecot/dovecot.conf

OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.4

log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3 imaps pop3s
ssl_listen: *
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_privileged_group: mail
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
auth default:
driver: pam
driver: passwd

When I setup the config of dovecot to accept auth methods other than plain-text it dies.

oot@ithaki:/newbackups/todos.tar.gz# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
debug_peer_level = 1
debug_peer_list =
default_destination_concurrency_limit = 200
default_destination_recipient_limit = 100000
hopcount_limit = 5000000000
ignore_mx_lookup_error = yes
local_destination_concurrency_limit = 5
local_destination_recipient_limit = 1000000000000000
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
message_size_limit = 104857600
milter_default_action = accept
milter_protocol = 2
mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost
myhostname =
mynetworks = [::ffff:]/104 [::1]/128
non_smtpd_milters = inet:localhost:8891
qmgr_message_recipient_limit = 2000000
readme_directory = no
recipient_delimiter = +
smtp_connect_timeout = 60s
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_delay_reject = no
smtpd_error_sleep_time = 5s
smtpd_milters = inet:localhost:8891
smtpd_recipient_limit = 100000
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination permit_inet_interfaces
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual

That’s sounds easy to fix. BTW we don’t have PM here.

Sgrayban!, I know, but I’m stuck!
How do we do it?
My email is my username + @gmail.

Best regards,

I emailed you. Check your spam folder if you didn’t get it.