What could have screwed up my sendmail config?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Tuxkid
Level 2
Level 2
Posts: 50
Joined: Sun Nov 01, 2015 9:53 pm

What could have screwed up my sendmail config?

Post by Tuxkid » Tue May 28, 2019 10:08 pm

What could have happened to change files in my mail configuration?

Code: Select all

> ls -lat /etc/mail
total 344
drwxr-xr-x 162 root  root  12288 May 28 22:03 ..
-rw-r-----   1 smmta smmsp 12288 May 26 15:44 aliases.db
drwxr-sr-x   7 smmta smmsp  4096 May 26 15:44 .
-rw-r-----   1 smmta smmsp 12288 May 26 15:44 access.db
-rw-r--r--   1 root  smmsp 44058 May 26 15:44 submit.cf
-rw-r--r--   1 root  smmsp 64860 May 26 15:44 sendmail.cf
-rw-r--r--   1 root  root  12236 May 26 15:44 sendmail.conf
-rwxr-xr--   1 root  smmsp  9893 May 26 15:44 Makefile
-rw-r--r--   1 root  root   3174 May 26 15:44 databases
-rw-------   1 root  root   4261 May 26 15:44 access
-rw-r--r--   1 root  smmsp  2383 May 26 15:44 submit.mc
-rw-r--r--   1 root  smmsp  4171 May 26 15:44 sendmail.mc
-rw-r--r--   1 root  root  44056 May 26 15:44 submit.cf.old
-rw-r--r--   1 root  root  60439 May 26 15:44 sendmail.cf.old
drwxr-xr-x   2 root  root   4096 May 26 15:43 peers
lrwxrwxrwx   1 root  smmsp    10 Dec 28  2015 aliases -> ../aliases
-rw-r--r--   1 root  smmsp    14 Dec 28  2015 local-host-names
-rw-r--r--   1 root  smmsp     0 Dec 28  2015 trusted-users
drwxr-xr-x   2 smmta smmsp  4096 Dec 28  2015 tls
drwxr-sr-x   2 smmta smmsp  4096 Dec 28  2015 smrsh
drwxr-sr-x   2 smmta smmsp  4096 Dec 28  2015 m4
-rw-r--r--   1 root  root    281 Feb 12  2014 address.resolve
-rw-r--r--   1 root  root    149 Feb 12  2014 service.switch
-rw-r--r--   1 root  root    180 Feb 12  2014 service.switch-nodns
drwxr-xr-x   2 root  smmsp  4096 Feb 12  2014 sasl
-rw-r--r--   1 root  root   5657 Feb 12  2014 helpfile
There are a lot of differences between sendmail.cf and sendmail.cf.old like these first couple:

Code: Select all

/etc/mail > diff sendmail.cf sendmail.cf.old    
50,51c50,51
< ##### built by root@Tui on Sun May 26 15:44:03 NZST 2019
< ##### in /
---
> ##### built by root@Tui on Wed Dec 30 11:28:54 NZDT 2015
> ##### in /etc/mail
64,65c64,65
< #####  $Id: autoconf.m4, v 8.14.4-4.1ubuntu1.1 2019-02-05 18:41:16 cowboy Exp $  #####
< #####  $Id: debian.m4, v 8.14.4-4.1ubuntu1.1 2019-02-05 18:41:16 cowboy Exp $  #####
---
> #####  $Id: autoconf.m4, v 8.14.4-4.1ubuntu1 2014-02-11 13:02:08 cowboy Exp $  #####
> #####  $Id: debian.m4, v 8.14.4-4.1ubuntu1 2014-02-11 13:02:08 cowboy Exp $  #####
69c69
As a result, sendmail is misconfigured which I only realized after emails weren't being received by a number of correspondents.

The only thing I can think of is that I did an

Code: Select all

aptitude safe-upgrade
after Mint 17.x ceased being supported. I'd never had such a problem before. My main question is: Can I change the names of the .cf files back from the old ones? Will I have to run the m4 stuff again?

deepakdeshp
Level 15
Level 15
Posts: 5893
Joined: Sun Aug 09, 2015 10:00 am

Re: What could have screwed up my sendmail config?

Post by deepakdeshp » Wed May 29, 2019 12:56 am

Mint 17 is out of support now . Better to make a fresh install of 19.4 after backing up your data.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

Tuxkid
Level 2
Level 2
Posts: 50
Joined: Sun Nov 01, 2015 9:53 pm

Re: What could have screwed up my sendmail config?

Post by Tuxkid » Wed May 29, 2019 3:22 am

by deepakdeshp » Wed May 29, 2019 4:56 pm
Mint 17 is out of support now . Better to make a fresh install of 19.4 after backing up your data.
I take it you mean 19.1. I have the /home/ directory backed up, but I need to know how sendmail should be configured. In any case, I'd like to know how those files got changed so I can prevent it happening again.
TIA for any pointers.

Post Reply

Return to “Software & Applications”