Date: Thu, 28 Aug 2008 06:37:15 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Peter Ulrich Kruppa <ulrich@pukruppa.net> Cc: FreeBSD-Questions <freebsd-questions@freebsd.org> Subject: Re: Spam sent to me from my own mail server ? Message-ID: <48B6398B.8030007@infracaninophile.co.uk> In-Reply-To: <48B62A5E.9050007@pukruppa.net> References: <48B62A5E.9050007@pukruppa.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Peter Ulrich Kruppa wrote:
> Matthew Seaman schrieb:
> > If you're using sendmail as your MTA, then look at
> > implementing the following features in your $(hostname).mc:
> Would that mean a file called
> /etc/mail/pukruppa.net.mc
> in my case? Since I get
> # hostname
> pukruppa.net
> or do I leave away the .net ?
It's shorthand for 'whatever you call the .mc file you generate your
sendmail.cf from.' By default on FreeBSD it's named according to
what the hostname(1) command outputs, which should be the fully qualified domain name of your machine (ie. pukruppa.net). You can create the
initial copies of the files by:
# cd /etc/mail
# make
which will create files pukruppa.net.mc and pukruppa.net.subit.mc
and then process those respectively into pukruppa.net.cf and
pukruppa.net.submit.cf
Edit pukruppa.net.mc to make any changes you want, then type 'make'
to rebuild pukkruppa.net.cf and then 'make install restart' to
copy pukruppa.net.cf to sendmail.cf (amongst other actiosn) and restart
sendmail. In general, whenever you do anything to sendmail related config
files including stuff like aliases and access and virtusertable, run
just run make to publish it to the running sendmail process -- you only need
'make install restart' when you modify one of the .cf files.
Cheers
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAki2OZMACgkQ8Mjk52CukIzEPQCgiOdZJDP6HCJEo4rgl7BAnO7Q
qjsAoIr9tTpnEqty7daFzuatkhy0dWUV
=W60S
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B6398B.8030007>
