secSwami wrote:
> 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
[...]
> 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
FYI, duplicated restrictions are a bit pointless. Best to remove the
sender restriction for (self-)clarity.
>
> 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.

Then I gave you the correct link.
http://www.postfix.org/SASL_README.html#server_sasl
To summarize: set 'smtpd_sasl_auth_enable = yes'

You still should read the rest of the link.  The SASL_README may also
help with other questions that can come up.

Brian

>
> 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
>>>
>>>     
>>
>>
>>   
>

Reply via email to