Hopefully my last question. :-)
Almost running smooth as silk here! Just one last thing... What is the recommended replacement in a qmail environment (using Maildir now!) for /bin/mail? I have cron jobs wanting to use it (among many other apps). Thanks a bunch! -- ·.¸¸.·´¯`·. Glenn R. Crownover ·.¸¸.·´¯`·. Owner/CEO - Investor's Network Cafe ·.¸¸.·´¯`·. http://www.bluejava.com/inc/ ·.¸¸.·´¯`·. reply to: [EMAIL PROTECTED]
Re: Hopefully my last question. :-)
On 9/23/99 at 5:59 PM, [EMAIL PROTECTED] (Luis Campos de Carvalho) ([EMAIL PROTECTED]) had the thought: On Thu, 23 Sep 1999, Glenn Crownover wrote: Almost running smooth as silk here! Just one last thing... What is the recommended replacement in a qmail environment (using Maildir now!) for /bin/mail? I have cron jobs wanting to use it (among many other apps). I don't remember for sure what's the real utility of /bin/mail. I'm guessing that you want to send mails. The program that you must use is /var/qmail/bin/qmail-inject. There is a nice man page about it. Please somebody confirm this for me. Thank you a lot. I don't think you need to replace /bin/mail. I have a RedHat 5.2 box with sendmail removed and /bin/mail works just fine with qmail. Did you remove /bin/mail yourself? Is it not working now? Pat
Re: Hopefully my last question. :-)
I had 'chmod'ed it to 0 per "REMOVE.binmail" (in qmail/doc) step 2, as part of the INSTALL instructions. Then I got this message from my cron job: 23 Sep 04:02:01 ntpdate[29031]: step time server 192.6.38.127 offset 1.067004 sec /usr/lib/news/bin/news.daily: /bin/mail: Permission denied Patrick Berry wrote: On 9/23/99 at 5:59 PM, [EMAIL PROTECTED] (Luis Campos de Carvalho) ([EMAIL PROTECTED]) had the thought: On Thu, 23 Sep 1999, Glenn Crownover wrote: Almost running smooth as silk here! Just one last thing... What is the recommended replacement in a qmail environment (using Maildir now!) for /bin/mail? I have cron jobs wanting to use it (among many other apps). I don't remember for sure what's the real utility of /bin/mail. I'm guessing that you want to send mails. The program that you must use is /var/qmail/bin/qmail-inject. There is a nice man page about it. Please somebody confirm this for me. Thank you a lot. I don't think you need to replace /bin/mail. I have a RedHat 5.2 box with sendmail removed and /bin/mail works just fine with qmail. Did you remove /bin/mail yourself? Is it not working now? Pat -- ·.¸¸.·´¯`·. Glenn R. Crownover ·.¸¸.·´¯`·. Owner/CEO - Investor's Network Cafe ·.¸¸.·´¯`·. http://www.bluejava.com/inc/ ·.¸¸.·´¯`·. reply to: [EMAIL PROTECTED]
Re: Hopefully my last question. :-)
On 9/23/99 at 2:28 PM, [EMAIL PROTECTED] (Glenn Crownover) ([EMAIL PROTECTED]) had the thought: I had 'chmod'ed it to 0 per "REMOVE.binmail" (in qmail/doc) step 2, as part of the INSTALL instructions. Then I got this message from my cron job: 23 Sep 04:02:01 ntpdate[29031]: step time server 192.6.38.127 offset 1.067004 sec /usr/lib/news/bin/news.daily: /bin/mail: Permission denied In the REMOVE.binmail file it just says to link it to a usable mailer. I looked at the mail and mutt man page and they seemed to be command line compliant. I would guess that most mailers are compliant that way. You could just symlink /bin/mail to /usr/bin/mutt or whatever... Another option is to leave sendmail on the system in conjunction with qmail, but I doubt that is really necessary. Pat
Re: Hopefully my last question. :-) SOLVED
Oh really? So the old 'mail' works as well eh? (Yes, I had diverted sendmail and that was working fine). I wonder why the Install tells you to replace mail then...? Frederik Lindberg wrote: On Thu, Sep 23, 1999 at 02:49:08PM -0700, Glenn Crownover wrote: Oh, yes you are right. When I originally installed qmail, I didn't know which mailers were "usable". REMOVE.binmail recommended mailx, but I couldn't find it on my system. I had never heard of 'mutt', but alas, here it is and it seems compatible (I tested it). I use mail all the time. It invokes sendmail, but qmail has a sendmail wrapper. You need to: ln -sf /var/qmail/bin/sendmail /usr/bin/sendmail ln -sf /var/qmail/bin/sendmail /usr/sbin/sendmail and sometimes also: ln -sf /var/qmail/bin/sendmail /usr/lib/sendmail mail will now happily work with qmail instead and: mail -s 'about something' someone message will work. -- -Sincerely, Fred Fred Lindberg, Inf. Dis., WashU, St. Louis, MO, USA -- ·.¸¸.·´¯`·. Glenn R. Crownover ·.¸¸.·´¯`·. Owner/CEO - Investor's Network Cafe ·.¸¸.·´¯`·. http://www.bluejava.com/inc/ ·.¸¸.·´¯`·. reply to: [EMAIL PROTECTED]
Re: Hopefully my last question. :-) SOLVED
From: Glenn Crownover [EMAIL PROTECTED] Date: Thu, 23 Sep 1999 15:13:36 -0700 I wonder why the Install tells you to replace mail then...? Depends on the version of Unix you're using. Basically, he punted and told you to always replace it even though many people won't need to. Chris -- Chris Garrigues virCIO http://www.DeepEddy.Com/~cwg/ http://www.virCIO.Com +1 512 432 4046 +1 512 374 0500 4314 Avenue C O- Austin, TX 78751-3709 My email address is an experiment in SPAM elimination. For an explanation of what we're doing, see http://www.DeepEddy.Com/tms.html Nobody ever got fired for buying Microsoft, but they could get fired for relying on Microsoft. PGP signature
Re: Hopefully my last question. :-)
Patrick Berry wrote: On 9/23/99 at 5:59 PM, [EMAIL PROTECTED] (Luis Campos de Carvalho) ([EMAIL PROTECTED]) had the thought: On Thu, 23 Sep 1999, Glenn Crownover wrote: Almost running smooth as silk here! Just one last thing... What is the recommended replacement in a qmail environment (using Maildir now!) for /bin/mail? I have cron jobs wanting to use it (among many other apps). I don't remember for sure what's the real utility of /bin/mail. I'm guessing that you want to send mails. The program that you must use is /var/qmail/bin/qmail-inject. There is a nice man page about it. Please somebody confirm this for me. Thank you a lot. I don't think you need to replace /bin/mail. I have a RedHat 5.2 box with sendmail removed and /bin/mail works just fine with qmail. Did you remove /bin/mail yourself? Is it not working now? /bin/mail requires sendmail, but it works with qmail's sendmail wrapper. Maybe that's what Glenn didn't install (or installed wrongly). begin:vcard n:Castro;Juan tel;work:540-9100 Ramal 46 x-mozilla-html:FALSE url:http://www.appi.com.br/jcastro org:APPI Informática;Desenvolvimento adr:;;Av. Ataulfo de Paiva, 135/1410 - Leblon;Rio de Janeiro;RJ;22499-900;Brasil version:2.1 email;internet:[EMAIL PROTECTED] title:Consultor note;quoted-printable:One man alone cannot fight the future. USE LINUX!=0D=0A=0D=0A-- The X Racer=0D=0A=0D=0APGP Key ID 0xAAE4050C=0D=0A fn:Juan Carlos Castro y Castro end:vcard
Re: Hopefully my last question. :-)
Actually I never tried to use /bin/mail with qmail because I was under the impression that it would not work. I didn't know that it was a 'front-end' to sendmail. I now have it linked to 'mutt' and that seems to be working fine. (unless somebody knows some 'gotchya's with that setup! :-) Thanks again all! Juan Carlos Castro y Castro wrote: /bin/mail requires sendmail, but it works with qmail's sendmail wrapper. Maybe that's what Glenn didn't install (or installed wrongly). -- ·.¸¸.·´¯`·. Glenn R. Crownover ·.¸¸.·´¯`·. Owner/CEO - Investor's Network Cafe ·.¸¸.·´¯`·. http://www.bluejava.com/inc/ ·.¸¸.·´¯`·. reply to: [EMAIL PROTECTED]
Re: Hopefully my last question. :-)
On Thu, Sep 23, 1999 at 03:46:50PM -0700, Glenn Crownover wrote: Actually I never tried to use /bin/mail with qmail because I was under the impression that it would not work. I didn't know that it was a 'front-end' to sendmail. I now have it linked to 'mutt' and that seems to be working fine. (unless somebody knows some 'gotchya's with that setup! :-) Hello Glenn, I use mutt all the time in my scripts. A big advantage is that you may easily attach files with option ``-a'', very handy. Regards Mirko