[quote]
BubikolRamios wrote:
deinstaled everything means sendmail and one dependent package, which is there by default.
[root@localhost ~]# rpm -qa sendmail
sendmail-8.13.8-2.el5
[root@localhost ~]# netstat -tulpn | grep sendmail[/quote]
Beside the [b]sendmail[/b] you also need [b]sendmail-cf[/b] and then [b]reconfigure[/b] the service described in [url=http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/index.html]Deployment Guide[/url]'s [b]Chapter # 23[/b].
Hint, There is a [b]m4[/b] command in the guide.
[code]yum install sendmail sendmail-cf sendmail-doc m4[/code]
If you use [url=http://wiki.centos.org/HowTos/Network/IPTables]iptables[/url]:
[code][b]iptables -I INPUT 1 -p tcp -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -I OUTPUT -p tcp -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -I INPUT 1 -p tcp --dport 25 -m state --state NEW -j ACCEPT
iptables -I OUPUT -p tcp --dport 25 -m state --state NEW -j ACCEPT[/b][/code]
sendmail does not work anymore.
-
- Posts: 67
- Joined: 2009/10/04 09:14:05
Re: sendmail does not work anymore.
Thanks all.
[quote]yum install sendmail sendmail-cf sendmail-doc m4[/quote]
used that, then as complained and service would not start, added -o option in pointed to lines in pointed to files.
Then service started.
[quote]mail -s 'Process snapshot' mail@mail.com[/quote]
Sending did not work, and, damn, the reason is in address that I'm sending mail to, which is my personal mail !!!
That worked not so long ago.
from maillog file
[quote]
Apr 2 17:59:00 localhost sendmail[11741]: o32Fx0LL011741: from=root, size=28502, class=0, nrcpts=1, msgid=, relay=root@localhost
Apr 2 17:59:00 localhost sendmail[11742]: o32Fx0qP011742: from=, size=28802, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 2 17:59:00 localhost sendmail[11741]: o32Fx0LL011741: to=mymail@siol.net, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=58502, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o32Fx0qP011742 Message accepted for delivery)
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: to=, ctladdr= (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=148802, relay=[b][color=FF3300]mailhub.siol.net.[/color][/b] [89.143.246.8], dsn=5.6.0, stat=[b][color=FF3300]Data format error[/color][/b]
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: SYSERR(root): hash map "Alias0": unsafe map file /etc/aliases.db: World writable directory
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: o32Fx2qP011744: DSN: hash map "Alias0": unsafe map file /etc/aliases.db: World writable directory
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx2qP011744: to=, delay=00:00:00, mailer=local, pri=60058, stat=queued
[/quote]
and then I tryed to send to my old yahoo mail box and works np:
[quote]
Apr 2 17:59:00 localhost sendmail[11742]: o32Fx0qP011742: from=, size=28802, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 2 17:59:00 localhost sendmail[11741]: o32Fx0LL011741: to=cvenkel.miran@siol.net, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=58502, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o32Fx0qP011742 Message accepted for delivery)
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: to=, ctladdr= (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=148802, relay=mailhub.siol.net. [89.143.246.8], dsn=5.6.0, stat=Data format error
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: SYSERR(root): hash map "Alias0": unsafe map file /etc/aliases.db: World writable directory
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: o32Fx2qP011744: DSN: hash map "Alias0": unsafe map file /etc/aliases.db: World writable directory
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx2qP011744: to=, delay=00:00:00, mailer=local, pri=60058, stat=queued
Apr 2 18:02:26 localhost sendmail[11780]: o32G2QcO011780: from=root, size=28197, class=0, nrcpts=1, msgid=, relay=root@localhost
Apr 2 18:02:27 localhost sendmail[11781]: o32G2QpJ011781: from=, size=28494, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 2 18:02:27 localhost sendmail[11780]: o32G2QcO011780: to=mcreklame@yahoo.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=58197, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o32G2QpJ011781 Message accepted for delivery)
Apr 2 18:02:31 localhost sendmail[11783]: o32G2QpJ011781: to=, ctladdr= (0/0), delay=00:00:05, xdelay=00:00:04, mailer=esmtp, pri=148494, relay=g.mx.mail.yahoo.com. [98.137.54.238], dsn=2.0.0, stat=Sent (ok dirdel)
[/quote]
Any thougts abot that ?
[quote]yum install sendmail sendmail-cf sendmail-doc m4[/quote]
used that, then as complained and service would not start, added -o option in pointed to lines in pointed to files.
Then service started.
[quote]mail -s 'Process snapshot' mail@mail.com[/quote]
Sending did not work, and, damn, the reason is in address that I'm sending mail to, which is my personal mail !!!
That worked not so long ago.
from maillog file
[quote]
Apr 2 17:59:00 localhost sendmail[11741]: o32Fx0LL011741: from=root, size=28502, class=0, nrcpts=1, msgid=, relay=root@localhost
Apr 2 17:59:00 localhost sendmail[11742]: o32Fx0qP011742: from=, size=28802, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 2 17:59:00 localhost sendmail[11741]: o32Fx0LL011741: to=mymail@siol.net, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=58502, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o32Fx0qP011742 Message accepted for delivery)
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: to=, ctladdr= (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=148802, relay=[b][color=FF3300]mailhub.siol.net.[/color][/b] [89.143.246.8], dsn=5.6.0, stat=[b][color=FF3300]Data format error[/color][/b]
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: SYSERR(root): hash map "Alias0": unsafe map file /etc/aliases.db: World writable directory
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: o32Fx2qP011744: DSN: hash map "Alias0": unsafe map file /etc/aliases.db: World writable directory
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx2qP011744: to=, delay=00:00:00, mailer=local, pri=60058, stat=queued
[/quote]
and then I tryed to send to my old yahoo mail box and works np:
[quote]
Apr 2 17:59:00 localhost sendmail[11742]: o32Fx0qP011742: from=, size=28802, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 2 17:59:00 localhost sendmail[11741]: o32Fx0LL011741: to=cvenkel.miran@siol.net, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=58502, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o32Fx0qP011742 Message accepted for delivery)
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: to=, ctladdr= (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=148802, relay=mailhub.siol.net. [89.143.246.8], dsn=5.6.0, stat=Data format error
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: SYSERR(root): hash map "Alias0": unsafe map file /etc/aliases.db: World writable directory
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx0qP011742: o32Fx2qP011744: DSN: hash map "Alias0": unsafe map file /etc/aliases.db: World writable directory
Apr 2 17:59:02 localhost sendmail[11744]: o32Fx2qP011744: to=, delay=00:00:00, mailer=local, pri=60058, stat=queued
Apr 2 18:02:26 localhost sendmail[11780]: o32G2QcO011780: from=root, size=28197, class=0, nrcpts=1, msgid=, relay=root@localhost
Apr 2 18:02:27 localhost sendmail[11781]: o32G2QpJ011781: from=, size=28494, class=0, nrcpts=1, msgid=, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 2 18:02:27 localhost sendmail[11780]: o32G2QcO011780: to=mcreklame@yahoo.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=58197, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o32G2QpJ011781 Message accepted for delivery)
Apr 2 18:02:31 localhost sendmail[11783]: o32G2QpJ011781: to=, ctladdr= (0/0), delay=00:00:05, xdelay=00:00:04, mailer=esmtp, pri=148494, relay=g.mx.mail.yahoo.com. [98.137.54.238], dsn=2.0.0, stat=Sent (ok dirdel)
[/quote]
Any thougts abot that ?
Re: sendmail does not work anymore.
Many other people have 'sendmail' topics throughout the forum.
Try a [url=https://www.centos.org/search.php]Forum Search[/url] with 'sendmail'.
or, a Google Search with [code]sendmail site:centos.org[/code]
Try a [url=https://www.centos.org/search.php]Forum Search[/url] with 'sendmail'.
or, a Google Search with [code]sendmail site:centos.org[/code]