Re: Mutt and sendmail

2001-06-11 Thread Suresh Ramasubramanian


Manoj Naik [mutt-users] 11/06/01 19:21 +0530: 
 
 Will it allow me to send attachments??
 

that is the function of your mail program.  you can uuencode things if you want
- or try nail - a MIME aware variant of mailx

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin  



Re: Mutt and sendmail

2001-06-08 Thread Raghavendra Bhat


[Fri, Jun 08, 2001 at 10:23:35AM +0530] Manoj Naik :

 I suggest you use a MSA like masqmail/nullmailer 
 instead of a full fledged MTA on that box.


Lookup a package called 'ssmtp'.  Small and well done.
Been using the same on an old 386 for a long time.
-- 
  ragOO, VU2RGU
Keeping the  Air-Waves FREE...Amateur Radio
Keeping your Software  FREE.the GNU Project
Keeping the  W W W FREEDebian GNU/${kernel}



Mutt and sendmail

2001-06-07 Thread Manoj Naik

Hello All,

I have recently bought a  PCM-5820 mainboard and want to develop an embedded
linux platform.I want to use Mutt as the MUA.Can anybody tell me what are
the minimum files in Mutt and sendamil
which i will require to send and recieve mails.

Thanks


Manoj




fetching mail in mutt and sendmail

2001-05-21 Thread Joss Winn

Hello,

I would like to disable the sendmail daemon yet still be able to
fetch mail using fetchmail, calling sendmail to deliver the mail
only when fetchmail needs it.  Currently, if the sendmail daemon is
disabled, I can send mail, but when trying to fetch i with
fetchmail, it fails because sendmail is not running in the
background.  Is there anyway i can use sendmail without it running
constantly on port 25?  I do not run any external services and am
the only user.  Alternatively, can I make the pop3 function in mutt
work with procmail?

Thank you very much
Joss
-- 
http://www.josswinn.org



Re: fetching mail in mutt and sendmail

2001-05-21 Thread Dan Boger

On Mon, 21 May 2001, Joss Winn wrote:
 I would like to disable the sendmail daemon yet still be able to
 fetch mail using fetchmail, calling sendmail to deliver the mail
 only when fetchmail needs it.  Currently, if the sendmail daemon is
 disabled, I can send mail, but when trying to fetch i with
 fetchmail, it fails because sendmail is not running in the
 background.  Is there anyway i can use sendmail without it running
 constantly on port 25?  I do not run any external services and am
 the only user.  Alternatively, can I make the pop3 function in mutt
 work with procmail?

just curious, why deliver the mail via sendmail?  you can just call
procmail directly from fetchmail, and skip sendmail alltogether...  unless
there's a reason I've missed here?

just put:

mda /usr/bin/procmail  -d  %T

in your fetchmailrc, and turn off sendmail :)

HTH,

Dan

-- 
[EMAIL PROTECTED]
Linux MVP
Brainbench.com





Re: fetching mail in mutt and sendmail

2001-05-21 Thread Suresh Ramasubramanian

Joss Winn [mutt-users] 21/05/01 22:27 +0900: 

 I would like to disable the sendmail daemon yet still be able to
 fetch mail using fetchmail, calling sendmail to deliver the mail
 only when fetchmail needs it.  Currently, if the sendmail daemon is
 disabled, I can send mail, but when trying to fetch i with


RTFM the mda flag in fetchmail - you can use procmail, maildrop, deliver (or
whatever) for local delivery.

 fetchmail, it fails because sendmail is not running in the
 background.  Is there anyway i can use sendmail without it running
 constantly on port 25?  I do not run any external services and am

You can have it listen only on 127.0.0.1 (use the daemon port options in
sendmail.mc)

 the only user.  Alternatively, can I make the pop3 function in mutt
 work with procmail?
 
defaults
forcecr
poll pop.server with proto pop3
user foo with pass bar mda /usr/bin/procmail  -d %T
fetchall

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Re: fetching mail in mutt and sendmail

2001-05-21 Thread Joss Winn

On Tue, May 22, 2001 at 02:02:35AM -, mutt-users-digest wrote:
 --
 
 Date: Mon, 21 May 2001 22:27:10 +0900
 From: Joss Winn [EMAIL PROTECTED]
 Subject: fetching mail in mutt and sendmail
 
 Hello,
 I would like to disable the sendmail daemon yet still be able to
 fetch mail using fetchmail, calling sendmail to deliver the mail
 only when fetchmail needs it.  Currently, if the sendmail daemon is
 disabled, I can send mail, but when trying to fetch i with
 fetchmail, it fails because sendmail is not running in the
 background.  Is there anyway i can use sendmail without it running
 constantly on port 25?  I do not run any external services and am
 the only user.  Alternatively, can I make the pop3 function in mutt
 work with procmail?
 Thank you very much
 Joss
 - -- 
 http://www.josswinn.org
 
 --
 
 Date: Mon, 21 May 2001 09:33:22 -0400 (EDT)
 From: Dan Boger [EMAIL PROTECTED]
 Subject: Re: fetching mail in mutt and sendmail
 
 On Mon, 21 May 2001, Joss Winn wrote:
  I would like to disable the sendmail daemon yet still be able to
  fetch mail using fetchmail, calling sendmail to deliver the mail
  only when fetchmail needs it.  Currently, if the sendmail daemon is
  disabled, I can send mail, but when trying to fetch i with
  fetchmail, it fails because sendmail is not running in the
  background.  Is there anyway i can use sendmail without it running
  constantly on port 25?  I do not run any external services and am
  the only user.  Alternatively, can I make the pop3 function in mutt
  work with procmail?
 just curious, why deliver the mail via sendmail?  you can just call
 procmail directly from fetchmail, and skip sendmail alltogether...  unless
 there's a reason I've missed here?
 just put:
 mda /usr/bin/procmail  -d  %T
 in your fetchmailrc, and turn off sendmail :)
 HTH,
 Dan
 - -- 
 [EMAIL PROTECTED]
 Linux MVP
 Brainbench.com
 
 --
 
 Date: Mon, 21 May 2001 18:53:46 +0530
 From: Suresh Ramasubramanian [EMAIL PROTECTED]
 Subject: Re: fetching mail in mutt and sendmail
 
 Joss Winn [mutt-users] 21/05/01 22:27 +0900: 
  I would like to disable the sendmail daemon yet still be able to
  fetch mail using fetchmail, calling sendmail to deliver the mail
  only when fetchmail needs it.  Currently, if the sendmail daemon is
  disabled, I can send mail, but when trying to fetch i with
 RTFM the mda flag in fetchmail - you can use procmail, maildrop, deliver (or
 whatever) for local delivery.
  fetchmail, it fails because sendmail is not running in the
  background.  Is there anyway i can use sendmail without it running
  constantly on port 25?  I do not run any external services and am
 You can have it listen only on 127.0.0.1 (use the daemon port options in
 sendmail.mc)
  the only user.  Alternatively, can I make the pop3 function in mutt
  work with procmail?
  
 defaults
 forcecr
 poll pop.server with proto pop3
 user foo with pass bar mda /usr/bin/procmail  -d %T
 fetchall
 - -- 
 Suresh Ramasubramanian + Wallopus Malletus Indigenensis
 mallet @ cluestick.org + Lumber Cartel of India, tinlcI
 EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
 
 --

Dan and Suresh,

thanks very much.  I was under the impression that I had to have
sendmail communicating with fetchmail to get the mail to my inbox. I
thought it was a bit of an overkill for such a simple situation.
All solved.  

cheers
joss

-- 
http://www.josswinn.org



Configuring Mutt with Sendmail and PPP.

2000-08-24 Thread Damien Tougas

Hello,

