Skip site navigation (1)Skip section navigation (2)
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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig23D7E5EE93A6B12003ED489C
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable

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=20
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=20
sendmail.  In general, whenever you do anything to sendmail related confi=
g=20
files including stuff like aliases and access and virtusertable, run
just run make to publish it to the running sendmail process -- you only n=
eed
'make install restart' when you modify one of the .cf files.

	Cheers

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enig23D7E5EE93A6B12003ED489C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAki2OZMACgkQ8Mjk52CukIzEPQCgiOdZJDP6HCJEo4rgl7BAnO7Q
qjsAoIr9tTpnEqty7daFzuatkhy0dWUV
=W60S
-----END PGP SIGNATURE-----

--------------enig23D7E5EE93A6B12003ED489C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B6398B.8030007>