daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Jan 20th, 2017 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FEATURE(`msp', `[192.168.14.21]')dnl
  2.    
  3. /usr/sbin/sendmail -L sm-msp-queue -Ac -q30m
  4.    
  5. Jan 20 09:13:26 example110 sendmail[24551]: v0K9DQ5U024551: from=root, size=245, class=0, nrcpts=1, msgid=<201701200913.v0K9DQ5U024551@example110.dev.net>, relay=root@localhost
  6. Jan 20 09:13:27 example110 sendmail[24551]: v0K9DQ5U024551: to=jzou@qq.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30245, relay=[192.168.14.21] [192.168.14.21], dsn=2.0.0, stat=Sent (Ok: queued as ED1A546CAE)
  7.    
  8. Received: from pekdev110.dev.net (PEKdev110.dev.fwmrm.net
  9.  [192.168.0.110])   by smtp1.dev.net (Postfix) with ESMTP id ED1A546CAE
  10.     for <jzou@qq.com>; Fri, 20 Jan 2017 09:13:26 +0000 (GMT)
  11. Received: (from root@localhost) by pekdev110.dev.net
  12.  (8.14.7/8.14.7/Submit) id v0K9DQ5U024551   for jzou@qq.com; Fri, 20 Jan
  13.  2017 09:13:26 GMT
  14. From: root <root@pekdev110.dev.net>
  15. Message-ID: <201701200913.v0K9DQ5U024551@pekdev110.dev.net>
  16.    
  17. FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl
  18. GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
  19.    
  20. sendmail -bt -d0.1 </dev/null
  21.    
  22. my-site.com
  23. another-site.com
  24. bigboy.my-site.com
  25.    
  26. linux-username       username@new-domain.com
  27.    
  28. alert          security-alert@my-site.com
  29. peter          urgent-message@my-site.com
  30. apache         mailer@my-site.com
  31.    
  32. #
  33. # Script: /usr/local/bin/activate-sendmail.sh
  34. #
  35.  
  36. #!/bin/bash
  37. cd /etc/mail
  38. /usr/bin/make
  39. /usr/bin/newaliases
  40. systemctl restart sendmail.service
  41. systemctl restart spamassassin.service
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand