Paul Lesniewski napsal(a): > On Wed, Jul 9, 2008 at 1:32 AM, Filip Novák <philip.x@xxxxxxxxx> wrote: >> Paul Lesniewski napsal(a): >>> On Wed, Jul 9, 2008 at 12:29 AM, Filip Novák <philip.x@xxxxxxxxx> wrote: >>>> Paul Lesniewski napsal(a): >>>>> Please do not top-post. You should review the mailing list guidelines. >>>>> >>>>>>>> I have problem with "From:" address. >>>>>>>> /SquirrelMail 1.4.8-4.0.1.el5.centos.2, Sendmail 8.13.8-2/ >>>>>>>> >>>>>>>> Linux mail users have prefix "m_", but email addresses are without prefix. >>>>>>>> >>>>>>>> /etc/mail/virtusertable: >>>>>>>> m_user user@xxxxxxxxxxxxx >>>>>>>> ................... >>>>>>>> >>>>>>>> When I send message over client (Outlook Express) is "From:" address ok, >>>>>>>> but problem comes with SquirrelMail. There is address with prefix >>>>>>>> m_user@xxxxxxxxxxxxxx >>>>>>>> How can I change it? >>>>>>> Implement an outgoing conversion table in the MTA or change the email >>>>>>> address in Options->Personal Information (there are plugins that can >>>>>>> help automate that) or install the Login Manager (vlogin) plugin, >>>>>>> which can also remap the email address. OTOH, maybe you should >>>>>>> implement a REAL virtual user system, instead of a hacked one. If >>>>>>> mail users shouldn't have a real system account (they never should), >>>>>>> then don't give them one! >>>>>> I use vlogin plugin and users can login without prefix. But I don't know >>>>>> how to set outgoing address with vlogin... >>>>> Please turn on $rawLoginIsOutgoingEmailAddress in the config file. >>>>> >From what I understand, the login won't have a domain appendage, but >>>>> your MTA should add it, especially if you are only hosting one domain >>>>> on the machine. Please give it a try and report back. >>>>> >>>> I'm very sorry, I made mistake (there is only ourdomain.com). I have >>>> problem with "m_" prefix in username. When user want to send message is >>>> "FROM address" m_user@xxxxxxxxxxxxx, not user@xxxxxxxxxxxxx which is right. >>>> >>>> (Turning on $rawLoginIsOutgoingEmailAddress really take away domain from >>>> address.) >>> I am unclear on the status of your issue. Please tell me where the >>> problem lies: >>> >>> Real IMAP login: m_user >>> "Nice" vlogin login: user >>> >>> With $rawLoginIsOutgoingEmailAddress turned on, it should set the >>> outgoing email address to "user", which the MTA (actually, >>> SquirrelMail might do that first) should correct to >>> "user@xxxxxxxxxxx". Is the problem that the MTA isn't doing that? >>> Did you test this? Can you show a mail header? >>> >> I see, you're right. Now, with $rawLoginIsOutgoingEmailAddress turned on >> is email address only "user". >> Problem is sending message. Error: 64 Can't execute command >> '/usr/sbin/sendmail -i -t fuser@'. > > Do you have the domain set in the SquirrelMail config?? Yes. squirrelmail config.php ------------------------- $domain = 'ourdomain.com'; ... vlogin config.php ------------------------- $virtualDomains = array( 'ourdomain.com' => array( 'domain' => 'ourdomain.com', 'org_name' => 'Company', ), ); $useDomainFromVirtDomainsArray = 1; $rawLoginIsOutgoingEmailAddress = 1; ... ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users