[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian hosted mailserver client authentication issue



On Fri, Nov 9, 2012 at 3:40 AM, Darac Marjal <mailinglist@darac.org.uk> wrote:
> On Fri, Nov 09, 2012 at 03:24:12AM -0800, Muhammad Yousuf Khan wrote:
>> i was trying to configure Posffix dovecat (imap) and sasl for client
>> server communication.
>> so far this is the best howto i found for the above configuration
>> http://syslog.tv/2011/09/15/postfix-dovecot-imapimaps-sasl-maildir/
>>
>> after following this i can connect my outlook client with IMAP SSL to
>> mailserver but mail sending is faild and this is the problem that i am
>> i am here.
>
> Be aware that SASL and SSL aren't the same thing.
>
>>
>> when i try to send an email my outlook give me that
>>
>> "Send test e-mail message: None of the authentication methods
>> supported by this client are supported by your server."
>>
>> when i check /var/log/mail.info
>> i found this
>>
>>  mailsrv postfix/smtpd[1164]: connect from ws-ykhan.XXXX.com[10.XX.XX.240]
>> postfix/smtpd[1164]: lost connection after EHLO from
>> ws-ykhan.XXXX.com[10.XX.XX.240]
>
> This is Postfix complaining. Have you told it to use dovecot for
> authentication? For example, I have:
>   # SASL SMTP Authentication
>   smtpd_sasl_auth_enable = yes
>   smtpd_sasl_security_options = noanonymous
>   smtpd_sasl_local_domain = $myhostname
>   broken_sasl_auth_clients = yes
>   smtpd_sasl_type = dovecot
>   smtpd_sasl_path = private/auth
>   smtpd_sasl_authenticated_header = yes

ok i will try the above that you shared but the howto that i am
following is a bit different from yours. let me try yours.

the config that i got from here
http://syslog.tv/2011/09/15/postfix-dovecot-imapimaps-sasl-maildir/

home_mailbox = Maildir/
 smtpd_sasl_auth_enable = yes
 smtpd_sasl_security_options = noanonymous
 smtpd_sasl_local_domain = $myhostname
 broken_sasl_auth_clients = yes

smtpd_sender_restrictions = permit_sasl_authenticated,
 permit_mynetworks,

smtpd_recipient_restrictions = permit_mynetworks,
 permit_sasl_authenticated,
 reject_unauth_destination,
 reject_unknown_sender_domain,

>
> http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL will walk you
> through getting postfix to talk to dovecot.
>
>>
>>
>> note my dovecat mechanism set to = plain login as mentioned in the howto above
>
> Are you able to receive mails correctly with Outlook? If so, you've
> probably got dovecot working fine. If not, post the output of "doveconf
> -n" here.

actually, i have two new email accounts that i locally created for
testing (mail1 and mail2)

however i can not manage to make my outlook talk to smtp of my server.
i can see the IMAP inbox which was successfull. but i use netcat for
sending email from console.
i did this.

netcat myserver
ehlo myserver
mail from: mail1@mydomain.com
rcpt to:mail1@mydomain.com
(actually i wanted to send email from mail1 to itself)
 data

all the message

i end email with "."

and quit the netcat app.

however when i send receive from outlook from my client computer i did
not see any email in it.

and thats all so far i reached now.

but ill get back to you when i try your configuration today.......








>


Reply to: