I've installed postfix on my local development machine (Ubuntu 10.4). I would like to do a test. I've found the following script, but have problems executing it.
telnet 127.0.0.1 25
MAIL FROM: <from-email>
RCPT TO: <recipient-email>
Type message here.
I enter the commands line by line and get the following results:
r7af@r7af-ubuntu:~$ telnet 127.0.0.1 25
Connected to 127.0.0.1.
Escape character is '^]'.
220 r7af-ubuntu ESMTP Sendmail 8.14.3/8.14.3/Debian-9.1ub
untu1; Tue, 6 Jul 2010 17:32:00 +0200; (No UCE/UBE) logging access from: localhost.r7af-ubuntu(OK)-
250-r7af-ubuntu Hello localhost.r7af-ubuntu [127.0.0.1], pleased to meet you
MAIL FROM: firstname.lastname@example.org
451 4.3.0 Temporary system failure. Please try again later.
The error log reports the following:
Jul 6 17:13:40 r7af-ubuntu postfix/master: fatal: bind 0.0.0.0 port 25: Address already in use
Jul 6 17:27:01 r7af-ubuntu sm-mta: NOQUEUE: SYSERR(root): hash map "access": missing map file /etc/mail/access.db: No such file or directory
What can I do to get this working?