stupid question about sendmail

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Fri May 24 08:19:40 UTC 2013


On Fri, 24 May 2013 09:55+0200, Wojciech Puchar wrote:

> > > 
> > > To:x at y.pl REJECT
> > > 
> > > doesn't work
> > > 
> > > any idea. thank you
> > 
> > Don't use /etc/mail/access, use /etc/mail/aliases.
> > 
> > E.g.:
> > 
> > x:	/dev/null
> 
> x is NOT on my server. it will not work.
> 
> all i want is when someone send a mail from my server to x at y.pl (which is
> someone else domain) it will not get there and be blocked or redirected

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 at bar.com	error:5.7.0:550 Address invalid

-- 
+-------------------------------+------------------------------------+
| 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.      |
+-------------------------------+------------------------------------+


More information about the freebsd-hackers mailing list