Know wich mail client connect in postix

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Know wich mail client connect in postix

luistkd4

Hi, exist a way to know wich mail client try or are connected in 587? Like Android Mail, Outlook, thunderbird?


Thanks

Reply | Threaded
Open this post in threaded view
|

Re: Know wich mail client connect in postix

Geert Stappers
On Mon, Feb 20, 2017 at 02:48:15PM +0000, Luis Miguel Flores dos Santos wrote:
> Hi, exist a way to know which mail client try or are connected in 587?
> Like Android Mail, Outlook, thunderbird?

No, because to protocol doesn't care about "which client".


Groeten
Geert Stappers
--
Leven en laten leven
Reply | Threaded
Open this post in threaded view
|

Re: Know wich mail client connect in postix

luistkd4

Thank you


De: Repost [via Postfix] <ml-node+[hidden email]>
Enviado: segunda-feira, 20 de fevereiro de 2017 11:55:20
Para: luistkd4
Assunto: Re: Know wich mail client connect in postix
 
On Mon, Feb 20, 2017 at 02:48:15PM +0000, Luis Miguel Flores dos Santos wrote:
> Hi, exist a way to know which mail client try or are connected in 587?
> Like Android Mail, Outlook, thunderbird?

No, because to protocol doesn't care about "which client".


Groeten
Geert Stappers
--
Leven en laten leven



If you reply to this email, your message will be added to the discussion below:
http://postfix.1071664.n5.nabble.com/Know-wich-mail-client-connect-in-postix-tp88963p88964.html
To start a new topic under Postfix Users, email ml-node+[hidden email]
To unsubscribe from Postfix, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: Know wich mail client connect in postix

/dev/rob0
> On Mon, Feb 20, 2017 at 02:48:15PM +0000, Luis Miguel Flores dos
> Santos wrote:
> > Hi, exist a way to know which mail client try or are connected in
> > 587? Like Android Mail, Outlook, thunderbird?
>
> No, because to protocol doesn't care about "which client".

The actual problem, whatever it is, might be better addressed from
the angle of the IMAP server.  MUAs generally do much more with the
imapd than with postfix/submission; the latter is typically a short,
single transaction.

Perhaps there is no associated IMAP login, in which case there's a
high probability that you're faced with malware.
--
  http://rob0.nodns4.us/
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
Reply | Threaded
Open this post in threaded view
|

Re: Know wich mail client connect in postix

Wietse Venema
/dev/rob0:

> > On Mon, Feb 20, 2017 at 02:48:15PM +0000, Luis Miguel Flores dos
> > Santos wrote:
> > > Hi, exist a way to know which mail client try or are connected in
> > > 587? Like Android Mail, Outlook, thunderbird?
> >
> > No, because to protocol doesn't care about "which client".
>
> The actual problem, whatever it is, might be better addressed from
> the angle of the IMAP server.  MUAs generally do much more with the
> imapd than with postfix/submission; the latter is typically a short,
> single transaction.
>
> Perhaps there is no associated IMAP login, in which case there's a
> high probability that you're faced with malware.

You can use a policy daemon, http://www.maiamailguard.com/maia/wiki/p0f
to add a header with the client type.  This is a perl script that
needs to be edited to use the right server IP address ($mta_ipaddr
in the script) and port (25 in the script).

With recent versions of Postfix, the policy protocol sends the local
and remote IP address and port, so you could use $attr{'server_address'}
and $attr{'server_port'} in the script.

Background: lcamtuf.coredump.cx/p0f3/

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: Know wich mail client connect in postix

@lbutlr
In reply to this post by Geert Stappers
On 2017-02-20 (07:54 MST), Geert Stappers <[hidden email]> wrote:
>
> On Mon, Feb 20, 2017 at 02:48:15PM +0000, Luis Miguel Flores dos Santos wrote:
>> Hi, exist a way to know which mail client try or are connected in 587?
>> Like Android Mail, Outlook, thunderbird?
>
> No, because to protocol doesn't care about "which client".

Actually, yes.

But that is a dovecot question, iirc, and not a postfix question.

This is what the longline looks like:

Feb 22 09:43:43 mail dovecot: imap(user): ID sent: name=iPad Mail, version=14B150, os=iOS, os-version=10.1.1 (14B150)
Feb 22 09:43:47 mail dovecot: imap(user2): ID sent: name=Thunderbird, version=45.7.1


--
Apple broke AppleScripting signatures in Mail.app, so no random signatures.