sendmail - local mail delivery to pop3 or imap server

sendmail - local mail delivery to pop3 or imap server

Post by Richard Conwa » Wed, 27 Sep 2000 04:00:00



My current sendmail configuration delivers local mail to /var/spool/mail.
Since I would like to use Netscape's mail reader this is no good to me since
it (appears to) only support collection from a POP3 or IMAP server.
How can I reconfigure sendmail to deliver local mail to a local POP3 (or
IMAP) server? I'm imagining that I modify the MAILER(procmail) entry in the
config file to something like MAILER(pop3) having setup a local pop3 server.

Any help much appreciated.

Richard Conway.

---

Web: http://www.rconway.co.uk

 
 
 

sendmail - local mail delivery to pop3 or imap server

Post by David K. Mean » Wed, 27 Sep 2000 04:00:00


  Actually, you just need to enable the pop3 and/or imap daemons to get this
to work.  Then sendmail will deliver mail just as you describe, and the pop3
or imail
daemon will fetch it from there and give it to netscape on request.
  To do this, edit /etc/inetd.conf, and remove the comment marks from the
lines
      pop-3  stream   tcp   nowait  root    /usr/sbin/tcpd   ipop3d
      imap    stream   tcp   nowait   root   /usr/sbin/tcpd   imapd
  Then fix up /etc/hosts.allow and /etc/hosts.deny to permit only local
access to these services:
  In /etc/hosts.allow, you will need a line like this:
        ipop3d  imapd: 127.0.0.  192.168.1.
and in /etc/hosts.deny, a line like this:
        ALL: ALL


> My current sendmail configuration delivers local mail to /var/spool/mail.
> Since I would like to use Netscape's mail reader this is no good to me
since
> it (appears to) only support collection from a POP3 or IMAP server.
> How can I reconfigure sendmail to deliver local mail to a local POP3 (or
> IMAP) server? I'm imagining that I modify the MAILER(procmail) entry in
the
> config file to something like MAILER(pop3) having setup a local pop3
server.

> Any help much appreciated.

> Richard Conway.

> ---

> Web: http://www.rconway.co.uk



 
 
 

sendmail - local mail delivery to pop3 or imap server

Post by Richard Conwa » Thu, 28 Sep 2000 04:00:00


Thanks for the advice - I'll give this a try.
I did look at the man pages for ipopd and imapd but they were VERY short and
provided no useful information.
What configuration is available for these daemons - e.g. is /var/spool/mail
hardcoded, surely not.

Cheers,
Richard.



>   Actually, you just need to enable the pop3 and/or imap daemons to get
this
> to work.  Then sendmail will deliver mail just as you describe, and the
pop3
> or imail
> daemon will fetch it from there and give it to netscape on request.
>   To do this, edit /etc/inetd.conf, and remove the comment marks from the
> lines
>       pop-3  stream   tcp   nowait  root    /usr/sbin/tcpd   ipop3d
>       imap    stream   tcp   nowait   root   /usr/sbin/tcpd   imapd
>   Then fix up /etc/hosts.allow and /etc/hosts.deny to permit only local
> access to these services:
>   In /etc/hosts.allow, you will need a line like this:
>         ipop3d  imapd: 127.0.0.  192.168.1.
> and in /etc/hosts.deny, a line like this:
>         ALL: ALL



> > My current sendmail configuration delivers local mail to
/var/spool/mail.
> > Since I would like to use Netscape's mail reader this is no good to me
> since
> > it (appears to) only support collection from a POP3 or IMAP server.
> > How can I reconfigure sendmail to deliver local mail to a local POP3 (or
> > IMAP) server? I'm imagining that I modify the MAILER(procmail) entry in
> the
> > config file to something like MAILER(pop3) having setup a local pop3
> server.

> > Any help much appreciated.

> > Richard Conway.

> > ---

> > Web: http://www.rconway.co.uk


 
 
 

sendmail - local mail delivery to pop3 or imap server

