The way I usually handle pseudo users via sendmail is to route
    them via a dummy subdomain.

    So, for example, my main server is 'apollo.backplane.com'.  I route
    mail destined for 'pop.apollo.backplane.com' to my special pop mail
    backend.

    My /etc/aliases and other forwarding tables then simply map the 
    usernames that I want to route to the dummy domain.  For example,
    the pop user 'fubar' would be mapped to '[EMAIL PROTECTED]',
    where 'fubar' does not exist in the password file or anything like that.

    In sendmail, it is a simple addition to ruleset 98:

R$+ + $* < @ pplus . $=w > $*           $#popplus $: $1 < @ pplus . $3 > $4
R$+ + $* < @ pplus . $=w . > $*         $#popplus $: $1 < @ pplus . $3 > $4

R$* < @ pplus . $=w > $*                $#popplus $: $1 < @ pplus . $2 > $3
R$* < @ pplus . $=w . > $*              $#popplus $: $1 < @ pplus . $2 > $3


    And then add the new mailer:

Mpopplus,       P=/usr/local/bin/dpopmail, F=SDEFhlMsu, S=10/30, R=20/40,  
                U=dpop, A=dpopmail $u   

                                        -Matt
                                        Matthew Dillon 
                                        <[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to