Hi, So my server crashed for some unknown reason so I started to look thru logs to figure why did it happen and I came across mail log and I though it was weird cause I remember removing sendmail from boot-up by following perfect setup here but guess not, any ideas what happen here? Code: Sep 3 05:23:57 linux dovecot: Dovecot v1.0.1 starting up Sep 3 05:23:59 linux sqlgrey: Process Backgrounded Sep 3 05:23:59 linux sqlgrey: 2007/09/03-05:23:59 sqlgrey (type Net::Server::Multiplex) starting! pid(2309) Sep 3 05:23:59 linux sqlgrey: Binding to TCP port 2501 on host localhost Sep 3 05:23:59 linux sqlgrey: Setting gid to "103 103" Sep 3 05:23:59 linux sqlgrey: Setting uid to "102" Sep 3 05:24:00 linux sendmail[2316]: alias database /etc/aliases rebuilt by root Sep 3 05:24:00 linux sendmail[2316]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total Sep 3 05:24:01 linux postfix/postfix-script: starting the Postfix mail system Sep 3 05:24:02 linux postfix/master[2364]: fatal: /etc/postfix/master.cf: line 81: missing "transport type" field Sep 3 06:04:51 linux sendmail[3427]: l83D4pu8003427: Authentication-Warning: server.myhostname.com: apache set sender to [email protected] using -f Sep 3 06:04:51 linux sendmail[3427]: l83D4pu8003427: [email protected], size=1010, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost Sep 3 06:04:51 linux sendmail[3427]: l83D4pu8003427: [email protected], [email protected] (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31010, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Sep 3 06:09:46 linux sendmail[3605]: l83D9kCq003605: from=apache, size=816, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost Sep 3 06:09:46 linux sendmail[3605]: l83D9kCq003605: [email protected], ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30816, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Sep 3 06:12:00 linux sendmail[3704]: l83DBrGW003704: from=apache, size=655, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost Sep 3 06:12:00 linux sendmail[3704]: l83DBrGW003704: [email protected], ctladdr=apache (48/48), delay=00:00:07, xdelay=00:00:00, mailer=relay, pri=30655, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Sep 3 06:24:24 linux sendmail[4386]: l83DOOul004386: from=apache, size=650, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost Sep 3 06:24:24 linux sendmail[4386]: l83DOOul004386: [email protected], ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30650, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Sep 3 06:47:17 linux sendmail[5363]: l83DlHOJ005363: Authentication-Warning: server.myhostname.com: apache set sender to [email protected] using -f Sep 3 06:47:17 linux sendmail[5363]: l83DlHOJ005363: [email protected], size=1002, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost Sep 3 06:47:17 linux sendmail[5363]: l83DlHOJ005363: [email protected], [email protected] (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31002, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Seems like I have Postfix problems too Code: Sep 3 21:40:14 linux postfix/master[2767]: fatal: /etc/postfix/master.cf: line 81: missing "transport type" field
All mail servers 'masquerade' as sendmail for backwards compatibility with older software, scripts etc, so all you are seeing is Postfix pretending to be sendmail. So, in a sense, yes, you have a Postfix problem too, but in truth you have a Postfix problem. A good start would be to read the log error message, and edit /etc/postfix/master.cf, and fix the problem on line 81. Or at least see what is on line 81. It may well be related to a network setup problem, a sasl or TLS problem, or a typo.
Thanks for the reply! I was looking in main.cf instead of master.cf on line 81 in main.cf was commented description of some commands so I couldn't figure out what was the problem, and my real problem with master.cf was that I never finished configuring SPF In Postfix and I had this [...] left on line 81 stupid me, I know But now its best time to finish.