Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. funga@funga:~$ ss -lpn | grep :25
  2. tcp LISTEN 0 0 127.0.0.1:25 *:*
  3. tcp LISTEN 0 0 127.0.0.1:25 *:*
  4. funga@funga:~$ ps aux | grep postfix
  5. funga 23696 0.0 0.1 12084 844 pts/0 S+ 11:28 0:00 grep --color=auto postfix
  6. funga@funga:~$ sudo service postfix stop
  7. * Stopping Postfix Mail Transport Agent postfix [ OK ]
  8. funga@funga:~$ sudo service postfix start
  9. * Starting Postfix Mail Transport Agent postfix [ OK ]
  10. funga@funga:~$ ps aux | grep postfix
  11. funga 23828 0.0 0.1 12084 848 pts/0 S+ 11:28 0:00 grep --color=auto postfix
  12. funga@funga:~$ ps aux | grep sendmail
  13. funga 23833 0.0 0.1 12084 836 pts/0 R+ 11:28 0:00 grep --color=auto sendmail
  14. root 31143 0.0 0.0 88104 516 ? Ss Mar27 0:07 sendmail: MTA: accepting connections
  15. funga@funga:~$ sudo apt-get autoremove sendmail
  16. Reading package lists... Done
  17. Building dependency tree
  18. Reading state information... Done
  19. Package 'sendmail' is not installed, so not removed
  20. 0 upgraded, 0 newly installed, 0 to remove and 147 not upgraded.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement