Cron and mail
Hi Non-root users are not getting information mail about scheduled tasks. I've included the line MAIL=joendoe in jondoe user. Task are performed but users are not notified. I am using Etch and exim4. What's wrong with this? -- -- Sergio Belkin - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cron and mail
--- El Jue 26 Jul 2007, Marc encontró un teclado y tipeó lo siguiente: > Ma: Hmmm.. one thing might be that the variable is called "MAILTO" and not > Ma: "MAIL"? > Ma: You can try with that, but in general, as the man page says: > Ma: "When executing commands, any output is mailed to the owner of > Ma: the crontab ..." > Ma: > Ma: Sergio Belkin wrote: > Ma: > Hi > Ma: > Non-root users are not getting information mail about scheduled > tasks. Ma: > I've included the line MAIL=joendoe in jondoe user. Task are > performed Ma: > but users are not notified. > Ma: > > Ma: > I am using Etch and exim4. What's wrong with this? > Ma: > Ma: Thanks, "MAIL" was a typo, but even if I issue MAILTO=jondoe in jondoe user crontab file, it doesn't work either... -- Sergio Belkin Teléfonos 15-5494-5143 // 4788-8605
Re: Cron and mail
--- El Jue 26 Jul 2007, Andrew Sackville-West encontró un teclado y tipeó lo siguiente: > AS: On Thu, Jul 26, 2007 at 08:33:30AM -0300, Sergio Belkin wrote: > AS: > --- El Jue 26 Jul 2007, Marc encontró un teclado y tipeó lo > siguiente: AS: > > Ma: Hmmm.. one thing might be that the variable is > called "MAILTO" and not AS: > > Ma: "MAIL"? > AS: > > Ma: You can try with that, but in general, as the man page says: > AS: > > Ma: "When executing commands, any output is mailed to the owner > of AS: > > Ma: the crontab ..." > AS: > > Ma: > AS: > > Ma: Sergio Belkin wrote: > AS: > > Ma: > Hi > AS: > > Ma: > Non-root users are not getting information mail about > scheduled AS: > > tasks. Ma: > I've included the line MAIL=joendoe in > jondoe user. Task are AS: > > performed Ma: > but users are not notified. > AS: > > Ma: > > AS: > > Ma: > I am using Etch and exim4. What's wrong with this? > AS: > > Ma: > AS: > > Ma: > AS: > > AS: > Thanks, "MAIL" was a typo, but even if I issue MAILTO=jondoe in > jondoe user AS: > crontab file, it doesn't work either... > AS: > AS: does mail work on the system? can you mail from the command line? does > AS: the cron job produce any output to mail? > AS: > AS: A > AS: It seems that maildir (as I had configured it) won't work with cron (am I right?) I've changed to mbox, and now it works... -- Sergio Belkin Soluciones Informáticas Open Source Community Site http://www.openkairos.com Blog http://sebelk.blogspot.com
After installing mindi system won't boot
I am testing mindi and mondo, but after installing mindi, install mdadm too, and asked me some question referred to raid (I think so), well I answered either no or none to questions, and after reboot, it seems that kernel search for raids, but I have one single disk, and it stops searching for a root filesystem or something so... These are the output: dpkg-reconfigure mdadm Stopping MD monitoring service: mdadm --monitor. update-initramfs: Generating /boot/initrd.img-2.6.18-4-amd64 W: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz . W: mdadm: no arrays defined in configuration file. W: mdadm: falling back to emergency procedure in initramfs. update-initramfs: Generating /boot/initrd.img-2.6.18-3-686 W: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz . W: mdadm: no arrays defined in configuration file. W: mdadm: falling back to emergency procedure in initramfs. Assembling MD arrays...done (disabled in /etc/default/mdadm). And the mdam.conf looks as follows: # mdadm.conf # # Please refer to mdadm.conf(5) for information about this file. # # by default, scan all partitions (/proc/partitions) for MD superblocks. # alternatively, specify devices to scan, using wildcards if desired. DEVICE partitions # auto-create devices with Debian standard permissions CREATE owner=root group=disk mode=0660 auto=yes # automatically tag new arrays as belonging to the local system HOMEHOST # instruct the monitoring daemon where to send mail alerts MAILADDR root # This file was auto-generated on Tue, 31 Jul 2007 09:15:17 -0300 # by mkconf $Id: mkconf 261 2006-11-09 13:32:35Z madduck $ kubaru:~# dpkg-reconfigure mdadm Stopping MD monitoring service: mdadm --monitor. update-initramfs: Generating /boot/initrd.img-2.6.18-4-amd64 W: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz . W: mdadm: no arrays defined in configuration file. W: mdadm: falling back to emergency procedure in initramfs. update-initramfs: Generating /boot/initrd.img-2.6.18-3-686 W: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz . W: mdadm: no arrays defined in configuration file. W: mdadm: falling back to emergency procedure in initramfs. Assembling MD arrays...done (disabled in /etc/default/mdadm). kubaru:~# cat /etc/mdadm/mdadm.conf # mdadm.conf # # Please refer to mdadm.conf(5) for information about this file. # # by default, scan all partitions (/proc/partitions) for MD superblocks. # alternatively, specify devices to scan, using wildcards if desired. DEVICE partitions # auto-create devices with Debian standard permissions CREATE owner=root group=disk mode=0660 auto=yes # automatically tag new arrays as belonging to the local system HOMEHOST # instruct the monitoring daemon where to send mail alerts MAILADDR root # This file was auto-generated on Tue, 31 Jul 2007 09:15:17 -0300 # by mkconf $Id: mkconf 261 2006-11-09 13:32:35Z madduck $ Well I don't understand why this happened, I only wanted to test mindi, not configure raid, how I restore my earlier booting config, --Please help to recover the typical bot with no raid :'( -- Sergio Belkin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Opinions XFS
Hi I was reading http://oss.sgi.com/projects/xfs/index.html and was amazed because XFS powerful features. But I'd like opinions if xfs should be a good alternative to ext3 in typical cases, or if it should be relegated to critical missions servers. Thanks in advance! -- Sergio Belkin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Opinions XFS
--- El Vie 03 Ago 2007, Jose Luis Rivas Contreras encontró un teclado y tipeó lo siguiente: > JL: Sergio Belkin wrote: > JL: > Hi I was reading http://oss.sgi.com/projects/xfs/index.html and was > amazed JL: > because XFS powerful features. But I'd like opinions if xfs > should be a good JL: > alternative to ext3 in typical cases, or if it > should be relegated to JL: > critical missions servers. > JL: > > JL: > Thanks in advance! > JL: > JL: I love XFS!! > JL: > JL: The only thing I cannot do with XFS is boot from that disk so I need to > JL: make a `/boot' partition to get it to boot but the rest is works > great!! JL: Smoothly :) > JL: > JL: Regards, > JL: Jose Luis. Thanks for your opinions, so is not possible boot from a xfs partition? -- Sergio Belkin Teléfonos 15-5494-5143 // 4788-8605
Re: Opinions XFS
--- El Vie 03 Ago 2007, [EMAIL PROTECTED] encontró un teclado y tipeó lo siguiente: > mi: XFS and grub do not work nicely together, therefore you'll need /boot > mi: mounted with EXT3, everything else can be XFS, even / . > mi: And What about lilo? -- Sergio Belkin Teléfonos 15-5494-5143 // 4788-8605
Sendmail +SASL +openldap
Hi community I have to authenticate Sendmail using openldap (I can't choose another SMTP is for my job, also I've already got cyrus-imap using sasl and openldap). Should I SASL in order to integrate both sendmail and openldap. Or does another way exist of performing this task? Thanks in advance! -- Sergio Belkin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
No auth and nonauth sendmail in same config.
Hi community I have an authenticated sendmail. I want to modifiy it in order to: *All mail sent to mydomain.com is not authenticated *All mail sent to any domain different as mydomain.com be authenticated (TLS included). How can I do that? (I don't refer to complete procedure, but how can I do to "separate" mail by destination) I was looking at access and mailtertable but it seems that those don't help me. Thanks in advance! -- Sergio Belkin Community Site http://www.openkairos.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Howto set headers from sendmail.mc
Hi Richard, Thanks for your help! I'm keep on setting sendmail :) I add a header setting in sendmail.cf (I added something as H?X?X-Authorization-Id: how=${auth_type} who=${auth_authen} , but everytime that I rebuild it via m4 (I use mainly sendmail.mc), header settings are lost. So, I'd want to know if there is a way in order to set headers in sendmail.mc too. Thanks in advance!!!! -- -- Sergio Belkin - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Howto enqueue with no sending in sendmail
Hi community, I am performing some tests with sendmail. I have 2 queue groups defined by : QUEUE_GROUP(`outside',`P=/var/spool/mqueue/outside, R=0, r=10 I=6m')dnl QUEUE_GROUP(`mqueue',`Path=/var/spool/mqueue, F=f, R=10, r=100, I=1m')dnl And documentation says "The maximum number of queue runners for an individual queue group can be controlled via the Runners option. If set to 0, entries in the queue will not be processed, which is useful to ''quar- antine'' queue files. The number of runners per queue group may also be set with the option MaxRunnersPerQueue, which applies to queue groups that have no individual limit. That is, the default value for Runners is MaxRunnersPerQueue if set, otherwise 1." But I set to "0" `outside' queue group and however sendmail keeps on sending mail. I've added to access: QGRP:whateverdomain.com outside I want to mails sent to whateverdomain.com stay in enqueued (because are only for testing purposes) How can I do that?? Thanks in advance! -- -- Sergio Belkin -
Fwd: Howto enqueue with no sending in sendmail (SOLVED!)
I answer myself: I've added to sendmail.mc: define(`confCON_EXPENSIVE', `True') define(SMTP_MAILER_FLAGS, e) Now all mail sent to whateverdomain.com is enqueued but not sent ;) Not at all ;) Sergio -- Forwarded message ------ From: Sergio Belkin <[EMAIL PROTECTED]> Date: 28-ago-2007 11:58 Subject: Howto enqueue with no sending in sendmail To: debian-user@lists.debian.org Hi community, I am performing some tests with sendmail. I have 2 queue groups defined by : QUEUE_GROUP(`outside',`P=/var/spool/mqueue/outside, R=0, r=10 I=6m')dnl QUEUE_GROUP(`mqueue',`Path=/var/spool/mqueue, F=f, R=10, r=100, I=1m')dnl And documentation says "The maximum number of queue runners for an individual queue group can be controlled via the Runners option. If set to 0, entries in the queue will not be processed, which is useful to ''quar- antine'' queue files. The number of runners per queue group may also be set with the option MaxRunnersPerQueue, which applies to queue groups that have no individual limit. That is, the default value for Runners is MaxRunnersPerQueue if set, otherwise 1." But I set to "0" `outside' queue group and however sendmail keeps on sending mail. I've added to access: QGRP:whateverdomain.com outside I want to mails sent to whateverdomain.com stay in enqueued (because are only for testing purposes) How can I do that?? Thanks in advance! -- -- Sergio Belkin - -- -- Sergio Belkin -
Radius using passwd file
Hi, I am trying to run radius in order to authenticate against passwd/shadow files (unix users), but I can't do that. In radiusd.conf I have: unix { cache = no cache_reload = 600 passwd = /etc/passwd shadow = /etc/shadow group = /etc/group radwtmp = ${logdir}/radwtmp } And users file contains: DEFAULT Auth-Type = System Fall-Through = 1 When I issue : radtest test test localhost 0 testing123 It outputs: Sending Access-Request of id 11 to 127.0.0.1:1812 User-Name = "test" User-Password = "test" NAS-IP-Address = spike.myhost.com NAS-Port = 0 Re-sending Access-Request of id 11 to 127.0.0.1:1812 User-Name = "test" User-Password = "\223O%\23105\016T\244\227\035\201\255a%{" NAS-IP-Address = spike.myshost.com NAS-Port = 0 rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=11, length=2 Why?? Thanks in advance! -- -- Sergio Belkin - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
OT:weird problem downloading big files
Hi, I've stuck with a weird problem... I can't download "big" files, I mean, I can't download well DVD iso files, for example, if I try download any file of http://linux.cucea.udg.mx/geeklog/staticpages/index.php?page=20080123170324195 I get something so: wget http://linux.cucea.udg.mx/espejo/Mandriva/2008.0/mandriva-linux-2008.0-free-dvd-i586.iso --00:40:53-- http://linux.cucea.udg.mx/espejo/Mandriva/2008.0/mandriva-linux-2008.0-free-dvd-i586.iso => `mandriva-linux-2008.0-free-dvd-i586.iso' Resolviendo linux.cucea.udg.mx... 148.202.23.6 Connecting to linux.cucea.udg.mx|148.202.23.6|:80... conectado. Petición HTTP enviada, esperando respuesta... 200 OK Longitud: 269.768.704 (257M) [application/octet-stream] 0% [ ] 14.87217.01K/s 257M??? Why other iso files has similar problem At first glance, I think that my wireless router was putting a limit, but then I connect directly to my ISP... I'm not behind a proxy (well, I don't if my ISP has one) but it's a recent problem, please could say me what's wrong? Same problem using either Mandriva 2008 or Fedora 8 :( Thanks in advance, and I'm sorry for the OT -- Sergio Belkin