I am using Mutt on a laptop, with a dialup connection. I have Sendmail
configured to queue messages, and I force processing of the mailqueue
when I connect via PPP. The problem is, every time mutt sends a message
it forces sendmail to do a DNS lookup which in turn causes PPPd to make
a connection to the net. (I know that this is Sendmail's fault, but
from what I can see, there is no way to prevent Sendmail from doing this).

Is there any way that I can make Mutt process my outgoing mail after I
have composed all of my messages? Is there another way of doing this?

Please reply to me directly, since I am not subscribed to this list.

Thanks.

Damien.



Re: Configuring Mutt with Sendmail and PPP.

2000-08-24 Thread Jason Helfman

I suppose you could make a fcc-hook to an outbox, then setup a send-hook
from that outbox. This would more then likely do that job.

Manual.

On Wed, Aug 23, 2000 at 10:36:45PM -0400, Damien Tougas muttered:
| Hello,
| 
| I am using Mutt on a laptop, with a dialup connection. I have Sendmail
| configured to queue messages, and I force processing of the mailqueue
| when I connect via PPP. The problem is, every time mutt sends a message
| it forces sendmail to do a DNS lookup which in turn causes PPPd to make
| a connection to the net. (I know that this is Sendmail's fault, but
| from what I can see, there is no way to prevent Sendmail from doing this).
| 
| Is there any way that I can make Mutt process my outgoing mail after I
| have composed all of my messages? Is there another way of doing this?
| 
| Please reply to me directly, since I am not subscribed to this list.
| 
| Thanks.
| 
| Damien.

-- 
/Jason G Helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149



Re: Configuring Mutt with Sendmail and PPP.

2000-08-24 Thread Mikko Hänninen

Damien Tougas [EMAIL PROTECTED] wrote on Wed, 23 Aug 2000:
 Is there any way that I can make Mutt process my outgoing mail after I
 have composed all of my messages? Is there another way of doing this?

When you send an email, Mutt calls a program defined in the $sendmail
Mutt configuration variable.  If you want to use some kind of "send
later" scheme, it's probably best if you create your own custom setup
for this.

I personally would recommend ditching sendmail altogether and using
something like MasqMail or something which has been created for dialup
use.  I don't know what kind of delayed-mailing features they have,
though, but probably better than sendmail anyway.

Or you could just write a custom script that saves the email in some
special folder (or whatever data format you want to use), from where
the emails are then sent by another script once you're online.


In any case, Mutt doesn't have any kind of "send later" feature, except
that you can choose your delivery program yourself.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
It *is* as bad as you think, and they *are* out to get you.



Re: Configuring Mutt with Sendmail and PPP.

2000-08-24 Thread rex

On Wed, Aug 23, 2000 at 10:36:45PM -0400, Damien Tougas wrote:
 
 I am using Mutt on a laptop, with a dialup connection. I have Sendmail
 configured to queue messages, and I force processing of the mailqueue
 when I connect via PPP. The problem is, every time mutt sends a message
 it forces sendmail to do a DNS lookup which in turn causes PPPd to make
 a connection to the net. (I know that this is Sendmail's fault, but
 from what I can see, there is no way to prevent Sendmail from doing this).
 
I'm using Sendmail on a dialup and it queues messages when offline. When
Mutt sends a message it's put in the queue and no dialup is initiated.
Later, when I connect, I type "sendmail -q" and the queued messages are
sent. Unfortunately, I don't remember where this is configured, but at
least you know it's possible to stop sendmail/PPPd from dialing every time
a message is queued (I think this is a PPPd issue).

If someone else doesn't point out what needs to be configured, let me know
and I'll dig into it more.

Regards,

-rex





RE: Configuring Mutt with Sendmail and PPP.

2000-08-24 Thread Larry Rosenman

sendmail can be configured in the sendmail.cf to use mode=queueonly.

(from man sendmail:

DeliveryMode=x
  Set the delivery mode to x. Delivery modes are
i
   interactive (synchronous) delivery
b
   background (asynchronous) delivery
q
   queue only; that is, actual delivery is done the next time
   the queue is run
d
   deferred; the same as q except that database lookups
   (notably DNS and NIS lookups) are avoided

)

See also the sendmail operations guide.

LER


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of rex
Sent: Thursday, August 24, 2000 11:40 AM
To: Damien Tougas
Cc: [EMAIL PROTECTED]
Subject: Re: Configuring Mutt with Sendmail and PPP.


On Wed, Aug 23, 2000 at 10:36:45PM -0400, Damien Tougas wrote:

 I am using Mutt on a laptop, with a dialup connection. I have Sendmail
 configured to queue messages, and I force processing of the mailqueue
 when I connect via PPP. The problem is, every time mutt sends a message
 it forces sendmail to do a DNS lookup which in turn causes PPPd to make
 a connection to the net. (I know that this is Sendmail's fault, but
 from what I can see, there is no way to prevent Sendmail from doing this).

I'm using Sendmail on a dialup and it queues messages when offline. When
Mutt sends a message it's put in the queue and no dialup is initiated.
Later, when I connect, I type "sendmail -q" and the queued messages are
sent. Unfortunately, I don't remember where this is configured, but at
least you know it's possible to stop sendmail/PPPd from dialing every time
a message is queued (I think this is a PPPd issue).

If someone else doesn't point out what needs to be configured, let me know
and I'll dig into it more.

Regards,

-rex





Re: Configuring Mutt with Sendmail and PPP.

2000-08-24 Thread Aaron Schrab

At 11:29 -0500 24 Aug 2000, Larry Rosenman [EMAIL PROTECTED] wrote:
 sendmail can be configured in the sendmail.cf to use mode=queueonly.

It can also be done on the command line by including the -odq option.
But

 d
deferred; the same as q except that database lookups
(notably DNS and NIS lookups) are avoided

would probably be more appropriate here.  It can be set on the command
line using -odd .

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 At the source of every error which is blamed on the computer you will
 find at least two human errors, including the error of blaming it on
 the computer.



Re: Configuring Mutt with Sendmail and PPP.

2000-08-24 Thread rex

On Thu, Aug 24, 2000 at 11:29:38AM -0500, Larry Rosenman wrote:
 sendmail can be configured in the sendmail.cf to use mode=queueonly.
 
 (from man sendmail:
 
 DeliveryMode=x
   Set the delivery mode to x. Delivery modes are
 i
interactive (synchronous) delivery
 b
background (asynchronous) delivery
 q
queue only; that is, actual delivery is done the next time
the queue is run
 d
deferred; the same as q except that database lookups
(notably DNS and NIS lookups) are avoided

My sendmail.cf is:

O DeliveryMode=background

and no dialup is initiated if the PC is offline when mail is sent. If
the PC is online, the mail is sent immediately.

-rex



Re: Configuring Mutt with Sendmail and PPP.

2000-08-24 Thread Suresh Ramasubramanian

*[Damien Tougas on Wed, Aug 23, 2000 at 10:36:45PM -0400]:

 I am using Mutt on a laptop, with a dialup connection. I have Sendmail
 configured to queue messages, and I force processing of the mailqueue
 when I connect via PPP. The problem is, every time mutt sends a message
 it forces sendmail to do a DNS lookup which in turn causes PPPd to make
 
In /etc/sendmail.cf (or /etc/mail/sendmail.cf in sendmail 8.10.x and above)
just set 

o HoldExpensive = True  (default is false)

Mail is queued on your local sendmail queue - /var/spool/mqueue in redhat - and
you can process the queue by /usr/sbin/sendmail -q

A complete howto is given on the ILUG Hyderabad homepage at
http://linuxindia.virtualave.net/vsnlcon.html

 Is there any way that I can make Mutt process my outgoing mail after I
 have composed all of my messages? Is there another way of doing this?

hth
-suresh

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
The college graduate is presented with a sheepskin to cover his
intellectual nakedness.
-- Robert M. Hutchins



Re: mutt - sendmail - sendmail hub. sendmail.cf anyone?

2000-06-07 Thread Suresh Ramasubramanian

[EMAIL PROTECTED] proclaimed on mutt-users that: 

Does anyone use mutt with local sendmail, where the local sendmail is
configured to forward all mail to a central hub?

OK ... all you need to do is to set the DS flag in /etc/sendmail.cf to
your central hub.

That is

DS your.central.hub.fqdn

or

DS [hubs.ip.address.here] = note the Domain literal format [ip]

That's more than enough.

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
"The Lord gave us farmers two strong hands so we could grab as much as
we could with both of them."
-- Joseph Heller, "Catch-22"



Re: mutt - sendmail - sendmail hub. sendmail.cf anyone?

2000-06-07 Thread clemensF

 [EMAIL PROTECTED]:

 Does anyone use mutt with local sendmail, where the local sendmail is
 configured to forward all mail to a central hub?

yes.

 If so could I have a look at your sendmail.cf or relevant m4 file?

i'd rather not.  before i switched to qmail, some (hopefully relevant) part
of it looked like:

DSsmtp:mail.germanynet.de

the smtp: protocol-designator was vital.  my system didn't work right
before it was in there.

clemens



Re: mutt - sendmail - sendmail hub. sendmail.cf anyone?

2000-06-07 Thread Suresh Ramasubramanian

clemensF proclaimed on mutt-users that: 

i'd rather not.  before i switched to qmail, some (hopefully relevant) part
of it looked like:

DSsmtp:mail.germanynet.de

the smtp: protocol-designator was vital.  my system didn't work right
before it was in there.

Prefixing smtp: to the smarthost is unnecessary - must have been something
to do with your local configuration.

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
"The Lord gave us farmers two strong hands so we could grab as much as
we could with both of them."
-- Joseph Heller, "Catch-22"



Re: mutt - sendmail - sendmail hub. sendmail.cf anyone?

2000-06-07 Thread Erik Jacobsen


Or, use a nullclient configuration, and let m4 do the work...

E.g.,

VERSIONID(`a null client configuration')

OSTYPE(someOS)

FEATURE(nullclient, yourcentralhub.somewhere.com)

-- 
-e



On Wed, Jun 07, 2000 at 12:25 PM, clemensF ([EMAIL PROTECTED]) typed:

  [EMAIL PROTECTED]:
 
  Does anyone use mutt with local sendmail, where the local sendmail is
  configured to forward all mail to a central hub?
 
 yes.
 
  If so could I have a look at your sendmail.cf or relevant m4 file?
 
 i'd rather not.  before i switched to qmail, some (hopefully relevant) part
 of it looked like:
 
 DSsmtp:mail.germanynet.de
 
 the smtp: protocol-designator was vital.  my system didn't work right
 before it was in there.
 
 clemens



Re: mutt - sendmail - sendmail hub. sendmail.cf anyone?

2000-06-07 Thread Suresh Ramasubramanian

Erik Jacobsen proclaimed on mutt-users that: 


Or, use a nullclient configuration, and let m4 do the work...


No particular need to recompile sendmail.cf, when the DS setting does the
trick, imho.

E.g.,

VERSIONID(`a null client configuration')

OSTYPE(someOS)

FEATURE(nullclient, yourcentralhub.somewhere.com)



-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
It's easier to fight for one's principles than to live up to them.



mutt - sendmail - sendmail hub. sendmail.cf anyone?

2000-06-06 Thread nigel

Hi,

Does anyone use mutt with local sendmail, where the local sendmail is
configured to forward all mail to a central hub?

If so could I have a look at your sendmail.cf or relevant m4 file?

Thanks,
-- 
Nigel Tamplin.
email:   [EMAIL PROTECTED]