alpine does not use sendmail by default

This is a discussion on alpine does not use sendmail by default within the Pine forums in Other Technologies category; I am trying to see if I can change from pine to alpine. My computer acts as its own mail server and under pine pine simply calls sendmail to send out the mail. The man page for alpine claims that alpine should do the same if neither smtp-server and sendmail-path are unset Unfortunately I just get "No smtp server set" error message when I try to send mail. So it is eithr back to pine, or perhaps someone can tell me how to get alpine to behave. Thanks...

Go Back   Application Development Forum > Other Technologies > Pine

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-27-2008, 08:52 PM
Unruh
Guest
 
Default alpine does not use sendmail by default

I am trying to see if I can change from pine to alpine.
My computer acts as its own mail server and under pine pine simply calls
sendmail to send out the mail.
The man page for alpine claims that alpine should do the same if neither
smtp-server and sendmail-path are unset Unfortunately I just get "No smtp
server set" error message when I try to send mail.

So it is eithr back to pine, or perhaps someone can tell me how to get
alpine to behave.

Thanks


Reply With Quote
  #2  
Old 07-28-2008, 05:05 PM
Jim Jackson
Guest
 
Default Re: alpine does not use sendmail by default

Unruh <unruh-spam@physics.ubc.ca> wrote:
> I am trying to see if I can change from pine to alpine.
> My computer acts as its own mail server and under pine pine simply calls
> sendmail to send out the mail.
> The man page for alpine claims that alpine should do the same if neither
> smtp-server and sendmail-path are unset Unfortunately I just get "No smtp
> server set" error message when I try to send mail.


> So it is eithr back to pine, or perhaps someone can tell me how to get
> alpine to behave.


When I switched from pine to alpine it just worked. My setup is similar to
yours. My sendmail-path and smtp-server are unset. Have you done anything
else beside switch from pine to alpine. Have you changed MTA's or upgraded
or something?

Reply With Quote
  #3  
Old 07-28-2008, 07:21 PM
Steve Hubert
Guest
 
Default Re: alpine does not use sendmail by default

On Mon, 28 Jul 2008, Unruh wrote:

> I am trying to see if I can change from pine to alpine.
> My computer acts as its own mail server and under pine pine simply calls
> sendmail to send out the mail.
> The man page for alpine claims that alpine should do the same if neither
> smtp-server and sendmail-path are unset Unfortunately I just get "No smtp
> server set" error message when I try to send mail.
>
> So it is eithr back to pine, or perhaps someone can tell me how to get
> alpine to behave.
>
> Thanks


Maybe it has the wrong path for the sendmail command. Try

strings alpine | grep sendmail

to see if the path matches what it should. The configure option

--with-smtp-msa=PATH

may be used to change the path at configure time.

Steve

Reply With Quote
  #4  
Old 07-29-2008, 12:20 AM
Unruh
Guest
 
Default Re: alpine does not use sendmail by default

Steve Hubert <hubert@washington.edu> writes:

>On Mon, 28 Jul 2008, Unruh wrote:


>> I am trying to see if I can change from pine to alpine.
>> My computer acts as its own mail server and under pine pine simply calls
>> sendmail to send out the mail.
>> The man page for alpine claims that alpine should do the same if neither
>> smtp-server and sendmail-path are unset Unfortunately I just get "No smtp
>> server set" error message when I try to send mail.
>>
>> So it is eithr back to pine, or perhaps someone can tell me how to get
>> alpine to behave.
>>
>> Thanks


>Maybe it has the wrong path for the sendmail command. Try


> strings alpine | grep sendmail


>to see if the path matches what it should. The configure option


> --with-smtp-msa=PATH


>may be used to change the path at configure time.


Now the error is
Error sending: No default posting command.



>Steve


Reply With Quote
  #5  
Old 07-29-2008, 10:03 AM
Unruh
Guest
 
Default Re: alpine does not use sendmail by default

Steve Hubert <hubert@washington.edu> writes:

>On Mon, 28 Jul 2008, Unruh wrote:


>> I am trying to see if I can change from pine to alpine.
>> My computer acts as its own mail server and under pine pine simply calls
>> sendmail to send out the mail.
>> The man page for alpine claims that alpine should do the same if neither
>> smtp-server and sendmail-path are unset Unfortunately I just get "No smtp
>> server set" error message when I try to send mail.
>>
>> So it is eithr back to pine, or perhaps someone can tell me how to get
>> alpine to behave.
>>
>> Thanks


>Maybe it has the wrong path for the sendmail command. Try


> strings alpine | grep sendmail


>to see if the path matches what it should. The configure option


There is a bunch of stuff obviously from html pages in apline help but no
specific sendmail path
What does a correctly formatted entry look like?
Mine came directly from the Mandriva rpm.


> --with-smtp-msa=PATH


>may be used to change the path at configure time.


>Steve


Reply With Quote
  #6  
