On Tue, April 7, 2009 17:37, Noel Jones wrote: > Matteo D'Alfonso wrote: >> Hi to all, >> >> My objective is to receive local mail, and act as relay only for a >> limited >> poll of email address, and from a limited poll of IP. >> >> LAN1,LAN2,LAN3-->server_that_i_can_configure(LAN1)-->company_relay-->I_dont_care >> >> I understand that relay_recipient_maps are not checked if the email is >> generated locally trough sendmail[1]. There is a possibility to force >> the >> check? > > Yes, submit the mail via SMTP rather than sendmail(1). > > You may be able to use the third-party program mini_sendmail > as a drop-in replacement for sendmail, but note most programs > intended to use sendmail(1) will not respond well to a reject. > Also note that any SMTP submission, unlike sendmail(1), will > fail if postfix is not running. > > Find mini_sendmail here: > http://www.acme.com/software/mini_sendmail/ > or quite likely there's a package for your system. > > -- Noel Jones
Thanks! Ciao, Matteo.