Live Scores
Sport Statistics
Movie Stars
Programming
Multimedia
Mobile
Database
Enterprise
in
Postfix
Email Servers
(Entire Site)
Ubuntu Postfix server. Unable to relay mail from external mail clients.
New postfix server setup. I can send mail from the local network just fine. I can send receive from squirrel mail - no problems.
I need to be able to send from a client outside of the local network. When I try to send email I get the following: 554 5.7.1
: Relay access denied
Output of postconf -n:
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
delay_warning_time = 1h
inet_interfaces = all
mailbox_size_limit = 0
masquerade_domains =
maximal_backoff_time = 8000s
maximal_queue_lifetime = 2d
minimal_backoff_time = 1000s
mydestination =
mydomain = domain.com
myhostname = mail.domain.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mynetworks_style = host
myorigin = domain.com
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_helo_timeout = 60s
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client dnsbl.njabl.org
smtpd_delay_reject = yes
smtpd_hard_error_limit = 12
smtpd_helo_required = yes
smtpd_recipient_limit = 1000
smtpd_recipient_restrictio
ns = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated,
reject_non_fqdn_recipient,
reject_unauth_destination,
check_policy_service inet:127.0.0.1:60000, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = smtpd
smtpd_sender_restrictions = permit_sasl_authenticated,
permit_mynetworks, warn_if_reject, reject_non_fqdn_sender, permit
smtpd_soft_error_limit = 3
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-sn
akeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-
snakeoil.k
ey
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_ti
meout = 3600s
tls_random_source = dev:/dev/urandom
virtual_alias_maps = mysql:/etc/postfix/mysql_a
lias.cf
virtual_gid_maps = mysql:/etc/postfix/mysql_g
id.cf
virtual_mailbox_base = /var/spool/mail/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_d
omains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_m
ailbox.cf
virtual_uid_maps = mysql:/etc/postfix/mysql_u
id.cf
This is my first time setting up postfix. Thanks for any help.
Solution: Ubuntu Postfix server. Unable to relay mail from external mail clients.
It looks like the problem may be that SASL does not support reading encrypted passwords from mysql.
Does anyone know how I can work around this?
Or, is there a way to un-encrypt all users passwords and store them in plain text in mysql?
Popular Tags
Tags:
2.3.3
bounce
CentOS
Courier
Debian
email
email server
exchange
google apps
HTML
linux
mail
mail server
mysql
PHP
postfix
Postfix centos
Postfix email
relay
sendmail
SIMPLEXML
slicehost
smtp
SOAP
Spamassasin
Spamassassin
SSL
ubuntu
virtual alias
Browse All Tags