Old 07-29-2008, 12:50 PM
Steve Hubert
Guest
 
Default Re: alpine does not use sendmail by default

On Tue, 29 Jul 2008, Unruh wrote:

> What does a correctly formatted entry look like?
> Mine came directly from the Mandriva rpm.


It depends on the system, but a fairly common location is
/usr/sbin/sendmail. If your system is running a sendmail daemon maybe an
easier approach would be to set the Smtp Server to localhost instead of
trying to execute sendmail each time you send mail. Or set Smtp Server to
the name of some other Smtp Server accessible to you. You may want to use
the submission port (587) and cause authentication to take place by
setting something like

Smtp Server = smtp.example.com:587/user=username

Steve
Reply With Quote
  #7  
Old 07-29-2008, 08:03 PM
Unruh
Guest
 
Default Re: alpine does not use sendmail by default

Steve Hubert <hubert@washington.edu> writes:

>On Tue, 29 Jul 2008, Unruh wrote:


>> What does a correctly formatted entry look like?
>> Mine came directly from the Mandriva rpm.


>It depends on the system, but a fairly common location is
>/usr/sbin/sendmail. If your system is running a sendmail daemon maybe an
>easier approach would be to set the Smtp Server to localhost instead of
>trying to execute sendmail each time you send mail. Or set Smtp Server to
>the name of some other Smtp Server accessible to you. You may want to use
>the submission port (587) and cause authentication to take place by
>setting something like


>Smtp Server = smtp.example.com:587/user=username


I actually use postfix, but postfix has a sendmail alias, which is in both
/usr/lib/sendmail and /usr/sbin/sendmail.

I get
[Error sending: No default posting command.]
as the error messages

In the .pinerc file I have
smtp-server=
and
sendmail-path=
Ie, both are unset.

If I set
sendmail-path=/usr/lib/sendmail -oem -t -oi

It works, but the docs say that is supposed to be the default if
sendmail-path is unset. And I do not want to get all my users to change
their .pinerc files.

It is also supposed to read /etc/pine.conf but does not. Aha
if I put in /usr/lib/pine.conf, it does read THAT!
Sheesh. Why change the default location.
And why change the default!


but putting
Reply With Quote
  #8  
Old 07-30-2008, 12:14 AM
Eduardo Chappa
Guest
 
Default Re: alpine does not use sendmail by default

On Wed, 30 Jul 2008, Unruh wrote:

It is also supposed to read /etc/pine.conf but does not. Aha if I put
in /usr/lib/pine.conf, it does read THAT! Sheesh. Why change the
default location. And why change the default!

Pine/Alpine set the default to /usr/lib/, not /etc/. Some linux
distributions prefer to put their files in /etc/, so they changed them in
some moment. In case of doubt you can know where to find them, if you
look in the .pine-debug1 file, almost at the top it tells you the path
to where the files being read is, and that includes files like pine.conf,
and pine.conf.fixed.

--
Eduardo
http://staff.washington.edu/chappa/alpine/
Reply With Quote
  #9  
Old 07-30-2008, 12:21 PM
Unruh
Guest
 
Default Re: alpine does not use sendmail by default

Eduardo Chappa <chappa@u.washington.edu> writes:

>On Wed, 30 Jul 2008, Unruh wrote:


> It is also supposed to read /etc/pine.conf but does not. Aha if I put
> in /usr/lib/pine.conf, it does read THAT! Sheesh. Why change the
> default location. And why change the default!


>Pine/Alpine set the default to /usr/lib/, not /etc/. Some linux


/usr/lib is a silly place to put them-- lib is libraries, not configuration
files. /etc is the traditional place for configuration files.
But I guess neither you not I am going to change their minds.


>distributions prefer to put their files in /etc/, so they changed them in
>some moment. In case of doubt you can know where to find them, if you
>look in the .pine-debug1 file, almost at the top it tells you the path
>to where the files being read is, and that includes files like pine.conf,
>and pine.conf.fixed.


Thanks.

>--
>Eduardo
>http://staff.washington.edu/chappa/alpine/

Reply With Quote
  #10  
Old 07-30-2008, 12:31 PM
Mark Crispin
Guest
 
Default Re: alpine does not use sendmail by default

On Wed, 30 Jul 2008, Unruh posted:
> /usr/lib is a silly place to put them-- lib is libraries, not configuration
> files. /etc is the traditional place for configuration files.


That is, of course, until some new distribution comes around and changes
the "official" definition of the roles of these various directories yet
again. Once upon a time, /etc was for system files and /usr/lib was used
as a library of any number of user-level accessory files, including binary
libraries, configuration files, dictionaries, scripts, etc.

Let's not forget /usr/share, and the /usr/libexec vs. /usr/sbin fooferaw.

The problem with sweeping statements that such-and-such location is
"silly" (or "traditional") is that for every such statement, you can find
someone (and some distribution) who says the exact opposite.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:40 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.