Re: Cannot get exim4 listenning on port 587



<snicker> The silly troll OP doesn't think that I know
that this "Marshall Lake" is one of his sockpuppets.

Sid

Sidney Lambe <nospam@xxxxxxxxxxxxxx> wrote:
Marshall Lake <fa-q@xxxxxx> wrote:
All you need is an SMTP tool to get your mail to your ISP's (or
other mail provider's) MTA.

(This is a job that can be done with a simple bash script!)

I use msmtp. There are others. Fetchmail to retrieve mail from
a POP/IMAP server.

This is easy as pie and bulletproof. If you are interested then
I'll post example configuration files.

I, for one, would be interested in seeing example configuration files.


Okay. These are for accessing gmail's pop servers. First you
sign up for an account using the web, of course.

~/.msmtprc

account default
host smtp.gmail.com
port 587
protocol smtp
logfile ~/.msmtp-log
auth on
from foo@xxxxxxxxx # gmail address
user foo@xxxxxxxxx
password xxxxxxxxx
tls on
tls_starttls on

~/.fetchmailrc


poll pop.gmail.com
proto pop3
port 995
user "foo@xxxxxxxxx"
pass "xxxxxxxxx"
is foo here # user name
and wants mda "/usr/bin/formail -s /usr/bin/procmail"
fetchall
flush
ssl


~/.procmailrc


SHELL=/bin/sh
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin
MAILDIR=/home/foo/Mail #you'd better make sure it exists
DEFAULT=$MAILDIR/inbox
LOGFILE=/home/foo/.proclog #recommended
COMSAT=no
VERBOSE=no
SENDMAIL=/usr/local/bin/msmtp

:0
${DEFAULT}

Fetchmail needs to hand off to an MTA or MDA. Procmail is the
easiest way to do this and a very useful tool. That simple rc
will deliver all mail to your ~/Mail/inbox. See man procmailrc
and procmailex for more details.

Formail comes with the procmail package.


Sid


.



Relevant Pages

  • Re: Cannot get exim4 listenning on port 587
    ... port 587 ... Fetchmail needs to hand off to an MTA or MDA. ... Formail comes with the procmail package. ...
    (comp.os.linux.misc)
  • FreeBSD Security Advisory FreeBSD-SA-01:60.procmail
    ... procmail is an incoming mail processor, ... mail filters as well as sorting incoming mail into folders. ... FreeBSD" as such: it is part of the FreeBSD ports collection, ... The port procmail-3.20 and later versions include fixes for these ...
    (FreeBSD-Security)
  • Re: Help with email setup for small network (imap)
    ... to your ISP's MTA: Msmtp is pretty nice, ... The OP will probably want to use procmail to deliver the incoming ... Using fetchmail without an MTA requires a special line ...
    (alt.os.linux)
  • Re: Looking for linux-based web hosting
    ... You can have a shell user account, and you can ssh ... Joe, the Network/System Admin there is A Real Good Guy. ... Your shell account has spamassassin and procmail available. ...
    (comp.os.linux.misc)
  • Re: mutt and pine
    ... between machines. ... Procmail is a mail processing utility which filters ... first :-) When I started I obtained a free POP3 account and initially ...
    (Fedora)