Witam Was serdecznie, otó¿ mam problem z konfiguracj± tego skryptu. Oto plik config.php

  1. <?
  2.  
  3.  
  4. ########################################################################
  5. #Defaults:
  6. #1 - Yes/On/True
  7. #0 - No/Off/False
  8. # do not remove or change this
  9.  
  10. define('yes',1);
  11. define('no',0);
  12.  
  13. $ALL_OK = false;
  14.  
  15. $themes  = Array();
  16. $languages  = Array();
  17.  
  18. ########################################################################
  19. # _ Please attention _:
  20. # The temporary files will be stored on this folder
  21. # For security reasons, do not use web-shared folders
  22.  
  23. # ** The Web Server needs write-permission on this folder
  24.  
  25. # * Unix/Linux users use.
  26. # /tmp/uebimiau
  27. # * Win32 users
  28. # c:/winnt/temp/uebimiau
  29.  
  30. # NEVER use backslashes (). Always use forward slashes (/),
  31. # for all operating systems, INCLUDING Windows
  32. ########################################################################
  33.  
  34. $temporary_directory = "database/";
  35.  
  36. ########################################################################
  37. # Your local SMTP Server (alias or IP) such as "smtp.yourdomain.com"
  38. # eg. "server1;server2;server3"  -> specify main and backup server
  39. ########################################################################
  40.  
  41. $smtp_server = "localhost"; #YOU NEED CHANGE IT !!
  42.  
  43.  
  44. ########################################################################
  45. # You should enable this option if you know what are doing
  46. ########################################################################
  47. $allow_filters = no;
  48.  
  49.  
  50. ########################################################################
  51. # The maximum size for stored files
  52. # In order to keep you system fast, use values better than 5MB
  53. # If you need disable it, set the value to 0 or leave it blank
  54. ########################################################################
  55. $quota_limit = 0; // in KB, eg. 4096 Kb = 4MB
  56.  
  57.  
  58. ########################################################################
  59. # Use SMTP password (AUTH LOGIN type)
  60. ########################################################################
  61. $use_password_for_smtp = yes;
  62.  
  63. ########################################################################
  64. # Redirect new users to the preferences page at first login
  65. ########################################################################
  66. $check_first_login = yes;
  67.  
  68. ########################################################################
  69. # Turn this option to 'yes' if you want allow users send messages using
  70. # they 'Reply to' preference's option as your 'From' header, otherwise 
  71. # the From field will be the email wich the users log in
  72. ########################################################################
  73. $allow_modified_from = yes;
  74.  
  75. ########################################################################
  76. # Language & themes settings
  77. ########################################################################
  78.  
  79. require("./inc/config.languages.php");
  80.  
  81. ########################################################################
  82. # Security related settings
  83. ########################################################################
  84.  
  85. require("./inc/config.security.php");
  86.  
  87.  
  88. ########################################################################
  89. # Server type:
  90. # allowed values:
  91.  
  92. # "DETECT" --------> Guess the pop3 server. If you are running UM
  93. #  in a domain "www.company.com", the script will 
  94. # use "PREFIX.company.com" as your server. you 
  95. # can set the "PREFIX" in the var $mail_detect_prefix.
  96. # Also, the var $mail_detect_remove can be set
  97. # to "www.", then the script get rid the "www" and 
  98. # put the prefix, eg. pop3.company.com.br
  99.  
  100. #"ONE-FOR-EACH" --> Each domain have your own mail server.
  101. # The script will load the list of domains/servers from
  102. # var $mail_servers.
  103.  
  104. #"ONE-FOR-ALL" ---> If you use this option, your users must supply the
  105. # full email address as username. You can set the mail
  106. # server in the var $default_mail_server
  107. #
  108.  
  109. # LOGIN_TYPE
  110.  
  111. # Note. You can supply the LOGIN_TYPE according to your MAIL SERVER.
  112. # Eg. If your mail server requires usernames in user@domain.com, you must
  113. # specify the LOGIN_TYPE as "%user%@%domain%". You can combine it according to 
  114. # your server. eg.
  115.  
  116. # %user%
  117. # %user%@%domain%
  118. # %user%.%domain%
  119. #
  120. # PROTOCOL and PORT
  121. # Choose "imap" as protocol to use the Internet Mail Access Protocol, 
  122. # or "pop3" to use the Post Office Protocol.
  123. # The default ports are:
  124. # pop3 -> 110
  125. # imap -> 143
  126. # The imap is more fast, but all functions of UebiMiau works with POP3
  127. ########################################################################
  128.  
  129. ########################################################################
  130.  
  131. $mail_server_type  = "ONE-FOR-EACH";
  132.  
  133. ########################################################################
  134. # TYPE: DETECT
  135. ########################################################################
  136.  
  137. $mail_detect_remove  = "www.";
  138. $mail_detect_prefix  = "mail.";
  139. $mail_detect_login_type  = "%user%@%domain%";
  140. $mail_detect_protocol  = "pop3";
  141. $mail_detect_port  = "110";
  142. $mail_detect_folder_prefix  = "";
  143.  
  144. ########################################################################
  145. # TYPE: ONE-FOR-EACH
  146. # Each domain have your own mail server
  147. ########################################################################
  148.  
  149.  
  150. $mail_servers[] = Array( //sample using POP3
  151. "domain"  => "uebimiaiu.org", 
  152. "server"  => "localhost", 
  153. "login_type"  => "%user%@%domain%",
  154. "protocol" => "IMAP",
  155. "port" => "143",
  156. "folder_prefix" => "INBOX." //not used for pop3
  157. );
  158.  
  159.  
  160. /*
  161. $mail_servers[] = Array( //sample using IMAP
  162. "domain"  => "another-domain.com", 
  163. "server"  => "mail.another-domain.com", 
  164. "login_type"  => "%user%@%domain%",
  165. "protocol" => "imap",
  166. "port" => "143",
  167. "folder_prefix" => "INBOX."
  168. );
  169.  
  170. */
  171.  
  172. ########################################################################
  173. # TYPE: ONE-FOR-ALL
  174. # the default mail server for all domains
  175. ########################################################################
  176.  
  177. $default_mail_server  = "mail.YOUR-UNIQUE-SERVER.com.br";
  178. $one_for_all_login_type = "%user%@%domain%";
  179. $default_protocol = "pop3";
  180. $default_port = "110";
  181. $default_folder_prefix = "";
  182.  
  183.  
  184. ########################################################################
  185. # Specify mail transport
  186. # Allowed values:
  187. # "smtp"  - To use an external SMTP Server specified in $smtp_server
  188. # "sendmail"  - To server's sendmail-compatible MTA. If you need to change
  189. # the path, look into /inc/class.phpmailer.php and search for
  190. # var $Sendmail = "/usr/sbin/sendmail";
  191. # "mail" - To use default PHP's mail() function
  192. ########################################################################
  193.  
  194. $mailer_type = "smtp";
  195.  
  196.  
  197. ########################################################################
  198. # In some POP3 servers, if you send a "RETR" command, your
  199. # message will be automatically deleted :(
  200. # This option prevents this inconvenience
  201. ########################################################################
  202.  
  203. $mail_use_top = yes;
  204.  
  205. ########################################################################
  206. # Name and Version, it's used in many places, like as
  207. # "X-Mailer" field, footer
  208. ########################################################################
  209.  
  210. $appversion = "2.7.9";
  211. $appname = "UebiMiau";
  212.  
  213.  
  214. ########################################################################
  215. # Add a "footer" to sent mails
  216. ########################################################################
  217.  
  218. $footer = "
  219.  
  220. ________________________________________________
  221. Message sent using $appname $appversion
  222. ";
  223.  
  224. ########################################################################
  225. # Enable debug :)
  226. # no - disabled
  227. # 1 or yes -> enabled with full results
  228. # 2 -> enable with servers communications only
  229. # ********************************************************/
  230. $enable_debug = no;
  231.  
  232.  
  233. ########################################################################
  234. # Order setting
  235. ########################################################################
  236.  
  237. $default_sortby = "date";
  238. $default_sortorder = "DESC";
  239.  
  240. ########################################################################
  241. # Default preferences...
  242. ########################################################################
  243.  
  244. $default_preferences = Array(
  245. "send_to_trash_default"  => yes, # send deleted messages to trash
  246. "st_only_ready_default"  => yes, # only read messages, otherwise, delete it
  247. "save_to_sent_default" => yes, # send sent messages to sent
  248. "empty_trash_default" => yes, # empty trash on logout
  249. "sortby_default" => "date", # alowed: "attach","subject","fromname","date","size"
  250. "sortorder_default" => "DESC", # alowed: "ASC","DESC"
  251. "rpp_default" => 20, # records per page (messages), alowed: 10,20,30,40,50,100,200
  252. "add_signature_default" => no, # add the signature by default
  253. "signature_default" => "", # a default signature for all users, use text only, with multiple lines if neede
    d
  254. "timezone_default" => "+0000", # timezone, format (+|-)HHMM (H=hours, M=minutes)
  255. "display_images_default" => yes, # automatically show attached images in the body of message
  256. "editor_mode_default" => "html", # use "html" or "text" to set default editor. "html" will be used only in IE5+ browsers
  257. "refresh_time_default" => 10 # after this time, the message list will be refreshed, in minutes
  258. );
  259. /*
  260. don't touch here
  261. */
  262. $ALL_OK = true;
  263. ?>

Chcê siê logowaæ przez pop3. Poprzednio go ( w moim mniemaniu ) dobrze skonfigurowa³em i dupa - po wpisaniu has³a i loginu pusta strona sie odpala³a.Mam domenê com wiec jakby kto¶ by³ dobry to dla przyk³adu niech stosuje nazwa.com - aha i sposob logowania to ma byæ jakislogin@nazwadomeny.com
BO naprawdê ju¿ probowa³em wszystkiego i le¿ê i kwiczê ;/