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

Re: [cobalt-developers] Mail MX loop problems RAQ3 - Try this



Barry Titmarsh wrote:

> # accept-email-at-domain routes
> @titmarsh.org.uk        %1@xxxxxxxxxxxxxxxxxxx
> @sheringham.org.uk      %1@xxxxxxxxxxxxxxxxxxxxxxxx
> @caberfeidh.co.uk       %1@xxxxxxxxxxxxxxxxxxxx
> 
> the first two lines are the one's that work  the last line is the site that
> dont work.
> 
> what is the %1 doing ???  I have never used that redirect in any other
> working site.  Seems its only used by Cobalt on their configs ?
> 
> I  feel that is the problem.

That's not the problem; I've been using the %1 notation for years.  The
%1 means "the first field of the address", which is the left side of the
"@" sign.  So what these lines do is take user@xxxxxxxxxx and redirect
it to user@xxxxxxxxxxxxxxx  As I've explained (but perhaps not too well)
in a previous email, the RaQs do it this way because by default they
receive email for the user at "host.domain.com" (so you can use
hostnames as subdomain names).  I've used the %1 notation for years and
it's never failed me.  It IS documented in the sendmail "bat" book from
O'Reilly, but like many subjects in that book, it's not as clear as it
could be.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205