Bug#847498: sendmail: Cron sends mail every 20 minutes

2016-12-09 Thread Salvatore Bonaccorso
Hi!

On Fri, Dec 09, 2016 at 09:01:57AM +0100, BERTRAND Joël wrote:
> Salvatore Bonaccorso a écrit :
> >Hi
> >
> >On Thu, Dec 08, 2016 at 08:33:24PM +0100, BERTRAND Joël wrote:
> >>Package: sendmail
> >>Version: 8.15.2-7
> >>Severity: normal
> >>
> >>Dear Maintainer,
> >>
> >>I have upgraded sendmail/testing and now every 20 minutes, cron sends mail 
> >>with
> >>following object :
> >>
> >>Cron  test -x /etc/init.d/sendmail && test -x
> >>/usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail &&
> >>/usr/share/sendmail/sendmail cron-msp
> >>
> >>su : doit être lancé à partir d'un terminal
> >>
> >>In english : "su : must be launch from a terminal".
> >>
> >>I suppose /etc/cron.d/sendmail is faulty, but I haven't seen any error.
> >
> >If I'm not completely wrong, I think this regression should be fixed
> >in the 8.15.2-8 upload (done today). Can you try to update to that
> >version to confirm?
> 
>   Hi,
> 
>   I have tried 8.15.2-8 and this regression seems to be fixed.

Thanks for confirming that.

Regards,
Salvatore



Bug#847498: sendmail: Cron sends mail every 20 minutes

2016-12-09 Thread BERTRAND Joël

Salvatore Bonaccorso a écrit :

Hi

On Thu, Dec 08, 2016 at 08:33:24PM +0100, BERTRAND Joël wrote:

Package: sendmail
Version: 8.15.2-7
Severity: normal

Dear Maintainer,

I have upgraded sendmail/testing and now every 20 minutes, cron sends mail with
following object :

Cron  test -x /etc/init.d/sendmail && test -x
/usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail &&
/usr/share/sendmail/sendmail cron-msp

su : doit être lancé à partir d'un terminal

In english : "su : must be launch from a terminal".

I suppose /etc/cron.d/sendmail is faulty, but I haven't seen any error.


If I'm not completely wrong, I think this regression should be fixed
in the 8.15.2-8 upload (done today). Can you try to update to that
version to confirm?


Hi,

I have tried 8.15.2-8 and this regression seems to be fixed.

Thanks,

JKB



Bug#847498: sendmail: Cron sends mail every 20 minutes

2016-12-08 Thread Salvatore Bonaccorso
Hi

On Thu, Dec 08, 2016 at 08:33:24PM +0100, BERTRAND Joël wrote:
> Package: sendmail
> Version: 8.15.2-7
> Severity: normal
> 
> Dear Maintainer,
> 
> I have upgraded sendmail/testing and now every 20 minutes, cron sends mail 
> with 
> following object :
> 
> Cron  test -x /etc/init.d/sendmail && test -x
> /usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail &&
> /usr/share/sendmail/sendmail cron-msp
> 
> su : doit être lancé à partir d'un terminal
> 
> In english : "su : must be launch from a terminal".
> 
> I suppose /etc/cron.d/sendmail is faulty, but I haven't seen any error.

If I'm not completely wrong, I think this regression should be fixed
in the 8.15.2-8 upload (done today). Can you try to update to that
version to confirm?

Regards,
Salvatore



Bug#847498: sendmail: Cron sends mail every 20 minutes

2016-12-08 Thread BERTRAND Joël
Package: sendmail
Version: 8.15.2-7
Severity: normal

Dear Maintainer,

I have upgraded sendmail/testing and now every 20 minutes, cron sends mail with 
following object :

Cron  test -x /etc/init.d/sendmail && test -x
/usr/share/sendmail/sendmail && test -x /usr/lib/sm.bin/sendmail &&
/usr/share/sendmail/sendmail cron-msp

su : doit être lancé à partir d'un terminal

In english : "su : must be launch from a terminal".

I suppose /etc/cron.d/sendmail is faulty, but I haven't seen any error.

Best regards,

JB

ls -alR /etc/mail:
/etc/mail:
total 448
drwxr-sr-x   7 smmta smmsp4096 Dec  8 19:45 .
drwxr-xr-x 267 root  root20480 Dec  8 19:50 ..
-rwxr-xr--   1 root  smmsp   12382 Dec  8 19:45 Makefile
-rw---   1 root  smmsp  69 Dec  8 19:45 access
-rw-r-   1 smmta smmsp   12288 Dec  8 19:45 access.db
-rw-r--r--   1 root  root  156 May  9  2006 address.resolve
-rw-r--r--   1 root  root  281 Nov  3  2010 address.resolve.dpkg-dist
lrwxrwxrwx   1 root  mlocate10 Jan 12  2012 aliases -> ../aliases
-rw-r-   1 smmta smmsp   12288 Dec  8 19:46 aliases.db
-rw-r--r--   1 root  smmsp4031 May  8  2010 aliases.orig
-rw-r--r--   1 root  root 3727 Dec  8 19:45 databases
-rw-r-   1 smmta smmsp  52 Nov 26  2004 default-auth-info
-rw-r--r--   1 root  smmsp9327 Nov  2 19:36 greylist.conf
-rw-r--r--   1 root  smmsp8366 May  9  2006 greylist.conf.orig
-rw-r--r--   1 root  root 5659 Mar  2  2016 helpfile
-rw-r--r--   1 root  smmsp  44 Nov 22  2013 local-host-names
drwxr-sr-x   2 smmta smmsp4096 Oct 13 10:52 m4
-rw-r--r--   1 root  smmsp   0 Dec 11  2007 mailertable
-rw-r-   1 root  smmsp   12288 Dec  8 19:45 mailertable.db
-rw-r--r--   1 root  smmsp2475 Jun  1  2013 milter-greylist.m4
drwxr-xr-x   2 root  root 4096 Dec  8 19:45 peers
-rw-r--r--   1 root  smmsp  34 Jul 15  2014 relay-domains
drwxr-xr-x   2 smmta smmsp4096 Apr 21  2016 sasl
-rw-r--r--   1 root  smmsp   66379 Dec  8 19:45 sendmail.cf
-rw-r--r--   1 root  root66380 Dec  8 19:45 sendmail.cf.old
-rw-r--r--   1 root  root1 Dec  8 19:45 sendmail.conf
-rw-r--r--   1 root  smmsp3599 Dec  8 19:45 sendmail.mc
-rw-r--r--   1 root  smmsp4775 May  9  2006 sendmail.mc.old
-rw-r--r--   1 root  root  149 Jan 15  2001 service.switch
-rw-r--r--   1 root  root  180 Jan 15  2001 service.switch-nodns
drwxr-sr-x   2 smmta smmsp4096 Dec 17  2006 smrsh
lrwxrwxrwx   1 root  root   15 Jan 12  2012 spamassassin -> ../spamassassin
-rw-r--r--   1 root  smmsp   44527 Dec  8 19:45 submit.cf
-rw-r--r--   1 root  root44528 Dec  8 19:45 submit.cf.old
-rw-r--r--   1 root  smmsp2288 Dec  8 19:45 submit.mc
drwxr-xr-x   2 smmta smmsp4096 Feb 15  2015 tls
-rw-r--r--   1 root  root0 May  9  2006 trusted-users
-rw-r--r--   1 root  smmsp  68 Jul 30  2014 virtuserdomains
-rw-r--r--   1 root  smmsp 207 Jul 30  2014 virtusertable
-rw-r-   1 root  smmsp   12288 Dec  8 19:45 virtusertable.db

/etc/mail/m4:
total 16
drwxr-sr-x 2 smmta smmsp 4096 Oct 13 10:52 .
drwxr-sr-x 7 smmta smmsp 4096 Dec  8 19:45 ..
-rw-r--r-- 1 root  root   789 Sep  5  2008 clamav-milter.m4
-rw-r- 1 root  smmsp  800 Apr 26  2008 dialup.m4
-rw-r- 1 root  smmsp0 Dec 13  2003 provider.m4

/etc/mail/peers:
total 12
drwxr-xr-x 2 root  root  4096 Dec  8 19:45 .
drwxr-sr-x 7 smmta smmsp 4096 Dec  8 19:45 ..
-rw-r--r-- 1 root  root   328 Dec  9  2006 provider

/etc/mail/sasl:
total 16
drwxr-xr-x 2 smmta smmsp 4096 Apr 21  2016 .
drwxr-sr-x 7 smmta smmsp 4096 Dec  8 19:45 ..
-rw-r- 1 smmta smmsp  694 Mar 18  2010 Sendmail.conf.2
-rwxr--r-- 1 root  root  3653 Dec  8 19:45 sasl.m4

/etc/mail/smrsh:
total 8
drwxr-sr-x 2 smmta smmsp 4096 Dec 17  2006 .
drwxr-sr-x 7 smmta smmsp 4096 Dec  8 19:45 ..
lrwxrwxrwx 1 root  root26 Jan 12  2012 mail.local -> 
/usr/lib/sm.bin/mail.local
lrwxrwxrwx 1 root  root29 Jan 12  2012 mailman -> 
/var/lib/mailman/mail/mailman
lrwxrwxrwx 1 root  root17 Jan 12  2012 procmail -> /usr/bin/procmail
lrwxrwxrwx 1 root  root17 Jan 12  2012 vacation -> /usr/bin/vacation

/etc/mail/tls:
total 48
drwxr-xr-x 2 smmta smmsp 4096 Feb 15  2015 .
drwxr-sr-x 7 smmta smmsp 4096 Dec  8 19:45 ..
-rw-r--r-- 1 root  root 7 Dec 13  2003 no_prompt
-rw--- 1 root  root  1191 Apr 26  2008 sendmail-client.cfg
-rw-r--r-- 1 root  smmsp 1253 Mar 21  2009 sendmail-client.crt
-rw--- 1 root  root  1025 Mar 21  2009 sendmail-client.csr
-rw-r- 1 root  smmsp 1675 Mar 21  2009 sendmail-common.key
-rw-r- 1 root  smmsp 1582 Mar 21  2009 sendmail-common.prm
-rw--- 1 root  root  1191 Apr 26  2008 sendmail-server.cfg
-rw-r--r-- 1 root  smmsp 1253 Mar 21  2009 sendmail-server.crt
-rw--- 1 root  root  1025 Mar 21  2009 sendmail-server.csr
-rwxr--r-- 1 root  root  3268 Dec  8 19:45 starttls.m4

sendmail.conf:
DAEMON_NETMODE="Static";
DAEMON_NETIF="eth1";
DAEMON_MODE="Daemon";
DAEMON_PARMS="";
DAEMON_HOSTSTATS="Yes";
DAEMON_MAILSTATS="Yes";
QUEUE_MODE