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

postfix email server config problems on the smtp side.

Avatar of ibanja
ibanja asked on
Linux Networking
2 Comments1 Solution825 ViewsLast Modified:
Using Debian, postfix.
I am trying to set up a mail server for the first time ever. I tried to telnet in to see if things where working or not:

pop3 looks good:
# telnet localhost pop3
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK Hello there.
^]
telnet> quit
Connection closed.

But the smtp check doesn't work:
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
^]
telnet> quit
Connection closed.

After getting no response from the mail server I checked /var/log/mail.log
 
I am getting a bunch of messages in /var/log/mail.log that I don't understand. But they seem to me to indicate config problems. They are appending about every 20-40 seconds or so.
 
------------ Log output ------------
# tail -f /var/log/mail.log
 Dec  4 18:39:41 localhost postfix/master[6589]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
 Dec  4 18:40:17 localhost postfix/smtpd[6826]: fatal: dict_open: unsupported dictionary type: default:  Is the postfix-default package installed?
 Dec  4 18:40:18 localhost postfix/master[6589]: warning: process /usr/lib/postfix/smtpd pid 6826 exit status 1
 Dec  4 18:40:18 localhost postfix/master[6589]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
 Dec  4 18:40:41 localhost postfix/pickup[6827]: fatal: dict_open: unsupported dictionary type: default:  Is the postfix-default package installed?
 Dec  4 18:40:41 localhost postfix/qmgr[6828]: fatal: dict_open: unsupported dictionary type: default:  Is the postfix-default package installed?
 Dec  4 18:40:42 localhost postfix/master[6589]: warning: process /usr/lib/postfix/pickup pid 6827 exit status 1
 Dec  4 18:40:42 localhost postfix/master[6589]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
 Dec  4 18:40:42 localhost postfix/master[6589]: warning: process /usr/lib/postfix/qmgr pid 6828 exit status 1
 Dec  4 18:40:42 localhost postfix/master[6589]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
------------ End output ------------

Does any body have any ideas about what is wrong?

------------ /etc/postfix/main.cf ------------

 # cat main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

#smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname = d-desk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key

myorigin = /etc/mailname
mydestination = default: d-desk, d-desk.home.net, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
------------ End main.cf ------------

The hostname of this box is d-desk.

Thanks,
ajnabi
ASKER CERTIFIED SOLUTION
Avatar of infleadorix
infleadorix

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

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