Re: How does squirrelmail get the User's name?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I have a User on my server that nobody recognized, so I backed up and 
> deleted the account. She later called and it was straightened out (she's 
>   an outside collaborator with one of my Users and so had been given an 
> account before my time).
> 
> This is relevant because then in the comment field in /etc/passwd I used 
> usermod to change it to "Jenny Jones. Collaborates with Sid" so I will 
> know who she is when I periodically review /etc/passwd pruning dead 
> accounts.
> 
> So after restoring her account, She complained that Squirrelmail was 
> sending out her mails as "Jenny Jones. Collaborates with Sid" 
> <jjones <at> ourserver.org>.
> 
> Well I knew her password (I'd just reset it) so I realized in 
> Squirrelmail Options -> Personal Information, I could just fill in her 
> real name and that would override this. But what about the rest of my 
> Users? As I was modifying comment fields for my private use, was 
> Squirrelmail picking that up and using it as the Account Name?
> 
> I experimented with a dummy account and then in THAT account, "Bob 
> Evans. A test User" was NOT picked up by SM and e-mail sent out just 
> went out as "Bob Evans" <bevans <at> ourserver.org> . Options -> Personal 
> Information was blank.
> 
> So now I am confused.
> 
> A. Under what conditions does SM pick up the comment field and use it?
>
> B What I WANT is for SM to NEVER use the /etc/passwd comment field and 
> if the User does not fill in Options -> Personal information themselves, 
> mail will just go out as "" <joeuser <at> ourserver.org> . How do I 
> ensure that?

It is not SquirrelMail. It is your SMTP server. Check Sendmail documentation.
Maybe you can turn off this functionality.


from sendmail op.me. "5.2. D -- Define Macro" chapter
----
The $x macro is set  to  the  full  name  of  the
sender.   This  can be determined in several ways.  It
can be passed as flag to sendmail.  It can be  defined
in the NAME environment variable.  The third choice is
the value of the "Full-Name:" line in the header if it
exists,  and the fourth choice is the comment field of
a "From:" line.  If all of these fail, and if the mes-
sage  is  being  originated  locally, the full name is
looked up in the /etc/passwd file.
----

Or enable SquirrelMail plugin that makes sure that user's name is set in
SquirrelMail Personal preferences.

-- 
Tomas


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux