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

> how to redirect recipient address. i mean - if someone try to send to 
> x...@y.pl
> from serwer then it should be redirected to local account, while the rest of
> mails to domain @y.pl should get out normally.
> 
> alternatively outgoing mail to x...@y.pl should be rejected.
> 
> tried access.db -
> 
> To:x...@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

-- 
+-------------------------------+------------------------------------+
| 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.      |
+-------------------------------+------------------------------------+
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to