Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Borrar log
- echo "" > /var/log/maillog
- echo "" > /var/spool/mail/root
- # Borrar cola de email
- postsuper -d ALL
- # Envio email
- Proyect TFG - widget Contact project administrators
- [root@696436bc01fd certs]# cat /var/log/maillog
- Jul 30 11:57:30 696436bc01fd postfix/pickup[2166]: CE8EB1966: uid=498 from=<codendiadm>
- Jul 30 11:57:30 696436bc01fd postfix/cleanup[6689]: CE8EB1966: message-id=<20150730115730.CE8EB1966@localhost>
- Jul 30 11:57:30 696436bc01fd postfix/qmgr[2167]: CE8EB1966: from=<codendiadm@localhost.localdomain>, size=21088, nrcpt=1 (queue active)
- 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)
- Jul 30 11:57:31 696436bc01fd postfix/cleanup[6689]: 0548D1EB7: message-id=<20150730115731.0548D1EB7@localhost>
- Jul 30 11:57:31 696436bc01fd postfix/bounce[6695]: CE8EB1966: sender non-delivery notification: 0548D1EB7
- Jul 30 11:57:31 696436bc01fd postfix/qmgr[2167]: 0548D1EB7: from=<>, size=22793, nrcpt=1 (queue active)
- Jul 30 11:57:31 696436bc01fd postfix/qmgr[2167]: CE8EB1966: removed
- 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")
- Jul 30 11:57:31 696436bc01fd postfix/qmgr[2167]: 0548D1EB7: removed
- [root@696436bc01fd certs]# cat /etc/passwd | cut -d":" -f1
- root
- bin
- daemon
- adm
- lp
- sync
- shutdown
- halt
- mail
- uucp
- operator
- games
- gopher
- ftp
- nobody
- vcsa
- saslauth
- postfix
- sshd
- mysql
- apache
- nscd
- dbus
- codendiadm <---- codendiadm != codendi-admin ????
- ftpadmin
- dummy
- gitolite3
- gitolite
- [root@696436bc01fd certs]# cat /etc/aliases
- #
- # Aliases in this file will NOT be expanded in the header from
- # Mail, but WILL be visible over networks or from /bin/mail.
- #
- # >>>>>>>>>> The program "newaliases" must be run after
- # >> NOTE >> this file is updated for any changes to
- # >>>>>>>>>> show through to sendmail.
- #
- # Basic system aliases -- these MUST be present.
- mailer-daemon: postmaster
- postmaster: root
- # General redirections for pseudo accounts.
- bin: root
- daemon: root
- adm: root
- lp: root
- sync: root
- shutdown: root
- halt: root
- mail: root
- news: root
- uucp: root
- operator: root
- games: root
- gopher: root
- ftp: root
- nobody: root
- radiusd: root
- nut: root
- dbus: root
- vcsa: root
- canna: root
- wnn: root
- rpm: root
- nscd: root
- pcap: root
- apache: root
- webalizer: root
- dovecot: root
- fax: root
- quagga: root
- radvd: root
- pvm: root
- amanda: root
- privoxy: root
- ident: root
- named: root
- xfs: root
- gdm: root
- mailnull: root
- postgres: root
- sshd: root
- smmsp: root
- postfix: root
- netdump: root
- ldap: root
- squid: root
- ntp: root
- mysql: root
- desktop: root
- rpcuser: root
- rpc: root
- nfsnobody: root
- ingres: root
- system: root
- toor: root
- manager: root
- dumper: root
- abuse: root
- newsadm: news
- newsadmin: news
- usenet: news
- ftpadm: ftp
- ftpadmin: ftp
- ftp-adm: ftp
- ftp-admin: ftp
- www: webmaster
- webmaster: root
- noc: root
- security: root
- hostmaster: root
- info: postmaster
- marketing: postmaster
- sales: postmaster
- support: postmaster
- # trap decode to catch security attacks
- decode: root
- # Person who should get root's mail
- #root: marc
- tuleap-admin: root
- [root@696436bc01fd certs]# cat /etc/aliases.codendi
- # This file is autogenerated - Do not edit
- # You can change te default settings by updating:
- # /usr/share/codendi/src/common/backend/BackendAliases.class.php
- # The Codendi wide aliases (specific to Codendi) resides in this file
- # All system wide aliases remains in /etc/aliases
- # Codendi wide aliases
- codendi-contact: codendi-admin
- codex-contact: codendi-admin
- codex-admin: codendi-admin
- sourceforge: codendi-admin
- codendiadm: codendi-admin
- noreply: "|/usr/lib/tuleap/bin/gotohell"
- undisclosed-recipients: "|/usr/lib/tuleap/bin/gotohell"
- webmaster: codendi-admin
- ### Begin Mailing List Aliases ###
- ### Begin User Aliases ###
- admin: codendi-admin@192.168.1.121
- usuario: alfreditospower@gmail.com
- cat /usr/share/codendi/src/common/backend/BackendAliases.class.php
- ....
- protected function writeGenericAliases($fp) {
- fwrite($fp, "# This file is autogenerated - Do not edit\n\n");
- fwrite($fp, "# You can change te default settings by updating:\n");
- fwrite($fp, "# /usr/share/codendi/src/common/backend/BackendAliases.class.php\n");
- fwrite($fp, "# The Codendi wide aliases (specific to Codendi) resides in this file\n");
- fwrite($fp, "# All system wide aliases remains in /etc/aliases\n\n");
- fwrite($fp, "# Codendi wide aliases\n\n");
- fwrite($fp, "codendi-contact: codendi-admin\n\n");
- fwrite($fp, "codex-contact: codendi-admin\n");// deprecated user name
- fwrite($fp, "codex-admin: codendi-admin\n");// deprecated user name
- fwrite($fp, "sourceforge: codendi-admin\n");// deprecated user name
- fwrite($fp, $this->getHTTPUser().": codendi-admin\n");
- fwrite($fp, "noreply: \"|".$GLOBALS['codendi_bin_prefix']."/gotohell\"\n");
- fwrite($fp, "undisclosed-recipients: \"|".$GLOBALS['codendi_bin_prefix']."/gotohell\"\n"); // for phpWiki notifications...
- fwrite($fp, "webmaster: codendi-admin\n");
- return fwrite($fp, "\n\n");
- }
- ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement