postfix and external mail client integration

I can’t seem to integrate postfix to my mail client (thunderbird). Webmail is working but how come i can’t use it externally???

I tried telnet my.do.main.ip 25 but I can’t connect through it.

I’m using CentOS 5.2 Webmin / Virtualmin.

here’s my main.cf

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/postfix/aliases
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
mail_spool_directory = /var/spool/mail
virtual_alias_maps = hash:/etc/postfix/virtual
sender_canonical_maps = hash:/etc/postfix/sender_canonical

Any ideas? Please help…

I suspect your setup is working well, and that your ISP may be blocking outgoing port 25 (which is common these days).

One way to solve that would be to use your ISP’s port 25 for outgoing email, and connect to your own server for IMAP.

The other possibility would be to enable one of the alternative ports within Postfix – for example, you could enable SMTPS (465) or Submission (587) and configure Thunderbird to use those instead of the authentication you’re using now.

To enable those, log into Virtualmin, click “Webmin” on the top-left, go into Services, then Postfix Mail Server, In there you’ll see Server Processes, where you can enable SMTPS or Submission.

Of course, if you have a firewall on your server, you’ll have to open up those ports there too.
-Eric