configuring dns/sendmail for two different servers

Aryeh M. Friedman aryeh.friedman at gmail.com
Wed Apr 1 18:21:24 PDT 2009


Gregory Shapiro wrote:
>> I was aware of that but wanted a "default" alias for any addr/alias that  
>> does not exist to send to gmail and alias(5) does not allow for wild  
>> cards and/or defaults it seems
>>     
>
> You can add this to your .mc file:
>
> define(`LUSER_RELAY', `local:unknownuser')
>
> and then alias 'unknownuser' to the address you wish.
>
> Alternatively, you can use FEATURE(`virtusertable') for your domain.
>
>
>   
Maybe I misread but both of those features (I have used the second but 
not the first) seem to be all or nothing forwarders (i.e. xxx at domain is 
forwarded for all xxx not just some xxx)


More information about the freebsd-hackers mailing list