Hi Guys,
I've been trying to get postfix + dovecot up and running,
and all seemed to be well with the world until I turned on smtp-auth.
Smtp Auth is working, but when I try to send mail to an account on the
server, its rejected.
----- The following addresses had permanent fatal errors -----
<sean at odonnell.nu>
(reason: 554 <sean at odonnell.nu>: Recipient address rejected: Access
denied)
----- Transcript of session follows -----
... while talking to mail.odonnell.nu.:
>>> DATA
<<< 554 <sean at odonnell.nu>: Recipient address rejected: Access denied
554 5.0.0 Service unavailable
<<< 554 Error: no valid recipients
Heres my main.cf and smtpd.conf. if anyone has any tips/suggestions they
would be greatly appreciated.(its on debian sarge btw)
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 = localhost
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_transport = virtual
virtual_mailbox_domains = /etc/postfix/vhosts.txt
virtual_mailbox_base = /var/spool/vmail
virtual_mailbox_maps = hash:/etc/postfix/vmaps.txt
virtual_uid_maps = static:1000
virtual_gid_maps = static:1000
virtual_alias_maps = hash:/etc/postfix/valias.txt
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject
smtpd_sasl_authenticated_header = yes
smtpd_sasl_application_name =smtpd
smtpd_sasl_local_domain = blog.odonnell.nu
broken_sasl_auth_clients=yes
----------------------------------------------------------------------------
--
smtpd.conf
----------------------------------------------------------------------------
-
pwcheck_method: auxprop saslauthd
auxprop_plugin:sasldb
mech_list: plain login
Thanks
Sean
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!