Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 KB | None | 0 0
  1.  
  2. # Borrar log
  3. echo "" > /var/log/maillog
  4. echo "" > /var/spool/mail/root
  5. # Borrar cola de email
  6. postsuper -d ALL
  7. # Envio email
  8. Proyect TFG - widget Contact project administrators
  9.  
  10. [root@696436bc01fd certs]# cat /var/log/maillog
  11. Jul 30 11:57:30 696436bc01fd postfix/pickup[2166]: CE8EB1966: uid=498 from=<codendiadm>
  12. Jul 30 11:57:30 696436bc01fd postfix/cleanup[6689]: CE8EB1966: message-id=<20150730115730.CE8EB1966@localhost>
  13. Jul 30 11:57:30 696436bc01fd postfix/qmgr[2167]: CE8EB1966: from=<codendiadm@localhost.localdomain>, size=21088, nrcpt=1 (queue active)
  14. Jul 30 11:57:31 696436bc01fd postfix/error[6693]: CE8EB1966: to=<codendi-admin@192.168.1.121>, relay=none, delay=0.26, delays=0.16/0.01/0/0.09, dsn=5.1.3, status=bounced (bad address syntax)
  15. Jul 30 11:57:31 696436bc01fd postfix/cleanup[6689]: 0548D1EB7: message-id=<20150730115731.0548D1EB7@localhost>
  16. Jul 30 11:57:31 696436bc01fd postfix/bounce[6695]: CE8EB1966: sender non-delivery notification: 0548D1EB7
  17. Jul 30 11:57:31 696436bc01fd postfix/qmgr[2167]: 0548D1EB7: from=<>, size=22793, nrcpt=1 (queue active)
  18. Jul 30 11:57:31 696436bc01fd postfix/qmgr[2167]: CE8EB1966: removed
  19. Jul 30 11:57:31 696436bc01fd postfix/local[6700]: 0548D1EB7: to=<codendi-admin@localhost.localdomain>, orig_to=<codendiadm@localhost.localdomain>, relay=local, delay=0.17, delays=0.06/0.01/0/0.1, dsn=5.1.1, status=bounced (unknown user: "codendi-admin")
  20. Jul 30 11:57:31 696436bc01fd postfix/qmgr[2167]: 0548D1EB7: removed
  21. [root@696436bc01fd certs]# cat /etc/passwd | cut -d":" -f1
  22. root
  23. bin
  24. daemon
  25. adm
  26. lp
  27. sync
  28. shutdown
  29. halt
  30. mail
  31. uucp
  32. operator
  33. games
  34. gopher
  35. ftp
  36. nobody
  37. vcsa
  38. saslauth
  39. postfix
  40. sshd
  41. mysql
  42. apache
  43. nscd
  44. dbus
  45. codendiadm <---- codendiadm != codendi-admin ????
  46. ftpadmin
  47. dummy
  48. gitolite3
  49. gitolite
  50. [root@696436bc01fd certs]# cat /etc/aliases
  51. #
  52. # Aliases in this file will NOT be expanded in the header from
  53. # Mail, but WILL be visible over networks or from /bin/mail.
  54. #
  55. # >>>>>>>>>> The program "newaliases" must be run after
  56. # >> NOTE >> this file is updated for any changes to
  57. # >>>>>>>>>> show through to sendmail.
  58. #
  59.  
  60. # Basic system aliases -- these MUST be present.
  61. mailer-daemon: postmaster
  62. postmaster: root
  63.  
  64. # General redirections for pseudo accounts.
  65. bin: root
  66. daemon: root
  67. adm: root
  68. lp: root
  69. sync: root
  70. shutdown: root
  71. halt: root
  72. mail: root
  73. news: root
  74. uucp: root
  75. operator: root
  76. games: root
  77. gopher: root
  78. ftp: root
  79. nobody: root
  80. radiusd: root
  81. nut: root
  82. dbus: root
  83. vcsa: root
  84. canna: root
  85. wnn: root
  86. rpm: root
  87. nscd: root
  88. pcap: root
  89. apache: root
  90. webalizer: root
  91. dovecot: root
  92. fax: root
  93. quagga: root
  94. radvd: root
  95. pvm: root
  96. amanda: root
  97. privoxy: root
  98. ident: root
  99. named: root
  100. xfs: root
  101. gdm: root
  102. mailnull: root
  103. postgres: root
  104. sshd: root
  105. smmsp: root
  106. postfix: root
  107. netdump: root
  108. ldap: root
  109. squid: root
  110. ntp: root
  111. mysql: root
  112. desktop: root
  113. rpcuser: root
  114. rpc: root
  115. nfsnobody: root
  116.  
  117. ingres: root
  118. system: root
  119. toor: root
  120. manager: root
  121. dumper: root
  122. abuse: root
  123.  
  124. newsadm: news
  125. newsadmin: news
  126. usenet: news
  127. ftpadm: ftp
  128. ftpadmin: ftp
  129. ftp-adm: ftp
  130. ftp-admin: ftp
  131. www: webmaster
  132. webmaster: root
  133. noc: root
  134. security: root
  135. hostmaster: root
  136. info: postmaster
  137. marketing: postmaster
  138. sales: postmaster
  139. support: postmaster
  140.  
  141.  
  142. # trap decode to catch security attacks
  143. decode: root
  144.  
  145. # Person who should get root's mail
  146. #root: marc
  147. tuleap-admin: root
  148. [root@696436bc01fd certs]# cat /etc/aliases.codendi
  149. # This file is autogenerated - Do not edit
  150.  
  151. # You can change te default settings by updating:
  152. # /usr/share/codendi/src/common/backend/BackendAliases.class.php
  153. # The Codendi wide aliases (specific to Codendi) resides in this file
  154. # All system wide aliases remains in /etc/aliases
  155.  
  156. # Codendi wide aliases
  157.  
  158. codendi-contact: codendi-admin
  159.  
  160. codex-contact: codendi-admin
  161. codex-admin: codendi-admin
  162. sourceforge: codendi-admin
  163. codendiadm: codendi-admin
  164. noreply: "|/usr/lib/tuleap/bin/gotohell"
  165. undisclosed-recipients: "|/usr/lib/tuleap/bin/gotohell"
  166. webmaster: codendi-admin
  167.  
  168.  
  169. ### Begin Mailing List Aliases ###
  170.  
  171.  
  172.  
  173. ### Begin User Aliases ###
  174.  
  175. admin: codendi-admin@192.168.1.121
  176. usuario: alfreditospower@gmail.com
  177.  
  178. cat /usr/share/codendi/src/common/backend/BackendAliases.class.php
  179. ....
  180. protected function writeGenericAliases($fp) {
  181. fwrite($fp, "# This file is autogenerated - Do not edit\n\n");
  182. fwrite($fp, "# You can change te default settings by updating:\n");
  183. fwrite($fp, "# /usr/share/codendi/src/common/backend/BackendAliases.class.php\n");
  184. fwrite($fp, "# The Codendi wide aliases (specific to Codendi) resides in this file\n");
  185. fwrite($fp, "# All system wide aliases remains in /etc/aliases\n\n");
  186. fwrite($fp, "# Codendi wide aliases\n\n");
  187. fwrite($fp, "codendi-contact: codendi-admin\n\n");
  188. fwrite($fp, "codex-contact: codendi-admin\n");// deprecated user name
  189. fwrite($fp, "codex-admin: codendi-admin\n");// deprecated user name
  190. fwrite($fp, "sourceforge: codendi-admin\n");// deprecated user name
  191. fwrite($fp, $this->getHTTPUser().": codendi-admin\n");
  192. fwrite($fp, "noreply: \"|".$GLOBALS['codendi_bin_prefix']."/gotohell\"\n");
  193. fwrite($fp, "undisclosed-recipients: \"|".$GLOBALS['codendi_bin_prefix']."/gotohell\"\n"); // for phpWiki notifications...
  194. fwrite($fp, "webmaster: codendi-admin\n");
  195. return fwrite($fp, "\n\n");
  196. }
  197. ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement