To make the RHS address with an '@' a local unix user all you need to do is escape the '@'
i.e. The virtusertable is setup as follows
[EMAIL PROTECTED] publish01
[EMAIL PROTECTED] publish01
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] glenn\@local-unix-user.com
The first two will go to local mail box (local unix user) publish01
The third will forward via smtp to the email address [EMAIL PROTECTED]
And the forth will go to local mail box (local unix user) [EMAIL PROTECTED]
I have this working in a live several live commercial ISP environments.
Best regards
Glenn Hocking
Publish Media Pty Ltd
http://www.sitegeneral.com
Jeremy C. Reed wrote:
[EMAIL PROTECTED]">On Fri, 17 May 2002, Glenn Hocking wrote:Sorry but I'm using standard sendmail and qpopper. The stickhost and
virtusertable 'features' have been around for a while. I've been using
this setup since 1996 with great success.
We misunderstand each other. I thought it was desired to have the UNIX
(and POP3) username be username@domain. Can you explain your working
setup?
I have also used sendmail's virtusertable workaround for many years. I am
not sure how you could use full user@domain as the virtusertable alias
(right hand side) and sendmail would know that it was really a local
getpwent username (and not relay to @domain). I have only read about
stickyhost -- does it solve that problem?
I am also confused how it can reliably work with qpopper since several
POP3 clients automatically get rid of the at-sign and domain. (I don't
think standard qpopper can be configured to use an alternative character
and then replace it with an at-sign before doing a getpwnam(3).)
As for user name length, I did several tests the past few years with
Debian Linux (and some BSDs) with long user names. I have had usernames
with over hun dred characters (with Debian Linux) that I was successfully
able to use for email (exim MTA and vm-pop3d,gnu-pop3d and others), logins
(login, ssh), ftp and more. (Some of my notes about this are probably
available in this list's archives; I need to find and publish on a
webpage.)
Jeremy C. Reed
echo '9,J8HD,fDGG8B@?:536FC5=8@I;C5?@H5B0D@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'