RE: Setting up Sendmail - nano-howto
hi ya michael
i gave up on any/all pre-packaged sendmail-*.deb
if you download/install the latest from sendmail.org
or exim.org or postix.or getc..
you should be able to get sendmail working out of the
box
cd /usr/local/src
tar zxvfp sendmail-*.tgz
cd sendmail-*
sh Build
sh Build install
cd cd/cf
cp generic-linux.cf config.cf
sh Build config.cf
cp config.mc /etc/mail/sendmail.mc
cp config.cf /etc/mail/sendmail.cf
- stop and start sendmail
- edit /etc/mail/acess && make
- and you're sending and receiving emails
( add your domains to /etc/mail/local-host-names
sendmail and most mta will NOT work w/o a properly configigured
/etc/mail/access and a list of domains that mta is to receive
incoming emails for
pre-packaged sendmail-*.deb is a bad package w/ lot-o-holes
( not worth the effort -- but a fresh/clean copy of sendmail
is usable in 5 minutes
the sendmail.gwif.html page is a step-by-step instructions
on how to get sendmail working, apply some rbl rules
and apply some message/subject header checking to reject more spams
c ya
alvin
On Fri, 27 Sep 2002, Michael Olds wrote:
> Alvin,
>
> Thank you for this response.
> First problem is: I do not have an /etc/mail/sendmail.cw file (I do have a
> local-host-names file with no extension); and I do not have an
> /etc/mail/access file or an /etc/mail/sendmail.cw file
>
> For these I think the problem is as is stated in the mail just previous to
> this: sendmailconfig cannot find /usr/share/sendmail/cf/mailer/.m4 because
> it isn't there.
>
> I checked out the site you recommended this morning, and read a few things,
> but it seems more directed towards securing a running system than getting a
> system running to begin with...or did I miss a link?
>
...
> to receive email
> cd /etc/mail
> ln -s local-host-names sendmail.cw
> - be sure your domain is listed in the file
> make
> sendmail - stop/start
>
> for popping email stuff...
> - make sure you can "telnet localhost 110"
> - than you should use secure pop3 instead of port 110
> http://www.Linux-Sec.net/Mail/secure_pop3.txt
>
> sendmail howto
> http://www.Linux-Sec.net/Mail/sendmail.gwif.html
>
> c ya
> alvin
>
> /etc/mail/access
> #
> # list of domains/ip# this mschine will be relaying emails
> #
> foo.com
> #
> # tou local lan
> 192.168.0.0
> #
> #
>
> /etc/sendmail.cw and/or /etc/mail/sendmail.cw
> #
> # list of domains tyhis machine will be receiving emails
> #
> foo.com
> www.foo.com
> #
>
>
> On Fri, 27 Sep 2002, Michael Olds wrote:
>
> > Hello again,
> >
> > First, thanks to all who responded with suggestions. I'm still working on
> > Sendmail. I have it working half way following Oliver's suggestions ...I
> can
> > send, but I am not receiving anything, either locally or over the
> Internet.
> > I figure it can be the settings at my DNS server, the router's firewall
> > (don't think so), a sendmail configuration I'm missing...(?, I have SMTP
> and
> > local, so it must be one of the exotic ones set up by Debian), or I just
> > don't have my Kmail mail client set up right (ashamed to say it, I can
> > configure Windows Outlook accounts, but I have no idea what I should be
> > telling the Linux machine about loading mail to local/remote users).
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
Reply to: