Brian Evans - Postfix List wrote:
Hi Brian,
Sorry for newbie mistake. Here is dump of my config as produced by
"postconf -n".
[r...@wutang ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = localhost
myhostname = localhost
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 = mydomain1.com , mydomain2.com
relay_recipient_maps = hash:/etc/postfix/relay_recipients
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtpd_recipient_restrictions = permit_sasl_authenticated
permit_mynetworks reject_unauth_destination
smtpd_sender_restrictions = permit_sasl_authenticated
permit_mynetworks reject_unauth_destination
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/aliases
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/virtual
virtual_mailbox_domains = /etc/postfix/vhosts.txt
virtual_mailbox_maps = hash:/etc/postfix/vmaps.txt
virtual_uid_maps = static:5000
I would just like this server to email server for my company. Imap part
(dovecot) works fine and I can get the emails but the part where I am
using "thunderbird" or outlook to SEND email doesn't work.
Here is dump of my maillog:
Jan 2 00:35:09 localhost postfix/smtpd[3539]: generic_checks:
name=reject_unauth_destination
Jan 2 00:35:09 localhost postfix/smtpd[3539]:
reject_unauth_destination: testu...@hotmail.com
Jan 2 00:35:09 localhost postfix/smtpd[3539]: permit_auth_destination:
testu...@hotmail.com
Jan 2 00:35:09 localhost postfix/smtpd[3539]: ctable_locate: leave
existing entry key testu...@hotmail.com
Jan 2 00:35:09 localhost postfix/smtpd[3539]: NOQUEUE: reject: RCPT
from adsl-71-135-98-129.dsl.pltn13.pacbell.net[71.135.98.129]: 554 5.7.1
<testu...@hotmail.com>: Relay access denied;
from=<testu...@mydomain.com> to=<testu...@hotmail.com> proto=SMTP
helo=<[192.168.74.129]>
Thanks
secSwami wrote:
Hi,
I have spent countless hours researching this but I can't still figure
out why I can't send email from postfix server to any other domain
other than myself.
I want my server to actually deliver the email and don't want to use
ISP's mail server. The server resides on a business network so I know
there is no blocking there (isp).
I know there is some issue with my config. Can someone point me in
the right direction?
I would like users who authenticate to be able to send email anywhere
using the server. I get error message : Relay access denied whenever
sending email to anyone
Here is my main.cf , I have left my master.cf file as it is.
Thanks in advance.
Here is my main.cf and master.cf (just in case).
Welcome to the list.
It seems you missed the welcome message:
1. TO REPORT A PROBLEM SEE: http://www.postfix.org/DEBUG_README.html#mail
(specifically the part about 'postconf -n')
For now, I'll dust off my crystal ball.
smtp_sasl_auth_enable = yes
smtp means Postfix sending to another server.
Please review http://www.postfix.org/SASL_README.html#server_sasl
Brian
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
virtual_mailbox_domains = /etc/postfix/vhosts.txt
virtual_mailbox_base = /home/virtual
virtual_mailbox_maps = hash:/etc/postfix/vmaps.txt
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_alias_maps = hash:/etc/postfix/aliases
smtpd_recipient_restrictions = permit_sasl_authenticated
permit_mynetworks
reject_unauth_destination