Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Testing Postfix

Avatar of R7AF
R7AFFlag for Netherlands asked on
Email ServersEmail ProtocolsLinux Distributions
6 Comments1 Solution1558 ViewsLast Modified:
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
EHLO 127.0.0.1
MAIL FROM: <from-email>
RCPT TO: <recipient-email>
DATA
Type message here.
. <Enter>

http://www.linuxquestions.org/questions/linux-software-2/how-do-you-test-postfix-for-sending-mail-out-106027/

I enter the commands line by line and get the following results:

r7af@r7af-ubuntu:~$ telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 r7af-ubuntu ESMTP Sendmail 8.14.3/8.14.3/Debian-9.1ubuntu1; Tue, 6 Jul 2010 17:32:00 +0200; (No UCE/UBE) logging access from: localhost.r7af-ubuntu(OK)-localhost.r7af-ubuntu [127.0.0.1]
EHLO 127.0.0.1
250-r7af-ubuntu Hello localhost.r7af-ubuntu [127.0.0.1], pleased to meet you
250 ENHANCEDSTATUSCODES
MAIL FROM: me@server.com
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[11352]: fatal: bind 0.0.0.0 port 25: Address already in use
Jul  6 17:27:01 r7af-ubuntu sm-mta[11406]: 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?
ASKER CERTIFIED SOLUTION
Avatar of TobiasHolm
TobiasHolmFlag of Sweden image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answers