The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Dovecot Login or pop3 method PLAIN

Discussion in 'E-mail Discussions' started by net@work, May 3, 2017.

Tags:
  1. net@work

    net@work Active Member

    Joined:
    Aug 3, 2016
    Messages:
    36
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Everywhere
    cPanel Access Level:
    Root Administrator
    Hello,

    I have a question about how a user can login to exim/dovecot without pop3/imap/webmail login!

    I see from logs: /var/log/maillog that users connects as:

    Code:
    pop3-login: Login: user=<someuser@domain.com>, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx, mpid=SOMENUMBER, TLS, session=<SomeID>
    But also from /var/log/exim_mainlog I noticed that a user that is not before connected (send mail) as pop3/imap/webmail login they can send message as:
    Code:
    SMTP connection from [xxx.xxx.xxx.xxx]:1020 (TCP/IP connection count = 1)
    P=esmtpsa X=TLSv1:DES-CBC3-SHA:168 CV=no A=dovecot_login
    SMTP connection from ISP notes (PC USER ID) [xxx.xxx.xxx.xxx]:1020 closed by QUIT
    Is possible a user send mail from smtp without connect before as pop3/imap?

    What is the difference that I see in logs from A=dovecot_login vs A=dovecot_plain

    Some users do that and some other no.

    Can please explain how can they use SMTP connection to send email without login to pop3/imap/webmail?

    A mail client as outlook/thunderbird do that?

    I want to be sure that this connection is legitimate and not something else... From the logs seems is legitimate but how they can do that?

    Thank you very much!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,958
    Likes Received:
    1,274
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Logging in via POP3/IMAP is not required before sending an email via SMTP. The user simply needs to authenticate via SMTP with valid credentials to send a message.

    Regarding the delivery of messages, note the following from our Mail FAQ document:

    Thank you.
     
  3. net@work

    net@work Active Member

    Joined:
    Aug 3, 2016
    Messages:
    36
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Everywhere
    cPanel Access Level:
    Root Administrator
    Hello @cPanelMichael !

    Your answer help me clear and understand how exim/dovecot works after 58 version!

    Can please give me an example how I can make an SMTP authentication without POP3/IMAP login? I use thunderbird as mail client and before send messages every time I have imap or pop3 authentication...

    I want just to test from my part that behavior!

    Thank you!
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,958
    Likes Received:
    1,274
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can setup a test PHP script that sends email via SMTP and doesn't checking incoming email:

    Sending email with PHP from an SMTP server

    Thank you.
     
    net@work likes this.
  5. net@work

    net@work Active Member

    Joined:
    Aug 3, 2016
    Messages:
    36
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Everywhere
    cPanel Access Level:
    Root Administrator
    Hello @cPanelMichael !

    Thank you for the response and the example!! All are clear now to me!! :)
     
    cPanelMichael likes this.
Loading...

Share This Page