From owner-freebsd-questions Mon Dec 7 03:03:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA14833 for freebsd-questions-outgoing; Mon, 7 Dec 1998 03:03:27 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.profero.com (bill.profero.com [212.36.157.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA14828 for ; Mon, 7 Dec 1998 03:03:25 -0800 (PST) (envelope-from alex@targeting.co.uk) Received: by bill.profero.com with Internet Mail Service (5.0.1459.74) id ; Mon, 7 Dec 1998 10:57:27 -0000 Message-ID: <615CAC0140CED111AF1500805FEDDB8A0D3B30@bill.profero.com> From: Alex Knowles To: "Questions (E-mail)" Subject: re: Anti-spamming sendmail Date: Mon, 7 Dec 1998 10:57:26 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1459.74) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As i understand it, there is a file called /etc/mail/relay.domains if you enter there the name of your domain, and anywhere that you accept mail to be relayed from (for instance our isp relays mail to us, and so there is an entry with the ip number of their relay machine as well as our domain names). Then in /etc/sendmail.cw the name of your domain also needs to be entered which tells sendmail to listen for that. If you want to set up mail relaying your self then /etc/mailertables can be filled in with entries: domain name smtp:new address. I've told you everything just incase you feel you might need it, hope this helps alex -----Original Message----- From: Brendan Kosowski [mailto:brendan@bmk.com.au] Sent: Monday, December 07, 1998 10:45 AM To: FreeBSD Questions Subject: Anti-spamming sendmail I would like to configure sendmail so that it only accepts or relays E-Mails that meet the following conditions : 1. The E-Mail contains a "To:" address containing my domain OR 2. The E-Mail contains a "From:" address containing my domain Can anyone help ??? Thanks and Regards, Brendan... ------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message