Post by David K. Mean » Thu, 28 Sep 2000 04:00:00



Quote:> Thanks for the advice - I'll give this a try.
> I did look at the man pages for ipopd and imapd but they were VERY short
and
> provided no useful information.
> What configuration is available for these daemons - e.g. is
/var/spool/mail
> hardcoded, surely not.

  I've never found any configuration stuff for these daemons.  I guess that
they
*do* expect that system mailboxes are in /var/spool/mail.
 
 
 

sendmail - local mail delivery to pop3 or imap server

Post by Richard Conwa » Fri, 29 Sep 2000 04:00:00


OK. I've configured inetd for POP and it worked.
I can use Netscape mail to retrieve my mail from the local POP server.
However, I find that I cannot authenticate to the POP server as root.
I presume this is done by design for security reasons.

Can anyone confirm or deny this.

Richard.





> > Thanks for the advice - I'll give this a try.
> > I did look at the man pages for ipopd and imapd but they were VERY short
> and
> > provided no useful information.
> > What configuration is available for these daemons - e.g. is
> /var/spool/mail
> > hardcoded, surely not.

>   I've never found any configuration stuff for these daemons.  I guess
that
> they
> *do* expect that system mailboxes are in /var/spool/mail.

 
 
 

sendmail - local mail delivery to pop3 or imap server

Post by Villy Kru » Sat, 30 Sep 2000 04:00:00


On Thu, 28 Sep 2000 13:15:35 +0100,

Quote:>OK. I've configured inetd for POP and it worked.
>I can use Netscape mail to retrieve my mail from the local POP server.
>However, I find that I cannot authenticate to the POP server as root.
>I presume this is done by design for security reasons.

>Can anyone confirm or deny this.

UW imapd and UW ipop3d explicit doesn't allow root login.  The reason,
I assume, is that when root is logged in on an imap server, that server
runs as root and this is not considered a good idea.  It is considered
a good idea, though, to reroute root mail to a real user in the aliases
file so root wouldn't receive any mail anyway.

Villy

 
 
 

sendmail - local mail delivery to pop3 or imap server

Post by Marcelo A Yezz » Tue, 19 Dec 2000 12:05:23


If you install any version of imap (such as imap-4.7...) you'll be able
to connect to your box using a pop3 client (e.g: using localhost). This
pop daemon (which comes in the imap distribution) will retrieve your
messages from /var/spool/mail.

> My current sendmail configuration delivers local mail to /var/spool/mail.
> Since I would like to use Netscape's mail reader this is no good to me since
> it (appears to) only support collection from a POP3 or IMAP server.
> How can I reconfigure sendmail to deliver local mail to a local POP3 (or
> IMAP) server? I'm imagining that I modify the MAILER(procmail) entry in the
> config file to something like MAILER(pop3) having setup a local pop3 server.

> Any help much appreciated.

> Richard Conway.

> ---

> Web: http://www.rconway.co.uk


 
 
 

1. Receiving mail to local IMAP server from POP3 accounts

I use several different operating systems and mail clients, so I'm
looking to setup an IMAP server on my Red Hat 9 box and receive all my
POP3 mail to it. Problem is I have no idea where to begin.  Is this
possible?  Can I somehow have an IMAP server that retrieves email from
other POP3 servers and have me read all the received mail via any IMAP
client?

Any links or suggestions would be appriciative.  Thanks,

Keeg.

2. MT Stream programming - PERIMETERS

3. Sendmail/Imap no local delivery

4. smail in linux & linux/xxxx.h files

5. HELP - local mail delivery dead (sendmail, ?MX / DNS?, permissions?)

6. Looking for JEAN FRANCOIS GAGNON

7. sendmail daemon stopped, but local mail still can delivery

8. video display not very good

9. email: POP3 --> local IMAP server?

10. Downloading POP3 mail from ISP to IMAP server on a Linux box

11. pop3 login fails on virtual host imap mail server

12. cyrus mail server IMAP & local