Re: [courier-users] Invalid RCPT TO results in 513 Syntax error

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&...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008
Jeff Jansen
 
Posts: n/a
Default Re: [courier-users] Invalid RCPT TO results in 513 Syntax error

-----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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0