🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.mail.sendmail
5 messages
5 total messages Started by Geoff Cox Thu, 17 Aug 2000 00:00
How does sendmail/majordomo work??
#3647
Author: Geoff Cox
Date: Thu, 17 Aug 2000 00:00
14 lines
1118 bytes
hello,

I am trying and so far failing to get majordomo/sendmail/fetchmail to
work on a dialup Internet connection.......!

Sendmail works OK on its own, fetchmail gets the email form a pop3
server......but I do not as yet understand how the three work
together...

Can anyone help!?

Cheers

Geoff
Re: How does sendmail/majordomo work??
#3648
Author: Mike Brodbelt
Date: Mon, 21 Aug 2000 00:00
36 lines
2318 bytes
Geoff Cox wrote:
> 
> hello,
> 
> I am trying and so far failing to get majordomo/sendmail/fetchmail to
> work on a dialup Internet connection.......!
> 
> Sendmail works OK on its own, fetchmail gets the email form a pop3
> server......but I do not as yet understand how the three work
> together...

Sendmail is an MTA - it usually runs as a daemon, where it listens on
port 25, for incoming SMTP connections. All the mail on the internet
(well, pretty much all) is sent with SMTP. When sendmail receives a
message, it looks at it to decide whether it's to be delivered to a
local user, or forwarded to another SMTP daemon elsewhere on the net.

Most ISP's do not provide SMTP mail delivery to their dial up
subscribers (with the notable exception of Demon) - SMTP is really
intended for always connected hosts, so ISP's expect people to fetch
their mail with POP3. POP3 is purely a mail retrieval protocol, and many
mailers use it.

Fetchmail is a daemon that is capable of retreiving mail via POP3 (or
several other protocols), and resending the same mail with SMTP. As
such, it's often used by dial up users running sendmail - they send mail
via sendmail, and mail is retrieved by fetchmail, which then passes it
to sendmail, as though it had been sent directly.

Majordomo is not a mail daemon of any kind - it's a list server.
Majordomo is a series of perl programs that can manage a mailing list on
any host running sendmail or a similar MTA.

HTH

Mike.
Re: How does sendmail/majordomo work??
#3649
Author: Geoff Cox
Date: Fri, 25 Aug 2000 00:00
63 lines
2847 bytes
Thanks for the info - finally got majordomo working !!

Cheers

Geoff

PS I am trying to write a script to automate this (via crontab) but do
not know how to su root and pass the password in the script ?

/usr/sbin/pppd
su fred
/usr/bin/fetchmail
su root
/etc/ppp/stop

Any ideas?

Cheers

Geoff




On Mon, 21 Aug 2000 20:30:44 +0000, Mike Brodbelt
<mike@coruscant.demon.co.uk> wrote:

>Geoff Cox wrote:
>> 
>> hello,
>> 
>> I am trying and so far failing to get majordomo/sendmail/fetchmail to
>> work on a dialup Internet connection.......!
>> 
>> Sendmail works OK on its own, fetchmail gets the email form a pop3
>> server......but I do not as yet understand how the three work
>> together...
>
>Sendmail is an MTA - it usually runs as a daemon, where it listens on
>port 25, for incoming SMTP connections. All the mail on the internet
>(well, pretty much all) is sent with SMTP. When sendmail receives a
>message, it looks at it to decide whether it's to be delivered to a
>local user, or forwarded to another SMTP daemon elsewhere on the net.
>
>Most ISP's do not provide SMTP mail delivery to their dial up
>subscribers (with the notable exception of Demon) - SMTP is really
>intended for always connected hosts, so ISP's expect people to fetch
>their mail with POP3. POP3 is purely a mail retrieval protocol, and many
>mailers use it.
>
>Fetchmail is a daemon that is capable of retreiving mail via POP3 (or
>several other protocols), and resending the same mail with SMTP. As
>such, it's often used by dial up users running sendmail - they send mail
>via sendmail, and mail is retrieved by fetchmail, which then passes it
>to sendmail, as though it had been sent directly.
>
>Majordomo is not a mail daemon of any kind - it's a list server.
>Majordomo is a series of perl programs that can manage a mailing list on
>any host running sendmail or a similar MTA.
>
>HTH
>
>Mike.
Re: How does sendmail/majordomo work??
#3650
Author: Dave Addison
Date: Fri, 25 Aug 2000 00:00
46 lines
1639 bytes
You could try

/usr/sbin/pppd
su - fred -c /usr/bin/fetchmail
/etc/ppp/stop

as the su man page says that "-c /usr/bin/fetchmail" should be passed as
parameters to the shell started as user fred

or

 /usr/sbin/pppd
 su fred
 /usr/bin/fetchmail
 exit
 /etc/ppp/stop

as the exit command should return control to the root shell that ran su

I haven't been able to try either of these as I'm at work and haven't got
root access

Dave

Geoff Cox <geoff.cox@cableinet.co.uk> wrote in message
news:88hcqs4d9f19k1qph2vf32nfhvcnnlk2dm@4ax.com...
> Thanks for the info - finally got majordomo working !!
>
> Cheers
>
> Geoff
>
> PS I am trying to write a script to automate this (via crontab) but do
> not know how to su root and pass the password in the script ?
>
> /usr/sbin/pppd
> su fred
> /usr/bin/fetchmail
> su root
> /etc/ppp/stop
>
> Any ideas?
>
> Cheers
>
> Geoff
Re: How does sendmail/majordomo work??
#3651
Author: Geoff Cox
Date: Fri, 25 Aug 2000 00:00
58 lines
2095 bytes
Dave,

thanks for that....giving it a try

Geoff

On Fri, 25 Aug 2000 11:37:44 +0100, "Dave Addison"
<dave@phaedra1.demon.co.uk> wrote:

>You could try
>
>/usr/sbin/pppd
>su - fred -c /usr/bin/fetchmail
>/etc/ppp/stop
>
>as the su man page says that "-c /usr/bin/fetchmail" should be passed as
>parameters to the shell started as user fred
>
>or
>
> /usr/sbin/pppd
> su fred
> /usr/bin/fetchmail
> exit
> /etc/ppp/stop
>
>as the exit command should return control to the root shell that ran su
>
>I haven't been able to try either of these as I'm at work and haven't got
>root access
>
>Dave
>
>Geoff Cox <geoff.cox@cableinet.co.uk> wrote in message
>news:88hcqs4d9f19k1qph2vf32nfhvcnnlk2dm@4ax.com...
>> Thanks for the info - finally got majordomo working !!
>>
>> Cheers
>>
>> Geoff
>>
>> PS I am trying to write a script to automate this (via crontab) but do
>> not know how to su root and pass the password in the script ?
>>
>> /usr/sbin/pppd
>> su fred
>> /usr/bin/fetchmail
>> su root
>> /etc/ppp/stop
>>
>> Any ideas?
>>
>> Cheers
>>
>> Geoff
>
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads