Date: Fri, 24 May 2013 10:59:54 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: freebsd-hackers@freebsd.org Subject: Re: stupid question about sendmail Message-ID: <alpine.BSF.2.00.1305241054530.72982@mail.fig.ol.no> In-Reply-To: <alpine.BSF.2.00.1305241014090.72982@mail.fig.ol.no> References: <alpine.BSF.2.00.1305240931470.14121@wojtek.tensor.gdynia.pl> <alpine.BSF.2.00.1305240936340.72982@mail.fig.ol.no> <alpine.BSF.2.00.1305240954290.14216@wojtek.tensor.gdynia.pl> <alpine.BSF.2.00.1305241014090.72982@mail.fig.ol.no>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-1415850095-1369383574=:72982 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: <alpine.BSF.2.00.1305241054532.72982@mail.fig.ol.no> On Fri, 24 May 2013 10:19+0200, Trond Endrestøl wrote: > My bad, take a look at the /etc/mail/genericstable file: > > http://www.sendmail.com/sm/open_source/docs/m4/features.html > > Maybe a line like this one will help you achieve your goal: > > jax@bar.com error:5.7.0:550 Address invalid I was wrong again, sorry, but I believe I got it right this time: 1. Edit the /etc/mail/access file. 2. Insert a line like this one: To:mailbox@some.domain.tld REJECT 3. Save the /etc/mail/access file. 4. Change to the /etc/mail directory if not already there. 5. Run the make command to update the /etc/mail/access.db. 6. Try to send email to the blacklisted recipient. 7. If successful, the sender should recieve: reason: 550 5.2.1 <mailbox@some.domain.tld>... Mailbox disabled for this recipient -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-1415850095-1369383574=:72982--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1305241054530.72982>