Please check if this "change" works for you.
Ciao,
Tonino
-----------------------------------------------------------------------------
In such a case, I may suggest a very general and "to be adjiusted manually" patch "over the patch" like this.
case 1: /* User control: check the existance of a real user */
user_passwd = vauth_getpw (user.s, domain.s);
+ if (user_passwd == NULL) {
+ count = 0;
+ while ((count < user.len) && (user_passwd == NULL))
+ count += byte_rchr(&user.s[count],user.len,'-');
+ if (count < user.len) {
+ if (!stralloc_copyb (&alias_name, user.s, count)) ie_nomem();
+ if (!stralloc_0 (&alias_name)) die_nomem();
+ user_passwd = vauth_getpw (alias_name.s, domain.s);
+ }
+ }
if (user_passwd != NULL) {
If the complete address does not exist, routine looks for "-" characters, starting from left, and each time verifies if user exists, until no "-" is found or user exists.
The "-" character must be modified accordingly to the site character chosen as TMDA address delimiter.
-----------------------------------------------------------------------------
At 17/09/03 17/09/03 -0400, Vinnie wrote:
Hello all,
I'm wondering if anybody has tried implementing tmda on their vpopmail server(s) when qmail has been patched by chkusr.
It strikes me from initial looks that there may be a problem with incoming emails destined for a tagged email address, if qmail's smtpd modified by chkusr is looking for a real email account (or alias, etc.) by that tagged name.
That is based on the assumption that tmda is NOT accomplishing its delivery of allowed emails to the real mailbox by means of .qmail aliases (or other means that chkusr can use to determine if the mailbox exists), which it seems to me would be necessary for chkusr to see the email address as a valid one.
Does anyone have any thoughts on this?
chkusr is still doing a great job here but we are getting a lot of spams to valid addresses. tmda would probably nix most of that if we could get it going.
Cheers, vinnie
------------------------------------------------------------ [EMAIL PROTECTED] Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED] ------------------------------------------------------------