Re: [exim] only sending address, not receiving

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Odhiambo Washington
Dátum:  
Címzett: grendelkeeper
CC: exim-users
Tárgy: Re: [exim] only sending address, not receiving
On Mon, Dec 15, 2008 at 6:03 PM, grendelkeeper <grendelkeep2004@???>wrote:

> Hi all,
>
> I configured virtual domains in my exim.conf.
> how can I configure an account only for sending mails, not receiving?
> is this possible?



The simplest way is to enable the useforward router and put a .forward in
the user's homedir, and that file should contain one line:
/dev/null

so that any mail to that address is thrown into the bottomless pit.


>
> second case, is it possible sending autoresponder for a deleted/inactive(?)
> account?



Exim will, by default, reject mail to non-existent users.

However, for "inactive" account, you have to define how you make an account
inactive.
I used to do this sort of thing (inactivating an account) by adding an
asterisk in the passwd field in the master password file, and adding a .plan
in the home dir which contained a word - suspended - and I would let exim
check for this and reject the mail with a short message.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"Okay guys. This is Kenya. You pay taxes because you feel philanthropic,
unlike our MPs!"
                    -- Kenneth Marende, Speaker, 10th Parilament.