Quote:
Originally Posted by archangel_617b
Code:
sudo aptitude install postfix
sudo aptitude remove sendmail
sudo invoke-rc.d postfix start
Or do it through Synaptic / your package manager of choice.
|
Okay, I went through the Ubuntu Server Guide doc to setup mail. I even did what you suggested. But when I try to test, I still get an error message. Is there a different way to test to see if outgoing mail is working? Just not sure if this is the way to do it or not...
tdash@verticalweb:/home/tommy$ sudo aptitude remove sendmail
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages have been kept back:
linux-image-server linux-server ntfs-3g
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
tdash@verticalweb:/home/tommy$ sudo invoke-rc.d postfix start
* Starting Postfix Mail Transport Agent postfix [ OK ]
tdash@verticalweb:/home/tommy$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 verticalweb ESMTP Sendmail 8.14.2/8.14.2/Debian-2build1; Fri, 24 Apr 2009 12:23:41 -0500; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
ehlo localhost
250-verticalweb Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
MAIL FROM: <tdash@localhost>
250 2.1.0 <tdash@localhost>... Sender ok
RCPT TO: <tdnnash25@gmail.com>
250 2.1.5 <tdnnash25@gmail.com>... Recipient ok
data
354 Enter mail, end with "." on a line by itself
test
.
421 4.3.0 collect: Cannot write ./dfn3OHNf2E024152 (bfcommit, uid=0, gid=121): No such file or directory
Connection closed by foreign host.