secSwami wrote:
> Hi,
>
> So after trying and trying other methods of making postfix send emails
> for the SASL authenticated users to work, I am trying to now use
> dovecot sasl config.
> My main purpose is that I should be able to SEND email from anywhere
> on the internet using my POSTFIX mail server.  There is seems to be
> some problem with my config,
> can someone shine some light on this:
>
> *From grepping maillog I only see the following:*
> Jan  3 06:12:56 localhost postfix/smtpd[17074]:
> xsasl_dovecot_server_create: SASL service=smtp, realm=(null)
> Jan  3 06:12:56 localhost postfix/smtpd[17074]: generic_checks:
> name=permit_sasl_authenticated
> Jan  3 06:12:56 localhost postfix/smtpd[17074]: generic_checks:
> name=permit_sasl_authenticated status=0
>
>

But did the AUTH succeed?
You need to find a line like this:
Jan 15 09:10:21 mx1 postfix/smtpd[12595]: NOQUEUE:
client=xxx[192.168.123.52], sasl_method=PLAIN, sasl_username=grknight

grep for sasl_method and sasl_username

> *And of course I get relay access denied:*

To be expected when not auth'd.

> Jan  3 06:12:56 localhost postfix/smtpd[17074]: NOQUEUE: reject: RCPT
> from unknown[12.51.212.254]: 554 5.7.1 <j...@hotmail.com>: Relay access
> denied; from=<j...@vj
> ingle.com> to=<j...@hotmail.com> proto=SMTP helo=<[192.168.74.129]>
> Jan  3 06:12:56 localhost postfix/smtpd[17074]: generic_checks:
> name=reject_unauth_destination status=2
> Jan  3 06:12:56 localhost postfix/smtpd[17074]: >
> unknown[12.51.212.254]: 554 5.7.1 <j...@hotmail.com>: Relay access denied
>
>
> Here is my postconf -n:
>

Looks good to me.

Reply via email to