[opensuse] cron dukeing it out with postfix
Using the Task Scheduler in KDE Desktop config, I have (as user me) scheduled a task to run daily. It runs as scheduled and works correctly. However, from the time it launches the job my logs start filling up with
Feb 05 10:40:43 poulsbo.homeip.net cron[1561]: postdrop: warning: mail_queue_enter: create file maildrop/732686.13091: Permission denied Feb 05 10:40:53 poulsbo.homeip.net cron[1561]: postdrop: warning: mail_queue_enter: create file maildrop/732875.13091: Permission denied Feb 05 10:40:53 poulsbo.homeip.net postfix/postdrop[13091]: warning: mail_queue_enter: create file maildrop/732875.13091: Permission denied Feb 05 10:41:03 poulsbo.homeip.net postfix/postdrop[13091]: warning: mail_queue_enter: create file maildrop/733056.13091: Permission denied Feb 05 10:41:03 poulsbo.homeip.net cron[1561]: postdrop: warning: mail_queue_enter: create file maildrop/733056.13091: Permission denied
These 4 lines are repeated every few seconds forever until I killall postdrop I do not run a full fledged postfix on this machine as it is only a workstation, and I only access external mail servers. I don't remember ever setting up postfix and or postdrop. Does this require a bug report, or do I just have to run postfix? (It is totally unobvious where task scheduler stores it's files, the help references crontab but none of these exist in my user directory structure). They now seem to be located in /var/spool/cron/tabs/ but this isn't documented anywhere. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
John Andersen wrote:
Using the Task Scheduler in KDE Desktop config, I have (as user me) scheduled a task to run daily. It runs as scheduled and works correctly.
However, from the time it launches the job my logs start filling up with
Feb 05 10:40:43 poulsbo.homeip.net cron[1561]: postdrop: warning: mail_queue_enter: create file maildrop/732686.13091: Permission denied Feb 05 10:40:53 poulsbo.homeip.net cron[1561]: postdrop: warning: mail_queue_enter: create file maildrop/732875.13091: Permission denied Feb 05 10:40:53 poulsbo.homeip.net postfix/postdrop[13091]: warning: mail_queue_enter: create file maildrop/732875.13091: Permission denied Feb 05 10:41:03 poulsbo.homeip.net postfix/postdrop[13091]: warning: mail_queue_enter: create file maildrop/733056.13091: Permission denied Feb 05 10:41:03 poulsbo.homeip.net cron[1561]: postdrop: warning: mail_queue_enter: create file maildrop/733056.13091: Permission denied
These 4 lines are repeated every few seconds forever until I killall postdrop
I do not run a full fledged postfix on this machine as it is only a workstation, and I only access external mail servers. I don't remember ever setting up postfix and or postdrop.
cron uses sendmail to send output and such, and sendmail in turn uses maildrop to write mails to the mail queue. There isn't much setup needed for a minimal postfix config. Check owners on /var/spool/postfix/maildrop and /var/spool/postfix/public. They should be postfix:maildrop for both.
Does this require a bug report, or do I just have to run postfix?
Running "postfix check" will probably fix it. Starting postfix will do the same. -- Per Jessen, Zürich (-1.2°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2/5/2015 11:07 PM, Per Jessen wrote:
Check owners on /var/spool/postfix/maildrop and /var/spool/postfix/public. They should be postfix:maildrop for both.
Those directories don't exist, because I've never set up postfix. I'd really rather not run it, I don't believe it was a prerequisite for either cron or kcm_crone. There should be a way to configure it to use mail (heirloom). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
John M Andersen wrote:
On 2/5/2015 11:07 PM, Per Jessen wrote:
Check owners on /var/spool/postfix/maildrop and /var/spool/postfix/public. They should be postfix:maildrop for both.
Those directories don't exist, because I've never set up postfix. I'd really rather not run it, I don't believe it was a prerequisite for either cron or kcm_crone.
Ah, okay.
There should be a way to configure it to use mail (heirloom).
It wouldn't help you much, mailx will use sendmail anyway. You will still need an MTA. The default postfix config that comes with openSUSE is pretty minimal. -- Per Jessen, Zürich (-2.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-02-06 10:13, John M Andersen wrote:
Those directories don't exist, because I've never set up postfix. I'd really rather not run it, I don't believe it was a prerequisite for either cron or kcm_crone.
It is.
There should be a way to configure it to use mail (heirloom).
which uses postfix. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlTVPAkACgkQja8UbcUWM1zT2wEAmDUI+hZS1RQb68WD3yoJ1sd+ Yx7eLLC8WfLZ9VslUyQA/2kedP+u2Z9OrYkq//r0FFOp1isOQh8xP4KPfgUUbEVs =cuQl -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
John Andersen
-
John M Andersen
-
Per Jessen