(!) [Neil] It's certainly possible. The Exim FAQ at
[72]http://exim.org/exim-html-4.30/doc/html/FAQ_3.html has an example of
setting up routers to send local mail to hosts on the local network and
everything else to a smarthost. this should be easy to adapt to do what
you want.
If all else fails read the documentation. The Exim documentation, though
large, is very informative. You just need to read it selectively and pick
the relevant chapters.
(?) My second question is how to set up postmaster at my local host. My
current exim config accepts mail sent to postmaster@my.domain however it
does not accept mail to [73]postmaster@dhcp-xxx-xxx-xxx-xxx.columbus.rr.com
which is my hostname assigned by my isp. The xxx being the ip address which
can change. Is there a way to make exim accept mail sent to this email
address such that the ip address (i.e. in this case domain name) part is
updated automatically.
(!) [Neil] I don't know about getting it to update the address
automatically, but you can have it match a pattern like
[74]postmaster@dhcp-*.columbus.rr.com on the basis that it's unlikely
anyone else's postmaster mail will be directed to your IP. Frankly I
wonder who would send postmaster email to an address like that anyway.
In the default exim 4 config this is accepted by the rules:
domainlist local_domains =@
accept local_parts = postmaster
domains = +local_domains
According to the documentation '@' ... 'is a special form of entry which
means the name of the local host, so this should normally match, but I
guess your system is set up to use "my.domain" as the hostname, instead of
the RoadRunner host name.
As an alternative, it may be that adding
dhcp-$interface_address.columbus.rr.com or some variation thereon to
local-domains will achieve what you want. I have not tried this, so I
can't be sure it will work. If you try it, be sure to let us know whether
it worked.
____________________________________________________
(?) Re: Question re; Fvwm xintric
From Jay Hamilton
Answered By: Thomas Adam
The following was an e-mail sent to me, having read my article in the
linuxgazette from a few months ago. -- Thomas Adam
My new.xintric file says
xterm -geometry 80x24+2211+1792 -title FvwmConsole -name FvwmConsole -e
/usr/X11R6/lib/X11/fvwm2/FvwmConsoleC &
/usr/X11R6/bin/xconsole -notify -nostdin -verbose -exitOnFail -ic
-geometry 384x110+0-0 &
qinternet -geometry 0x0+532+781 &
fvwm
DeskTopSize 5x5
(!) [Thomas] I see you're using FvwmSaveDesk or FvwmDesk modules to save
the layout of your windows? No?
(?) That last bit I added hoping that it would make it a default however it
seems to have no effect at all.
(!) [Thomas] Not quite. What you're wanting to do is have all those
applications start, and then load fvwm. However, there are two things
which you must be aware of:
*) new.xinitrc is only specific if you have certain Fvwm modules loaded.
If you don't the file is not read [1]. *) The last two commands you have
there -- "fvwm" and "DesktopSize 5x5" are out of context here.
(?) So- I must misunderstand something. I believed that I could add
instructions to this file and they would become the default that didn't
happen so I got it wrong.
(!) [Thomas] What you want, then (and you were close) is to move all your
commands to ~/.xsession [2], so that it looks something like this:
See attached [75]sample-xinitrc.txt
Having saved that file as "~/.xsession", you should ensure that you run
the command "chmod 700 ~/.xsession". What this will do is when you login
(via startx, or some DM) this file is read and will execute all of the
above, including the launching of fvwm.
All that this leaves is the last command you had "DesktopSize 5x5". The
reason it was out of context both in your modification of 'new-xinitrc'
and indeed any ~/.x{session,init} file is because it is specific to Fvwm.
That is, only Fvwm itself will understand what you're meaning. It is not a
command. You should therefore add "DesktopSize 5x5" somewhere within your
~/.fvwm/fvwm2rc file.
(?) Also when in xconsole I type FvwmBacker Black [or black] the screen
background turns blue- yet I can get a black background via gnome settings.
=8= |