Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Postfix and Dovecot, Throttling/Smtpd Error in Syslog

Status
Not open for further replies.

xCaptainMorganx

Programmer
Jun 2, 2007
1
0
0
US
I would appreciate if someone could advise me to the solution of this problem. I am new to mail servers and I am trying to setup Postfix/Dovecot. When I telnet localhost 25 from bash I can connect but the smtpd_banner is not showing and therefore my connection to localhost simply hangs, I am forced to close the terminal tab.

Here are the errors I spot in syslog:
Jun 2 17:15:41 Captains postfix/smtpd[32644]: fatal: open database /etc/aliases.db: No such file or directory
Jun 2 17:15:42 Captains postfix/master[31550]: warning: process /usr/lib/postfix/smtpd pid 32644 exit status 1
Jun 2 17:15:42 Captains postfix/master[31550]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

Here is my main.cf(hostname and origin are changed for forums):

--------------------- begin main.cf ---------------------
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
#delay_warning_time = 4h
myhostname = myorigin = example.com
mydestination = localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

# Virtual mailbox settings
# These settings are advised from virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 5120000000
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql_mailbox_limit_maps.cf
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
relay_domains = proxy:mysql:/etc/postfix/mysql_relay_domains_maps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps
$virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains
$relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
$recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
$virtual_mailbox_limit_maps

virtual_gid_maps = static:8
virtual_uid_maps = static:150
virtual_minimum_uid = 150

# SASL Authentication
#broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_unauth_pipelining,
reject_invalid_hostname,
reject_rbl_client opm.blitzed.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client sbl-xbl.spamhaus.org
smtpd_sasl_auth_enable = yes
#smtpd_sasl_local_domain = $myhostname
#smtpd_sasl_security_options = noanonymous

#smtpd_sasl_exceptions_networks = $mynetworks
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
--------------------- end of main.cf ---------------------

I wasn't sure how much to post so if dovecot.conf is necessary let me know and I will post it. Also, I have commented and uncommented so many things to try to get it working that I have lost my mind and now forgot which to uncomment again. Of course, if there are other config files you need to see please let me know. Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top