STMP Connection Refused

I'm very new to this, so please bear with me if I'm missing somthing obvious!!

I've just installed Mac OS X Server 10.4.8 and have started the Mail service (as well as AFP and Web).

I've enabled IMAP and SMTP and nothing else.

I'm at a loss because I cannot connect to the SMTP server. If I type "telnet localhost 25" into the terminal I just get Connection Refused - if I try port 143, I successful get the IMAP server. Security settings, as I would expect, don't make any difference.

Thanks in advance for any help - please let me know if you need any more info (although, you might have to tell me where to find it!!)


Ben.

Powerbook G4 (17)

Posted on Feb 16, 2007 8:23 AM

Reply
5 replies

Feb 16, 2007 12:35 PM in response to hc98br

If I type "telnet localhost 25" into the terminal I just get
Connection Refused - if I try port 143, I successful get the
IMAP server.


What happens if instead you type:

telnet localhost. 25

Connection then? Is your firewall turned on?

Russ

Xserve G5 2.0 GHz 2 GB RAM Mac OS X (10.4.8) Apple Hardware RAID, ATTO UL4D, Exabyte VXA-2 1x10 1u

Feb 18, 2007 4:18 AM in response to UptimeJeff

> telnet 127.0.0.1 25
That's basically what I've been doing, so:

postconf -n:
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug peerlevel = 2
enable serveroptions = yes
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox sizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message sizelimit = 0
mydomain_fallback = localhost
mynetworks = 127.0.0.0/8
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd pw_server_securityoptions = cram-md5
smtpd recipientrestrictions = permit sasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpd sasl_authenable = yes
smtpd tls_keyfile =
smtpd use_pwserver = yes
unknown local_recipient_rejectcode = 550


and, master.cf (i've not posted the instructions at the top!):
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
#smtp inet n - n - - smtpd
#smtps inet n - n - - smtpd
# -o smtpd tlswrappermode=yes -o smtpd sasl_authenable=yes
#submission inet n - n - - smtpd
# -o smtpd enforcetls=yes -o smtpd sasl_authenable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
# -o smtp helotimeout=5 -o smtp connecttimeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrusimap argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
cyrus unix - n n - 10 pipe
user=cyrusimap argv=/usr/bin/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient


Many thanks!

Ben

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

STMP Connection Refused

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.