Re: ST patch bug with vmailmgr accounts
Salvatore Toribio <[email protected]>
| Newsgroups | gmane.mail.qmail.scanner |
|---|---|
| Message-ID | <a06240801c1c521f50fe2@[10.0.1.2]> |
At 0:37 -0600 5-01-2007, Josh Trutwin wrote: >Salvatore, > >When you create a user in vmailmgr that has a period in the >username (e.g. josh.trutwin) the IMAP directory becomes >josh:trutwin. I had this in my settings_per_domain.txt file for a >spamdir setting: > >josh:trutwin/.SPAM > >Unfortunately the colon character is used to split the email >account from the settings. > >I fixed this by changing the line: > > ($match_rcpt,$domain_settings)=split(/:/,$_); > >to: > > ($match_rcpt,$domain_settings)=split(/:/,$_, 2); > >The last 2 limits it to only splitting the email account from the >rest of the data. > >This could also be an issue if the user ever wanted to have a colon >in the spam subject field. Thanks Josh, Good point, I will fix it in the next version. Regards ST ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV