Advertisement
Guest User

Untitled

a guest
Aug 28th, 2017
467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 KB | None | 0 0
  1. /(?<!@my-workstation.local)$/ generic_account
  2.  
  3. $ postmap -q you@example.com pcre:/etc/postfix/virtual
  4. generic_account
  5. $ postmap -q john.doo@serverfault.com pcre:/etc/postfix/virtual
  6. generic_account
  7. $ postmap -q root@my-workstation.local pcre:/etc/postfix/virtual
  8. $ postmap -q anything@my-workstation.local pcre:/etc/postfix/virtual
  9.  
  10. generic_account: generic_account@my-company.com
  11.  
  12. virtual_alias_maps = pcre:/etc/postfix/virtual
  13.  
  14. $ echo "Subject: sendmail test" | sendmail -v root@my-workstation.local
  15.  
  16. Aug 28 10:38:07 my-workstation postfix/pickup[4841]: 89E553960E57: uid=0 from=<root>
  17. Aug 28 10:38:07 my-workstation postfix/cleanup[5006]: 89E553960E57: message-id=<20170828083807.89E553960E57@my-workstation.home>
  18. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: 89E553960E57: from=<root@my-workstation.local>, size=302, nrcpt=1 (queue active)
  19. Aug 28 10:38:07 my-workstation postfix/trivial-rewrite[5007]: warning: do not list domain my-workstation.local in BOTH mydestination and virtual_alias_domains
  20. Aug 28 10:38:07 my-workstation postfix/cleanup[5012]: 9663D3960E4D: message-id=<20170828083807.89E553960E57@my-workstation.home>
  21. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: 9663D3960E4D: from=<root@my-workstation.local>, size=453, nrcpt=1 (queue active)
  22. Aug 28 10:38:07 my-workstation postfix/trivial-rewrite[5007]: warning: do not list domain my-workstation.local in BOTH mydestination and virtual_alias_domains
  23. Aug 28 10:38:07 my-workstation postfix/cleanup[5006]: A4E163960E5D: message-id=<20170828083807.89E553960E57@my-workstation.home>
  24. Aug 28 10:38:07 my-workstation postfix/local[5010]: 89E553960E57: to=<root@my-workstation.local>, relay=local, delay=0.25, delays=0.11/0/0/0.14, dsn=2.0.0, status=sent (forwarded as 9663D3960E4D)
  25. Aug 28 10:38:07 my-workstation postfix/local[5008]: 9663D3960E4D: to=<generic_account@my-workstation.local>, orig_to=<root@my-workstation.local>, relay=local, delay=0.14, delays=0.06/0/0/0.08, dsn=2.0.0, status=sent (forwarded as A4E163960E5D)
  26. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: A4E163960E5D: from=<root@my-workstation.local>, size=609, nrcpt=1 (queue active)
  27. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: 9663D3960E4D: removed
  28. Aug 28 10:38:07 my-workstation postfix/cleanup[5012]: B928E3960E4D: message-id=<20170828083807.B928E3960E4D@my-workstation.home>
  29. Aug 28 10:38:07 my-workstation postfix/bounce[5009]: 89E553960E57: sender delivery status notification: B928E3960E4D
  30. Aug 28 10:38:07 my-workstation postfix/local[5010]: A4E163960E5D: to=<generic_account@my-workstation.local>, orig_to=<root@my-workstation.local>, relay=local, delay=0.15, delays=0.08/0/0/0.07, dsn=5.4.6, status=bounced (mail forwarding loop for generic_account@my-workstation.local)
  31. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: B928E3960E4D: from=<>, size=2021, nrcpt=1 (queue active)
  32. Aug 28 10:38:07 my-workstation postfix/trivial-rewrite[5007]: warning: do not list domain my-workstation.local in BOTH mydestination and virtual_alias_domains
  33. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: 89E553960E57: removed
  34. Aug 28 10:38:07 my-workstation postfix/cleanup[5006]: C9ACD3960E57: message-id=<20170828083807.C9ACD3960E57@my-workstation.home>
  35. Aug 28 10:38:07 my-workstation postfix/cleanup[5012]: C9BB73960E5B: message-id=<20170828083807.B928E3960E4D@my-workstation.home>
  36. Aug 28 10:38:07 my-workstation postfix/local[5008]: B928E3960E4D: to=<root@my-workstation.local>, relay=local, delay=0.15, delays=0.07/0/0/0.08, dsn=2.0.0, status=sent (forwarded as C9BB73960E5B)
  37. Aug 28 10:38:07 my-workstation postfix/bounce[5011]: A4E163960E5D: sender non-delivery notification: C9ACD3960E57
  38. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: C9ACD3960E57: from=<>, size=2678, nrcpt=1 (queue active)
  39. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: B928E3960E4D: removed
  40. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: C9BB73960E5B: from=<>, size=2172, nrcpt=1 (queue active)
  41. Aug 28 10:38:07 my-workstation postfix/trivial-rewrite[5007]: warning: do not list domain my-workstation.local in BOTH mydestination and virtual_alias_domains
  42. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: A4E163960E5D: removed
  43. Aug 28 10:38:07 my-workstation postfix/cleanup[5012]: DE32A3960E4D: message-id=<20170828083807.C9ACD3960E57@my-workstation.home>
  44. Aug 28 10:38:07 my-workstation postfix/cleanup[5006]: DE40A3960E5D: message-id=<20170828083807.B928E3960E4D@my-workstation.home>
  45. Aug 28 10:38:07 my-workstation postfix/local[5010]: C9ACD3960E57: to=<root@my-workstation.local>, relay=local, delay=0.17, delays=0.08/0/0/0.08, dsn=2.0.0, status=sent (forwarded as DE32A3960E4D)
  46. Aug 28 10:38:07 my-workstation postfix/local[5008]: C9BB73960E5B: to=<generic_account@my-workstation.local>, orig_to=<root@my-workstation.local>, relay=local, delay=0.17, delays=0.08/0/0/0.08, dsn=2.0.0, status=sent (forwarded as DE40A3960E5D)
  47. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: DE32A3960E4D: from=<>, size=2829, nrcpt=1 (queue active)
  48. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: C9ACD3960E57: removed
  49. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: C9BB73960E5B: removed
  50. Aug 28 10:38:07 my-workstation postfix/qmgr[4843]: DE40A3960E5D: from=<>, size=2328, nrcpt=1 (queue active)
  51. Aug 28 10:38:07 my-workstation postfix/cleanup[5006]: F2BB83960E5B: message-id=<20170828083807.C9ACD3960E57@my-workstation.home>
  52. Aug 28 10:00:00 my-workstation postfix/local[5010]: DE32A3960E4D: to=<generic_account@my-workstation.local>, orig_to=<root@my-workstation.local>, relay=local, delay=0.17, delays=0.08/0/0/0.08, dsn=2.0.0, status=sent (forwarded as F2BB83960E5B)
  53. Aug 28 10:00:00 my-workstation postfix/local[5008]: DE40A3960E5D: to=<generic_account@my-workstation.local>, orig_to=<root@my-workstation.local>, relay=local, delay=0.17, delays=0.08/0/0/0.08, dsn=5.4.6, status=bounced (mail forwarding loop for generic_account@my-workstation.local)
  54. Aug 28 10:00:00 my-workstation postfix/qmgr[4843]: F2BB83960E5B: from=<>, size=2985, nrcpt=1 (queue active)
  55. Aug 28 10:00:00 my-workstation postfix/qmgr[4843]: DE32A3960E4D: removed
  56. Aug 28 10:00:00 my-workstation postfix/qmgr[4843]: DE40A3960E5D: removed
  57. Aug 28 10:00:00 my-workstation postfix/local[5010]: F2BB83960E5B: to=<generic_account@my-workstation.local>, orig_to=<root@my-workstation.local>, relay=local, delay=0.17, delays=0.08/0/0/0.08, dsn=5.4.6, status=bounced (mail forwarding loop for generic_account@my-workstation.local)
  58. Aug 28 10:00:00 my-workstation postfix/qmgr[4843]: F2BB83960E5B: removed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement