Small problem with postfix and virtual users on Debian Etch

Discussion in 'HOWTO-Related Questions' started by Naeh, Oct 26, 2007.

  1. Naeh

    Naeh New Member

    Hello all :)

    first i want to thank you for your help and tutos, thank you very match.

    i installed postfix with virtual domains, mysql, etc. (Howto : )

    all is working (thx for you ;)) but i have a small problem :
    every 20 minutes i receive an email from smmsp :
    Subject : Cron <smmsp@naeh-server> test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp
    From : "Cron Daemon" <[email protected]>
    Message : "mkdir: can't create directory `/var/run/sendmail/msp': Permission dinied"
    inc sys.log i have this every 20 minutes :
    /USR/SBIN/CRON[12477]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp)

    I do :
    chown -R smmsp:smmta /var/run/sendmail/
    and now the message changes :
    Message : "/usr/share/sendmail/sendmail: line 826: /usr/sbin/sendmail-msp: No such file or directory"
    here are permissions :

    drwxr-sr-x 5 smmsp  smmta  4096 2007-10-26 11:21 sendmail
    (inside sendmail/)
    drwxrwsr-x 2 smmsp smmta 4096 2007-10-26 11:21 msp
    drwxr-sr-x 2 smmsp smmta 4096 2007-10-25 11:22 mta
    drwxrwsr-x 2 smmsp smmta 4096 2007-10-26 12:00 stampdir

    thank tou for your help.
  2. Naeh

    Naeh New Member

    after some researches I found a solution to stop receiving error emails but I am not persuaded, I would like to resolve the problem instead to avoid it.
    the "solution" can be to comment de cron line in : /etc/cron.d/sendmail
    */20 *  *  *  *  smmsp  test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp
    Last edited: Oct 26, 2007
  3. Naeh

    Naeh New Member

    somme one can help me please ?

  4. falko

    falko Super Moderator ISPConfig Developer

    This is what I'd do because you've Postfix installed and don't need Sendmail. :)
  5. Naeh

    Naeh New Member

    oki thank you falko :)

Share This Page