|
From: p d. t. <pdo...@an...> - 2004-07-28 21:53:47
|
Please pardon the delayed response. > Here is an example of the headers from the receiving end from > sa...@de... to sa...@um... > > Return-Path: <dev...@de...> > > I guess my first question should be why is SquirrelMail showing my unix > account on the title bar rather than my email account. I see devpac_saviz > rather than just saviz or sa...@de...? SM keeps track of only ONE username - the one that is used to correctly log in to the IMAP server (in your case, the unix username). If you need to override this when sending mail, that is what Options->Personal Information settings are for. The title bar just takes whatever your IMAP username is if you use default vlogin settings. You can change that however you like by modifying org_title in the vlogin config file under the $virtualDomains array. Otherwise, you have no choice but to change your server system to a more virtual domain-friendly system, which is what I'd suggest -- fix up your usernames to avoid all this messiness in the first place. - Paul >>Thanks for the response >> >> >>>>I am using SM1.4.3a with the VLOGIN plugin 3.3 and the compatibility >>>>plugin. >>>> >>>>I have many domains being served from just the one SM installation. >>>> >>>>Everything seems to work fine except the following: >>>> >>>>In my /etc/mail/virtusertable I have >>> >>>So I take it you are using the $sendmailVirtualUserTable setting? >>>Please include more specifics. >>> >> >>Yes. I am using sendmailVirtualUserTable option. >> >>Sendmail also has the genericstable option which I am utilising. I assume >>SM does not need to know about that, but basiclly I have exactly the >>reverse mapping in that file: >> >>devpac_saviz sa...@de... >> >> >> >>>>sa...@de... devpac_saviz >>>> >>>>I login to SM with the email address "sa...@de..." and password >>>>for >>>>the devpac_saviz unix user. When I send an email to anyone, they get an >>>>email from sa...@de... which is the desired effect. However, if I >>>>then go to my own sent mail folder and look at the from address of the >>>>email I just sent, I see dev...@de... >>>> >>>>Why is this? I should see sa...@de.... The user should never see >>>>thier true unix username. >>> >>>I suspect the correct FROM name comes through only because you've set it >>>up as desired in Options->Personal Information. Otherwise, your login >>>username would be used, which is in fact your unix username. >> >>MY "Options - Personal Information" is completely empty and has never been >>set. I had this thought exactly. But was surprised to see it empty. >> >> >>>The best >>>solution, of course, is not to use unix usernames in a virtual hosting >>>environment, >> >>Can you suggest a better method. I would grately appreciate it. >> >> >>>but otherwise, without looking closer, you should read ALL >>>of the headers of a mail sent from that account. If your unix username >>>isn't anywhere in those headers, then at least the problem is only in >>>the interface (which is probably just going to be a limitation of your >>>email system's implementation). >> >>here is an example of one of the headers. As you can see my unix username >>is in the header. But I do not know why. The from address should be >>sa...@de... and not dev...@de.... >> >>Received: from 62.49.16.38 >> (SquirrelMail authenticated user devpac_saviz); >> by www.devpac.net with HTTP; >> Wed, 21 Jul 2004 21:27:32 +0100 (BST) >>Message-ID: <33450.62.49.16.38.1090441652.squirrel@62.49.16.38> >>Date: Wed, 21 Jul 2004 21:27:32 +0100 (BST) >>Subject: d >>From: dev...@de... >>To: sa...@um... >>User-Agent: SquirrelMail/1.4.3a >>X-Mailer: SquirrelMail/1.4.3a >>MIME-Version: 1.0 >>Content-Type: text/plain;charset=iso-8859-1 >>Content-Transfer-Encoding: 8bit >>X-Priority: 3 (Normal) >>Importance: Normal >> >>here are some of my VLOGIN options which may be of interest: >>$sendmailVirtualUserTable = '/etc/mail/virtusertable'; >>$removeDomainIfGiven = 1; >>$smHostIsDomainThatUserLoggedInWith = 1; >>$translateHostnameTable = ''; >>$dontUseHostName = 0; >> >>everything else is pretty much default. >> >>Awaiting your response >> >>Sav >> >>> - paul >>> |