FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-29-2010, 03:04 AM
T o n g
 
Default emacs: send mail with sendmail

Hi,

Having updated emacs to v23.2+1-4, I lost the "send mail (with sendmail)"
menu, but get a "send mail (with gnus message)" menu instead. As you
might have guessed, it doesn't work for me.

$ tail -1 /var/log/mail.log
Sep 28 23:00:07 coral sm-msp-queue[5145]: o8SATjAs007592: to=root,
ctladdr=root (0/0), delay=16:30:22, xdelay=00:00:00, mailer=relay,
pri=4530639, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
Connection refused by [127.0.0.1]

The sendmail has been working fine for me for over 10 years (despite some
people hate it). I don't want to deal another MTA, is it possible to get
that sendmail menu back?

Thanks

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: i7uabs$anp$1@dough.gmane.org">http://lists.debian.org/i7uabs$anp$1@dough.gmane.org
 
Old 09-29-2010, 06:31 AM
Sven Joachim
 
Default emacs: send mail with sendmail

On 2010-09-29 05:04 +0200, T o n g wrote:

> Having updated emacs to v23.2+1-4, I lost the "send mail (with sendmail)"
> menu, but get a "send mail (with gnus message)" menu instead. As you
> might have guessed, it doesn't work for me.

Did it work before on the same machine?

> $ tail -1 /var/log/mail.log
> Sep 28 23:00:07 coral sm-msp-queue[5145]: o8SATjAs007592: to=root,
> ctladdr=root (0/0), delay=16:30:22, xdelay=00:00:00, mailer=relay,
> pri=4530639, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
> Connection refused by [127.0.0.1]

Your MTA seems to be broken. Can you send mail with /usr/bin/mail?

> The sendmail has been working fine for me for over 10 years (despite some
> people hate it). I don't want to deal another MTA, is it possible to get
> that sendmail menu back?

Yes, but that doesn't change anything since message-mode also uses
sendmail for sending mail by default, like the old (and much inferior)
mail-mode.

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87y6aldpsd.fsf@turtle.gmx.de">http://lists.debian.org/87y6aldpsd.fsf@turtle.gmx.de
 
Old 09-29-2010, 03:01 PM
T o n g
 
Default emacs: send mail with sendmail

On Wed, 29 Sep 2010 08:31:14 +0200, Sven Joachim wrote:

> On 2010-09-29 05:04 +0200, T o n g wrote:
>
>> Having updated emacs to v23.2+1-4, I lost the "send mail (with
>> sendmail)" menu, but get a "send mail (with gnus message)" menu
>> instead. As you might have guessed, it doesn't work for me.
>
> Did it work before on the same machine?

Yes, with the "send mail (with sendmail)" menu, and my sendmail is still
working.

>> $ tail -1 /var/log/mail.log
>> Sep 28 23:00:07 coral sm-msp-queue[5145]: o8SATjAs007592: to=root,
>> ctladdr=root (0/0), delay=16:30:22, xdelay=00:00:00, mailer=relay,
>> pri=4530639, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
>> Connection refused by [127.0.0.1]
>
> Your MTA seems to be broken. Can you send mail with /usr/bin/mail?

I never directly use /usr/bin/mail to send email, but sendmail instead,
which goes through my ISP Smart Host.

>> The sendmail has been working fine for me for over 10 years (despite
>> some people hate it). I don't want to deal another MTA, is it possible
>> to get that sendmail menu back?
>
> Yes, but that doesn't change anything since message-mode also uses
> sendmail for sending mail by default, like the old (and much inferior)
> mail-mode.

Ok, I guess this is the mode that you are talking about:

Message mode:
Major mode for editing mail and news to be sent.

But why I get into this via the "send mail (with *gnus message*)" menu?
BTW, I don't have the gnus package installed, and hope not as well.

Thanks

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: i7vkbi$m57$2@dough.gmane.org">http://lists.debian.org/i7vkbi$m57$2@dough.gmane.org
 
Old 09-29-2010, 04:02 PM
Sven Joachim
 
Default emacs: send mail with sendmail

On 2010-09-29 17:01 +0200, T o n g wrote:

> On Wed, 29 Sep 2010 08:31:14 +0200, Sven Joachim wrote:
>
>> On 2010-09-29 05:04 +0200, T o n g wrote:
>>
>>> Having updated emacs to v23.2+1-4, I lost the "send mail (with
>>> sendmail)" menu, but get a "send mail (with gnus message)" menu
>>> instead. As you might have guessed, it doesn't work for me.
>>
>> Did it work before on the same machine?
>
> Yes, with the "send mail (with sendmail)" menu, and my sendmail is still
> working.

Did you customize any of the mail-* variables in Emacs?

>>> $ tail -1 /var/log/mail.log
>>> Sep 28 23:00:07 coral sm-msp-queue[5145]: o8SATjAs007592: to=root,
>>> ctladdr=root (0/0), delay=16:30:22, xdelay=00:00:00, mailer=relay,
>>> pri=4530639, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred:
>>> Connection refused by [127.0.0.1]
>>
>> Your MTA seems to be broken. Can you send mail with /usr/bin/mail?
>
> I never directly use /usr/bin/mail to send email, but sendmail instead,
> which goes through my ISP Smart Host.

Your mail.log shows a failed attempt to send mail to root. Relaying
that mail to your ISP would not have been any good, presumably.

>>> The sendmail has been working fine for me for over 10 years (despite
>>> some people hate it). I don't want to deal another MTA, is it possible
>>> to get that sendmail menu back?
>>
>> Yes, but that doesn't change anything since message-mode also uses
>> sendmail for sending mail by default, like the old (and much inferior)
>> mail-mode.

In case you want that back, (setq mail-user-agent 'sendmail-user-agent)
does the trick. Can you send mail if you do that?

> Ok, I guess this is the mode that you are talking about:
>
> Message mode:
> Major mode for editing mail and news to be sent.
>
> But why I get into this via the "send mail (with *gnus message*)" menu?

The menu item may be a bit misleadingly labeled.

> BTW, I don't have the gnus package installed, and hope not as well.

Gnus comes with Emacs, and message-mode is part of it. But you don't
have to manage your mail and news with Gnus to use message-mode.

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87mxr0a682.fsf@turtle.gmx.de">http://lists.debian.org/87mxr0a682.fsf@turtle.gmx.de
 

Thread Tools




All times are GMT. The time now is 03:07 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org