Hello Everyone. I have a postfix server running on a virtual machine hosted by vpslink.com. I have followed the following configuration guide to install the system with dovecot, sasl smtpd authentication, and postfix as an mta: http://www.debianadmin.com/debian-ma...rrel-mail.html
(I know it says it's a debian configuration, but it seemed legitimate that I could follow it).
Anyway, in sending email from my primary email account, I have found that roughly 1/2 of the messages are delivered, and 1/2 of them are rejected with a message similar to the following:
I am having trouble understanding what is causing this errant behaviour. It seems to me that godaddy, the dns service that I use, doesn't allow mail through for glasstowerstudios.com, but sometimes it does? I'm not sure how to correct this. I have worked with a number of postfix configurations, and I don't think that it's the postfix configuration that seems to be the problem. Instead, it seems as though the messages aren't getting to postfix to be processed (the logs don't seem to show anything for the messages that are rejected).This is the Postfix program at host mail.cs.umn.edu.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The Postfix program
<scottj@glasstowerstudios.com>: host
mailstore1.secureserver.net[216.69.186.201] said: 550 #5.1.0 Address
rejected scottj@glasstowerstudios.com (in reply to RCPT TO command)
Reporting-MTA: dns; mail.cs.umn.edu
X-Postfix-Queue-ID: 16CE84DEBB
X-Postfix-Sender: rfc822; scottj@cs.umn.edu
Arrival-Date: Sun, 3 Jan 2010 18:14:15 -0600 (CST)
Final-Recipient: rfc822; scottj@glasstowerstudios.com
Original-Recipient: rfc822;scottj@glasstowerstudios.com
Action: failed
Status: 5.0.0
Remote-MTA: dns; mailstore1.secureserver.net
Diagnostic-Code: smtp; 550 #5.1.0 Address rejected scottj@glasstowerstudios.co
Here are my DNS settings:
My configuration files follow. I'm at a complete loss as to why this isn't working. Any help would be greatly appreciated! Thank you,A Records
Host | Points to
@ | 64.79.219.177
dagobah.glasstowerstudios.com | 64.79.219.177
CNAME Records
Host | Points to
mail | dagobah.glasstowerstudios.com
MX Records
Priority | Host | Goes to
10 | @ | mail.glasstowerstudios.com
~Scott
master.cf config file:
main.cf config file:#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - - - - smtpd
# -o content_filter=spamassassin
#submission inet n - - - - smtpd
# -o smtpd_tls_security_level=encrypt
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
# -o milter_macro_daemon_name=ORIGINATING
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
#spamassassin unix - n n - - pipe
# user=spamd argv=/usr/bin/spamc -f -e
# /usr/sbin/sendmail -oi -f ${sender} ${recipient}
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# setup for local generated mails
#append_dot_mydomain = yes
#masquerade_domains = glasstowerstudios.com
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
#readme_directory = no
#html_directory = no
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
# general stuff
myhostname = mail.glasstowerstudios.com
relay_domains = glasstowerstudios.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydomain = glasstowerstudios.com
mydestination = mail.glasstowerstudios.com, mail, localhost, localhost.localdomain, glasstowerstudios.com
relay_host =
mynetworks = 127.0.0.0/8
recipient_delimiter = +
mailbox_size_limit = 0
inet_interfaces = all
home_mailbox = Maildir/
mailbox_command =
# SMTPD Server - old restrictions
smtpd_recipient_limit = 250
smtpd_client_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_tls_cert_file = /etc/ssl/certs/dovecot.crt
smtpd_tls_key_file = /etc/ssl/private/dovecot.key
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_security_level = may
smtpd_tls_auth_only = no
smtpd_tls_log_level =4
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtpd_use_tls = yes
# SMTP Client
smtp_sasl_application_name = smtpd
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
Bookmarks