kbajwa wrote:
CentOS 5.2
Postfix 2.3.3 (comes packaged with OS)
Dovecot 1.1.1
Did a fresh install and created a new web site: http://www.imwell-usa.com.
The web site has an email address for 'Contact Us'. When I try to send an
email from the web page (from Win XP PC), I get the following error:
--------
An error occurred while sending mail. The mail server responded: 5.7.1
[EMAIL PROTECTED]: Relay excess denied. Please check the messge
recipient and try again.
--------
The page you mentioned uses a simple mailto: link. This calls the Mail
Client of the machine.
This simply means your client may be misconfigured.
I've sent a test mail and it was not returned. Postfix seems to be
running as it's supposed to.
Brian
I have read both Postfix & Dovecot documentation and have followed their
installation instructions. I believe that my setting for the 'relayhost' are
not correct, however, since I am pretty new, I do not want to make a change
the recommended settings and end up with open relay.
You can try sending an email from: http://www.imwell-usa.com/contact_us.html
page and see the error.
Please let me know what change I need & then I can study the setting on my
own. Below are settings for 'postfix' & 'dovecot':
Thanks,
Kirti
[EMAIL PROTECTED] ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command = /usr/libexec/dovecot/deliver
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = imwell-usa.com
myhostname = mail.imwell-usa.com
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains =
relayhost =
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
[EMAIL PROTECTED] ~]#
[EMAIL PROTECTED] ~]#
[EMAIL PROTECTED] ~]# dovecot -n
# 1.1.1: /etc/dovecot.conf
listen: [*]
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_location: maildir:~/Maildir
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail outlook-ide netscape-eoh
imap_client_workarounds(imap): delay-newmail outlook-ide netscape-eoh
imap_client_workarounds(pop3):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
mechanisms: plain login
passdb:
driver: pam
userdb:
driver: passwd
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: postfix
group: postfix
[EMAIL PROTECTED] ~]#