redirecting some addresses with sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 4/10/06, Alexander Dalloz <ad+lists@xxxxxxxxx> wrote:
>
> In sendmail.mc set:
>
> define(`_VIRTUSER_STOP_ONE_LEVEL_RECURSION_')dnl
> LOCAL_CONFIG
> C{VirtHost}bar.com
>
> In virtusertable set:
>
> usera@xxxxxxx      %0
> userb@xxxxxxx      %0
> dnl all others are delivered locally
> @bar.com                %1
>

That's really close thanks. However I only know the userlist for
foo.com, so I have to do the wildcarding backwards to how you showed:

in virtusertable, I'm trying:

dnl  redirect certain known users mail straight back in locally
first.last@xxxxxxx   i.last@xxxxxxx
first2.last2@xxxxxxx i.last2@xxxxxxx

dnl allow unknown users to flow offsite
@bar.com               %0

But of course the %0 is wrong. I need to persuade it to just deliver
as per dns mx records as normal - or even specify the mx if needed.
This part I'm still researching...

--
Cheers,

Tony

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux