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

Re: exim and virtual domains



Tim Sailer wrote:
> I know there are a few of you Debian users running exim for a MTA.
> I need some help in getting virtual domains running the way I want.
> What do I need to do to make the following alias file work?
> 
> info:           user@realhost.com
> 
> I set up the virtual stuff right out of the manual, but the mail
> dies with 'too many hops'..

Since the way in the manual didn't seem to address the particular
needs of our site, I made up my own setup.

Amongst other things it has an alias file per virtual domain and
easily supports multidrop mailboxes which is what we needed.

You are welcome to this setup if you wish.  It currently uses
procmail to deliver mail, but it can be easily changed to not
use procmail if you wish.  I also run exim as a daemon instead
of out of inetd.conf.  (Just edit /etc/init.d/exim to change this)

In the following files, just change "YOUR.DOMAIN" in /etc/exim.conf
to the real domain of your computer (what domain you want outgoing
mail to come from) and then just edit /etc/mail/domains.  For every
domain you add to this file, make sure there is an alias file in
/etc/mail/aliases of the same name as the domain.  Make sure the
alias file is readable by the userid under which exim runs.

I hope this helps!

Behan

-- 
Behan Webster     mailto:behanw@verisim.com
+1-613-224-7547   http://www.verisim.com/


begin 640 exim-conf.tgz
M'XL(``=2CS,``^U:>V_B2!+/O_A3E`+2)B,&,`%R2R;1Y";,*-)-LB*,5JN;
M7;;!#;36=OO:)@E"?/>K:MM@$\CDY@C:U?9/1.#N>G37HQ_E\&A8/7AE0*-V
MVJS!@6TW6K53.```N]'4WPEJ`*V3QDFK63NMGV"O7:N='D#SM0=&F(814P`'
M`SYA_L-VNGNN1"B\?0QIG^#H?_XHO,I0^J-7TH'>;#5JB;_7O\&NM9JGZ_YO
M-EL'4'NE\>20^E])&3U']ZW^ORB*5A%Z$Q$"?J()!X\)'R@@@`)"C*>*14+Z
M,!(NKR#M=00/+`2IQ%CXS'5G,.8^1R+NP&`&OQ-KS/E#&0*F(I`C+5C+#-CP
M#S;F*,<18:3$8$I\#R*:P!4?".:CBG1`I'&KGI4:8!'\C(T?^0#J+;!/VOAI
MV-"YZX']XX^G6N!GZ8B1B%G_28F.+(,PX@K>Q7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