tpop3d-devel
[Top][All Lists]
Advanced

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

Re: [tpop3d-discuss]documentation change request


From: David Muir Sharnoff
Subject: Re: [tpop3d-discuss]documentation change request
Date: Tue, 19 Jul 2005 10:19:48 -0700

What I needed was documentation that pointed me in the right
direction.  The documentation on "append-domain" didn't mention that
you had to do a regex match to get it to append a domain based on the
local address rather than the hostname.

My solution is:

listen-address: 0.0.0.0/^mail\.(.*)$/

I think 

listen-address: 0.0.0.0/^(.*)$/

Would have also worked and I considered it.

What I would have liked to do was:

listen-address: 0.0.0.0/^(?:pop|smtp|webmail|mail)\.(.*)$/

The documentation said "POSIX" regular expressions rather than perl
regular expression so I assumed (?:) isn't supported.

-Dave

On 7/19/05, Kevin Bonner <address@hidden> wrote:
> On Monday 18 July 2005 20:00, David Muir Sharnoff wrote:
> > Unless there is a regular expression match the it appends `hostname`.
> > Not useful if what you're expecting is the "the domain name associated
> > with the address on which the connection was received. "
> >
> > The no-regex situation should probably be documented too.
> >
> > -Dave
> 
> Ah.  I've seen this before, and being able to define a default domain if the
> regexp doesn't match would be useful.  I'm guessing the following would be
> what you're looking for...this would use the default realm of idiom.com if
> the regexp doesn't match.
> 
> listen-address: 0.0.0.0:110(idiom.com)/mail\.(.*)$/;tls=...
> 
> These changes shouldn't be too difficult to code in the current 1.5.3 release
> (or the CVS head).
> 
> -Kevin
> 
> 
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]