Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th October 2007, 12:18
Naeh Naeh is offline
Junior Member
 
Join Date: Dec 2006
Location: FR
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Small problem with postfix and virtual users on Debian Etch

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 : http://www.howtoforge.com/virtual_us...ix_debian_etch )

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

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

Code:
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.
Reply With Quote
Sponsored Links
  #2  
Old 26th October 2007, 16:31
Naeh Naeh is offline
Junior Member
 
Join Date: Dec 2006
Location: FR
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Code:
*/20 *  *  *  *  smmsp  test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp

Last edited by Naeh; 26th October 2007 at 16:47.
Reply With Quote
  #3  
Old 27th October 2007, 01:03
Naeh Naeh is offline
Junior Member
 
Join Date: Dec 2006
Location: FR
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

somme one can help me please ?

thx
Reply With Quote
  #4  
Old 27th October 2007, 16:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by Naeh
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
Code:
*/20 *  *  *  *  smmsp  test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp
This is what I'd do because you've Postfix installed and don't need Sendmail.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 27th October 2007, 19:48
Naeh Naeh is offline
Junior Member
 
Join Date: Dec 2006
Location: FR
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko
This is what I'd do because you've Postfix installed and don't need Sendmail.

oki thank you falko
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch) kdclaver HOWTO-Related Questions 36 23rd August 2007 19:02
Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch) mcg HOWTO-Related Questions 2 25th July 2007 16:00
Virtual Users And Domains With Postfix, Courier And MySQL & debian etch Tortanick HOWTO-Related Questions 5 19th June 2007 12:29
Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch) MisterVlad Server Operation 8 15th June 2007 18:29
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 19:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.