This is a discussion on Re: [courier-users] Invalid RCPT TO results in 513 Syntax error within the Courier-Imap forums, part of the Mail Servers and Related category; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 "Martin Schuster (IFKL IT OS DSM CD)" <Martin.Schuster1@infineon.com&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 "Martin Schuster (IFKL IT OS DSM CD)" <Martin.Schuster1@infineon.com> wrote on 2008-Jan-17: > Currently my additional code looks like this > > for (p=0, s=info->ptr; s; s=s->next) > if (s->token == '@') p=s; > if (p==0) { // no @ in address, we need to rewrite > // let's find the last token > for (s=info->ptr; s->next; s=s->next); > > and now I need to alloc a new rfc822token, alloc a string with > my defaultdomain, and fill the rfc822token with the right info. > I guess. :) First I would try simply commenting out the 2 calls to 'rfc822check' in 'rwrecip' in the "esmtp.c" file and see what happens. It looks to me like courier will do a user lookup on the bare name, which is what you want. I'll freely admit that I've only given this a cursory glance, but if it works, it saves you lots of trouble and if it doesn't then at least it didn't take long to try. :-) Jeff Jansen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHkCL4GfIHDMaiC9cRAn4XAKCXDngoWb+lYA+B+R1hjn cG9VB2FwCcCROi nEHbVEfg7rmaCG+BgbRKc1Q= =h5XX -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |