[opensuse] openSUSE 11.0: /usr/sbin/alternatives
Hi Group, I'm trying to install ssmtp, and I've only found a fedora core src.rpm package. I can now build the binary rpm, but when I try to install the built rpm via YaST it complains that there is no known provider of /usr/sbin/alternatives This has me stumped. Can anyone suggest how I might proceed? Obviously I'm reasonably new at the rpm building - this being my first attempt . Appreciate any suggestions. Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mark V wrote:
Hi Group, I'm trying to install ssmtp, and I've only found a fedora core src.rpm package.
I can now build the binary rpm, but when I try to install the built rpm via YaST it complains that there is no known provider of /usr/sbin/alternatives
Suse does not have such a mechanism to choose/switch the MTA. Why not use the default Postfix? -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Jul 10, 2008 at 7:55 PM, Sandy Drobic
Mark V wrote:
Hi Group, I'm trying to install ssmtp, and I've only found a fedora core src.rpm package.
I can now build the binary rpm, but when I try to install the built rpm via YaST it complains that there is no known provider of /usr/sbin/alternatives
Thanks for responding Sandy.
Suse does not have such a mechanism to choose/switch the MTA.
OK, I dug around and discovered I need to alter the rpm spec file to change /usr/sbin/alternatives to /usr/sbin/update-alternatives My first dabble in rpm spec files.... happily it was a simple change.
Why not use the default Postfix?
I want to send mail directly from the command line to my gmail account without using an intermediate mail server. My understanding was ssmtp is the simplest way to get this functionality. I'm just going to use this on my laptop to have bacula send email notices to me, so setting up a mailserver seemed over kill - an far beyond my skill set :) Cheers Mark
-- Sandy
List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-07-10 at 20:07 +1000, Mark V wrote:
I want to send mail directly from the command line to my gmail account without using an intermediate mail server.
I think the command mail "might" be able to do just that, tinkering with options a bit. Ok, more than a bit :-) I'd have to sudy the manual to tell you how, though. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIded8tTMYHG2NR9URAo+KAJ9HXsd80W5CXkeuP0ZojdlQ1FmWQQCgjC/z FTn2KfJTbplEv829mHtX6Z0= =pKIg -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mark V wrote:
/usr/sbin/alternatives
Thanks for responding Sandy.
Suse does not have such a mechanism to choose/switch the MTA.
OK, I dug around and discovered I need to alter the rpm spec file to change /usr/sbin/alternatives to /usr/sbin/update-alternatives
My first dabble in rpm spec files.... happily it was a simple change.
ok.
Why not use the default Postfix?
I want to send mail directly from the command line to my gmail account without using an intermediate mail server.
Okay, otherwise I would have used mini_sendmail, a cmd client to send mails, though unfortunately without authentication support. I use it a lot if I want to send mails via smtp to an internal mailserver.
My understanding was ssmtp is the simplest way to get this functionality. I'm just going to use this on my laptop to have bacula send email notices to me, so setting up a mailserver seemed over kill - an far beyond my skill set :)
You could simply use only the client within Postfix and use Postfix as a nulllcient. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Jul 10, 2008 at 8:52 PM, Sandy Drobic
Mark V wrote:
/usr/sbin/alternatives
Thanks for responding Sandy.
Suse does not have such a mechanism to choose/switch the MTA.
OK, I dug around and discovered I need to alter the rpm spec file to change /usr/sbin/alternatives to /usr/sbin/update-alternatives
My first dabble in rpm spec files.... happily it was a simple change.
ok.
Why not use the default Postfix?
I want to send mail directly from the command line to my gmail account without using an intermediate mail server.
Okay, otherwise I would have used mini_sendmail, a cmd client to send mails, though unfortunately without authentication support. I use it a lot if I want to send mails via smtp to an internal mailserver.
My understanding was ssmtp is the simplest way to get this functionality. I'm just going to use this on my laptop to have bacula send email notices to me, so setting up a mailserver seemed over kill - an far beyond my skill set :)
You could simply use only the client within Postfix and use Postfix as a nulllcient.
Thanks for the suggestions. My use case is probably a minority case, and unreasonably dogmatic about the simplicity required :) Happily Linux accommodates all this, and more! I'll start another thread to enquire about the simplest steps 'send-an-email-from-the-command-line' on openSUSE. Regards Mark
-- Sandy
List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
----- Original Message -----
From: "Mark V"
On Thu, Jul 10, 2008 at 8:52 PM, Sandy Drobic
wrote: Mark V wrote:
/usr/sbin/alternatives
Thanks for responding Sandy.
Suse does not have such a mechanism to choose/switch the MTA.
OK, I dug around and discovered I need to alter the rpm spec file to change /usr/sbin/alternatives to /usr/sbin/update-alternatives
My first dabble in rpm spec files.... happily it was a simple change.
ok.
Why not use the default Postfix?
I want to send mail directly from the command line to my gmail account without using an intermediate mail server.
Okay, otherwise I would have used mini_sendmail, a cmd client to send mails, though unfortunately without authentication support. I use it a lot if I want to send mails via smtp to an internal mailserver.
My understanding was ssmtp is the simplest way to get this functionality. I'm just going to use this on my laptop to have bacula send email notices to me, so setting up a mailserver seemed over kill - an far beyond my skill set :)
You could simply use only the client within Postfix and use Postfix as a nulllcient.
Thanks for the suggestions. My use case is probably a minority case, and unreasonably dogmatic about the simplicity required :) Happily Linux accommodates all this, and more! I'll start another thread to enquire about the simplest steps 'send-an-email-from-the-command-line' on openSUSE.
send-an-email-from-the-command-line on any *ix: sendmail -t -i <<%%M to: somedude@somehost.com from: me@myhost.com hey this is an email %%M I think you're thinking too hard. Just go into yast, find the Mail Transfer Agent under network services, and just hit ok on every screen, don't set or change anything, just next, next, next, done. It doesn't matter that you have postfix, or qmail, or mmdf, or exim, etc instead of sendmail. They all have a command called "sendmail", and it always takes the same options for all the common options for exactly this reason (compatibility, integration). Your difficulties, which you will not be able to avoid no matter how simple the software is, will come in the form of your ISP blocking outgoing email by various and nefarious rfc-breaking schemes in their attempt to avoid being charged with fostering spammers. -- Brian K. White brian@aljex.com http://www.myspace.com/KEYofR +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-07-10 at 20:37 -0400, Brian K. White wrote:
I'll start another thread to enquire about the simplest steps 'send-an-email-from-the-command-line' on openSUSE. ... I think you're thinking too hard. Just go into yast, find the Mail Transfer Agent under network services, and just hit ok on every screen, don't set or change anything, just next, next, next, done.
This is true, but will posibly fail to send because it does not use the corresponding relay of each ISP, and this needs to be configured separately into several files, plus tests, etc. He needs an easy way to send from the command line, defining the appropiate relay. Better wait for his new post. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFId0Z7tTMYHG2NR9URAjBWAJoD61CtbMJkPk9tBnsy7navciNqfgCfRW13 cWyjeQ04Of+HW1pU6r8RYis= =rDdh -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Brian K. White
-
Carlos E. R.
-
Mark V
-
Sandy Drobic