Hi again Gilles,

> A possible fix to your issue would be to add ' to the allowed charset in
> util.c, can you try and see if it is enough to solve your issue ?

If I read the code correctly, the ' is already allowed. valid_localpart() 
inside util.c defines IS_ATEXT macro as below:

    #define IS_ATEXT(c) (isalnum((unsigned char)(c)) || 
strchr(MAILADDR_ALLOWED, (c)))

then MAILADDR_ALLOWED is defined inside smtpd.h as:

    #define MAILADDR_ALLOWED        "!#$%&'*/?^`{|}~+-=_”

therefore it contains the ' character. 

Am I looking at the correct place? 

Thanks!
Mike


-- 
Michal Krzysztofowicz
http://beautifulocean.org/


Reply via email to