One thing that had always confused my customers, was that in the
bulletins it would replace the To line with there username@hostname.
And this confuses most of them.  Does this mean I have to change my
email address to be [EMAIL PROTECTED]?  (I hated that questions,
and it confuses so many).

So, I made a slight change to pop_bull.c at line 812.  I made the
following change.

Was:

sprintf(buffer,"To: %s@%s\n", p->user, p->myhost);

Replaced with:

sprintf(buffer,"To: [EMAIL PROTECTED]\n", p->user);


Now this gets rid of most of the confusion.  But this is a change that I
have to make every time I upgrade qpopper, which isn't that often, but I
know one of these days I will forget to do it, and once again users will
be confused.

Would it be possible to make a compile time option that would cause it
to use getdomainname() instead of gethostname() for the replacement of
the To: line in bulletins?  It would probably require adding another
variable to the POP object (p->mydomain).  And in pop_init.c you could
have it set p->mydomain = getdomaindname().

Thanks,

                                                      .~.
                                                      /v\
--                                                   // \\
JA                                                  /(   )\
                                                     ^`~`^
                                                   L I N U X
[-----------------------------------------------------------]
 Justin Ainsworth                    Systems Administrator &
 PHONE: (530) 879-5660x108      Technical Support Supervisor
 FAX:   (530) 879-5676                        Sunset Net LLC
 WEB:   http://www.sunset.net              1915 Mangrove Ave   
 EMAIL: [EMAIL PROTECTED]                       Chico, CA 95926  
[-----------------------------------------------------------] 

Reply via email to