Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, How can I know to which user an e-mail is being sent? When I use the command ps waux | grep send it shows the external server sending the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2004
    Posts
    11

    sendmail and ps waux



    Hi,

    How can I know to which user an e-mail is being sent? When I use the command


    ps waux | grep send


    it shows the external server sending the e-mail,

    root 16045 0.0 0.8 6284 2160 ? S 10:00 0:00 sendmail: ./i2GD0H316045 3-254.ctame701-4.telepar.net.br [200.181.177

    but it doesn't show who is the local recipient.

    Is there any way to show this?

    Regards,
    Jano

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    ps will show you a process is running.

    IIRC the "mailq" command allows you to query the status of a mail queue, and see what emails are awaiting delivery.

    Jason

  3. #3
    Just Joined!
    Join Date
    Mar 2004
    Posts
    11

    sender versus recipient

    Hi,

    yeah I know that mailq shows the local queue of mails to be send. What I want to know is when mail is being delivered to my domain who is the recipient on my server.
    eg. joe@hisdomain.com sends a mail to me jano@mydomain.com.
    While server.hisdomain.com is delivering the mail to mail.mydomain.com I want to see who the recipient is/will be, i.e. jano

    Any ideas?
    Jano

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •