On Wed, 14 Jun 2000, Jerry Allen wrote:
> You are completely correct and your suggestions are doing exactly as
> I needed, however it wonks my pager gateway, not bad but changes it
> so that all local users appear to have pager accounts but are delivered
> to their local email account@??? in domain daphnis.com...
> if the user name is in both the page domain and local domain,
> and mail is sent to the page address the pager gets it so...
> it is ok for now.
Hrm.. Is your pager director re-writing the address? You may want to
investigate the exact order of the directors..
Also exim -d 9 -v -bt some@???, will give you detailed output
as to how and why exim is processing an address.
You can use exim -d 9 -b -bt some@??? 2>&1 | tee some.file
to save all that output to post to the list - it may seem like
gibberish to you (or maybe not), but advanced exim users will be able
to pick through it and see exactly what it is (or isn't doing) if you
have a question about how its handling certain address(es)
>
> I have read the spec(s) & FAQ (how I got this far...)
> yet am still uncertain as to the flow
> of the exim config... I learn, I learn!
Having some of the details, you may want to go back and read some of
the beginning parts of the spec again..
>
> Thanks for your assistance Dave!
>
>
> "Dave C." <djc@???> said:
>
> >
> >
> > If you are new to exim, the first thing I would suggest is that you
> > print out a copy of the 'spec' (spec.txt, spec.ps, etc - pick whichever
> > format works best for you), take it home, and sit down and read it end
> > to end. Dont go for memorization, just get a general feel for the whole
> > thing, so that when you want to do something, you have an idea wether
> > it might be in there or not.
> >
> > Another good thing to look over is the Exim FAQ and Cookbook..
> >
> > Both of these are available from the website at www.exim.org if you
> > dont have them in your distribution of exim..
> >
> >
> > If I am correct, you are trying to get it so that if a valid local
> > account exists, mail is delivered to it, if not, then if a specific
> > alias exists, mail is delivered to it, otherwise, if a * entry is
> > found, deliver there..
> >
> > directors are order-sensitive.. The problem with your * for local
> > aliases, is that your system_aliases director is BEFORE your
> > localuser director - if there isnt a specific alias, then the * entry
> > catches everything else, and it never gets to the director that looks
> > in /etc/passwd (localuser)
> >
> > Try putting the system_aliases directory _AFTER_ the localuser
> > director.. I would also turn receiver_verify back on - entries which
> > match the "*" entry will pass verification.
> >
> >
> > As far as what directors/routers/etc are, look for the following
> > commented sections in your config file.
> >
> > Within each section, each item that begins with an indentifier
> > following by a colon, and terminated by a blank line, is a transport,
> > director, or router (depending on which section it is in)
> >
> > Each section is terminated by the keyword 'end'.. Which section is
> > which is determined by the order they are placed in the file..
> >
> > ######################################################################
> > # TRANSPORTS CONFIGURATION #
> > ######################################################################
> > # ORDER DOES NOT MATTER #
> > # Only one appropriate transport is called for each delivery. #
> > ######################################################################
> >
> > .
> > .
> >
> > ######################################################################
> > # DIRECTORS CONFIGURATION #
> > # Specifies how local addresses are handled #
> > ######################################################################
> > # ORDER DOES MATTER #
> > # A local address is passed to each in turn until it is accepted. #
> > ######################################################################
> >
> > .
> > .
> >
> > ######################################################################
> > # ROUTERS CONFIGURATION #
> > # Specifies how remote addresses are handled #
> > ######################################################################
> > # ORDER DOES MATTER #
> > # A remote address is passed to each in turn until it is accepted. #
> > ######################################################################
> >
> >
> > On Tue, 13 Jun 2000, Jerry Allen wrote:
> >
> > >
> > > Hi Dave,
> > >
> > > Sorry... I am very new to exim and don't really understand
> > > what you are asking for...
> > >
> > > Here is a link to my entire exim.conf.
> > > http://www.daphnis.com/exim.conf.txt
> > > virtual domains work
> > > local domain works
> > > pagers work
> > > rbl tagging and reject works
> > >
> > > I am trying to understand aliases...
> > > specific to wildcards:
> > > *: user
> > > *: :defer:
> > > *: :freeze:
> > > and still maintain mail delivery to
> > > valid local and valid virtual users without
> > > aliasing the user to the user......
> > >
> > > Currently aliases must be:
> > > user: user #valid user in /etc/virtual/passwd
> > > *: user@otherdomain #match everything else
> > > or the *: entry gets all the mail.
> > >
> > > I believe that it is an order of use issue?
> > > exim looks 1st in aliases then /etc/passwd or /etc/virtual/passwd?
> > >
> > >
> > >
> > >
> > > On Tue, 13 Jun 2000, Dave C. wrote:
> > >
> > > >
> > > > It would help if you pasted the appropriate directors in for is to look
> > > > at..
> > > >
> > > > On Tue, 13 Jun 2000, Jerry Allen wrote:
> > > >
> > > > >
> > > > > Now the *: catchall entry works but _all_ email goes there,
> > > > > and it is not delivered to existing users...
> > > > >
> > > > > On Tue, 13 Jun 2000, Jerry Allen wrote:
> > > > >
> > > > > >
> > > > > > Greetings,
> > > > > >
> > > > > > Can exim do the following in aliases using lsearch or dbm?
> > > > > >
> > > > > > user: user1 # local delivery
> > > > > > user2: user3 # local delivery
> > > > > > *: catchall # local delivery
> > > > > >
> > > > > > This setup seems to work for virtual domains, but in my
> > > > > > system aliases it does not work correctly, it returns the mail
> > > > > > with an unknown local part, if I send to an unknown local domain
> > > > > > user. I have verified that receiver_verify is not set, the mail
> > > > > > is accepted, but the *: entry is not honored. I need the catchall
> > > > > > for a large switchover we are doing.
> > > > > >
> > > > > > TIA
> > > > > >
> > > > > > -- Jerry
> > > > > >
> > > > > >
> > > > > > --
> > > > > > ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##
> > > > >
> > > >
> > > > --
> > > >
> > > >
> > > >
> > > > --
> > > > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
> > > >
> > >
> > >
> >
> > --
> >
> >
> >
>
>
>
>
--