OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
STMP outgoing config. problems

From: Alfredo Mesén (albemuthgmail.com)
Date: Mon Oct 29 2007 - 18:11:31 CDT


Hello, I recently changed my mail server and I'm having some trouble setting
it up. I can recieve email but I'm unable to send through
Thunderbird/Outlook, I can send them from the server using sendmail though
so it seems to me like there must be some authentication problem but I have
had no success messing up with the main.cf.

I can telnet to the mailserver: 25 but when I try to send email from a
Thunterbird/outlook the client keeps prompting for the password over and
over (no matter if I have the "rember passwd" checkbox on) until I get a
"STMP connection refused..." dialog. So I do have access to the server and
the password is correct (since I can retrieve mail) but can't get mail out.

I've checked the maillog and the config files and have no idea what else to
look at, any suggestions are very welcome.

Thanks.

p.s. this is what main.cf looks like (comments removed), please let me know
if additional files would be helpfull

====================================================
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mail.example.com
myorigin = $mydomain
inet_interfaces = all
mydestination = hash:/etc/postfix/mydomains
mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost
local_recipient_maps = unix:passwd.byname $alias_maps
unknown_local_recipient_reject_code = 550
mynetworks_style = host
mynetworks = 123.456.678.901/32, 127.0.0.0/8
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

mail_spool_directory = /var/spool/mail

smtpd_banner = $myhostname ESMTP $mail_name
debug_peer_level = 2
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.2.10/samples
readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
virtual_alias_maps = hash:/etc/postfix/virtual
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtp_sasl_security_options = noplaintext
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks,
reject_unauth_destination
mailbox_size_limit = 256000000
====================================================