Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:56 pm EST

Geeklog Forums

Mail not working


Status: offline

jerry.green

Forum User
Newbie
Registered: 09/02/02
Posts: 4
I have just installed geeklog and most of it seems to be working fine but none of the mail functions are working. Contact us, mail password to new user etc are not working. There appears to be no error messages just no mail gets through. Can anyone tell me what is wrong? In other applications I have had to set the path to mail but in geeklog I can't find anywhere to set this. Jerry Green
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Geeklog just uses PHP's built-in mail() function, so that's why you can't configure email in Geeklog. Make sure you have email support set up properly in PHP, then it should work with Geeklog as well. For a start, check the email settings in your php.ini file (and don't forget to restart your webserver when you make any changes in that file). Hope that helps. bye, Dirk
 Quote

Status: offline

efarmboy

Forum User
Moderator
Registered: 02/26/02
Posts: 147
I had a similar problem with my FreeBSD, Sendmail setup. I have DSL service and was able to send email from my server (hosting geeklog) to my internal domain but not externally. I was getting DNS errors in my sendmail logs. Have you checked your SMTP logs? My ISP was not letting the mail out - spam policy about other smtp servers within their network. I configured my sendmail to use the ISP's smart SMTP host, restarted the sendmail process and all my mail that was hung up went out - problem solved. Blaine
 Quote

Status: offline

jerry.green

Forum User
Newbie
Registered: 09/02/02
Posts: 4
You can probably gather I am a newbie with PHP. I hope someone can give me an answer as to why mail doesn't work. I don't have access to change php.ini Send mail is working fine so my ISP is not blocking mail out. In the config.php there is a line $_CONF['site_mail'] = 'jerry.green@associates88.fsnet.co.uk' This is my normal mail adress. Is this what should be set? Here is complete copy of answer when I run command <? phpinfo(); ?> PHP Version 4.0.5 System Linux enh-01 2.4.10 #1 SMP Tue Oct 9 16:00:05 BST 2001 i686 unknown Build Date Oct 23 2001 Configure Command './configure' '--with-xml' '--enable-wddx' '--with-apache=/usr/local/src/apache_1.3.20' '--with-mysql' '--enable-track-vars' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/lib ZEND_DEBUG disabled Thread Safety disabled This program makes use of the Zend scripting language engine: Zend Engine v1.0.5, Copyright (c) 1998-2001 Zend Technologies -------------------------------------------------------------------------------- PHP 4.0 Credits -------------------------------------------------------------------------------- Configuration PHP Core Directive Local Value Master Value allow_call_time_pass_reference On On allow_url_fopen 1 1 arg_separator & & arg_separator.input & & arg_separator.output & & asp_tags Off Off auto_append_file no value no value auto_prepend_file no value no value browscap no value no value default_charset no value no value default_mimetype text/html text/html define_syslog_variables Off Off disable_functions no value no value display_errors On On display_startup_errors Off Off doc_root no value no value enable_dl On On error_append_string Off Off error_log no value no value error_prepend_string Off Off error_reporting no value no value expose_php On On extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20001222 /usr/local/lib/php/extensions/no-debug-non-zts-20001222 file_uploads 1 1 gpc_order GPC GPC highlight.bg #FFFFFF #FFFFFF highlight.comment #FF8000 #FF8000 highlight.default #0000BB #0000BB highlight.html #000000 #000000 highlight.keyword #007700 #007700 highlight.string #DD0000 #DD0000 html_errors On On ignore_user_abort Off Off implicit_flush Off Off include_path .:/usr/local/lib/php .:/usr/local/lib/php log_errors Off Off magic_quotes_gpc On On magic_quotes_runtime Off Off magic_quotes_sybase Off Off max_execution_time 30 30 open_basedir no value no value output_buffering Off Off output_handler no value no value post_max_size 8M 8M precision 14 14 register_argc_argv On On register_globals On On safe_mode Off Off safe_mode_exec_dir 1 1 sendmail_from no value no value sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i short_open_tag On On SMTP localhost localhost sql.safe_mode Off Off track_errors Off Off upload_max_filesize 2M 2M upload_tmp_dir no value no value user_dir no value no value variables_order no value no value y2k_compliance Off Off xml XML Support active wddx WDDX Support enabled standard Regex Library Bundled library enabled Dynamic Library Support enabled Path to sendmail /usr/sbin/sendmail -t -i Directive Local Value Master Value assert.active 1 1 assert.bail 0 0 assert.callback no value no value assert.quiet_eval 0 0 assert.warning 1 1 safe_mode_allowed_env_vars PHP_ PHP_ safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH session.use_trans_sid 1 1 session Session Support enabled Directive Local Value Master Value session.auto_start Off Off session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path /tmp /tmp session.serialize_handler php php session.use_cookies On On posix Revision $Revision: 1.27 $ pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 3.4 22-Aug-2000 mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 3.23.32 MYSQL_INCLUDE MYSQL_LFLAGS MYSQL_LIBS Directive Local Value Master Value mysql.allow_persistent On On mysql.default_host no value no value mysql.default_password no value no value mysql.default_port no value no value mysql.default_socket no value no value mysql.default_user no value no value mysql.max_links Unlimited Unlimited mysql.max_persistent Unlimited Unlimited apache APACHE_INCLUDE APACHE_TARGET Apache Version Apache/1.3.20 Apache Release 10320100 Apache API Version 19990320 HostnameRazzort bogus_host_without_reverse_dns:80 User/Group nobody(99)/99 Max Requests Per Child: 10000 Keep Alive: on Max Per Connection: 300 Timeouts Connection: 100 Keep-Alive: 15 Server Root /usr/local/apache/ Loaded Modules mod_php4, mod_perl, mod_setenvif, mod_so, mod_auth, mod_access, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, mod_vhost_alias, http_core Apache Environment Variable Value DOCUMENT_ROOT /usr/local/apache/htdocs HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/vnd.ms-excel, */* HTTP_ACCEPT_ENCODING gzip, deflate HTTP_ACCEPT_LANGUAGE en-gb HTTP_CONNECTION keep-alive HTTP_COOKIE eZSessionCookie=3d75ffc0236b59fb1350dfb4a37f45bb; LastVisit=1030965289; password=bd147b48081b3d28f95ac005f69aaed1; language=english; theme=XSilver HTTP_HOST www.historyandnews.co.uk HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; CDSource=v12a.00) HTTP_VIA 1.1 webcacheH07 (NetCache NetApp/5.2.1R2) HTTP_X_FORWARDED_FOR 217.134.78.228 PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/justin/bin REMOTE_ADDR 195.92.67.71 REMOTE_HOST webcacheh07a.cache.pol.co.uk REMOTE_PORT 41370 SCRIPT_FILENAME /host/www.historyandnews.co.uk/phptest.php SERVER_ADDR 10.14.0.24 SERVER_ADMIN support@portland.co.uk SERVER_NAME www.historyandnews.co.uk SERVER_PORT 80 SERVER_SIGNATURE SERVER_SOFTWARE Apache/1.3.20 (Unix) PHP/4.0.5 mod_perl/1.26 GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET QUERY_STRING REQUEST_URI /phptest.php SCRIPT_NAME /phptest.php HTTP Headers Information HTTP Request Headers HTTP Request GET /phptest.php HTTP/1.1 Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/vnd.ms-excel, */* Accept-Encoding gzip, deflate Accept-Language en-gb Connection keep-alive Cookie eZSessionCookie=3d75ffc0236b59fb1350dfb4a37f45bb; LastVisit=1030965289; password=bd147b48081b3d28f95ac005f69aaed1; language=english; theme=XSilver Host www.historyandnews.co.uk User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; CDSource=v12a.00) Via 1.1 webcacheH07 (NetCache NetApp/5.2.1R2) X-Forwarded-For 217.134.78.228 HTTP Response Headers X-Powered-By PHP/4.0.5 Keep-Alive timeout=15, max=298 Connection Keep-Alive Transfer-Encoding chunked Content-Type text/html Additional Modules Environment Variable Value PWD / REMOTEHOST ip219 HOSTNAME enh-01 PVM_RSH /usr/bin/rsh QTDIR /usr/lib/qt-2.2.0 LESSOPEN |/usr/bin/lesspipe.sh %s XPVM_ROOT /usr/share/pvm3/xpvm KDEDIR /usr USER justin LS_COLORS no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01Surprised!r=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: MACHTYPE i386-redhat-linux-gnu MAIL /var/spool/mail/justin INPUTRC /etc/inputrc BASH_ENV /home/justin/.bashrc LANG en_US LOGNAME justin SHLVL 3 SHELL /bin/bash USERNAME HOSTTYPE i386 OSTYPE linux-gnu HISTSIZE 1000 PVM_ROOT /usr/share/pvm3 TERM xterm HOME /root PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/justin/bin _ /usr/local/apache/bin/httpd PHP Variables Variable Value PHP_SELF /phptest.php HTTP_COOKIE_VARS["eZSessionCookie"] 3d75ffc0236b59fb1350dfb4a37f45bb HTTP_COOKIE_VARS["LastVisit"] 1030965289 HTTP_COOKIE_VARS["password"] bd147b48081b3d28f95ac005f69aaed1 HTTP_COOKIE_VARS["language"] english HTTP_COOKIE_VARS["theme"] XSilver HTTP_SERVER_VARS["DOCUMENT_ROOT"] /usr/local/apache/htdocs HTTP_SERVER_VARS["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/vnd.ms-excel, */* HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"] gzip, deflate HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"] en-gb HTTP_SERVER_VARS["HTTP_CONNECTION"] keep-alive HTTP_SERVER_VARS["HTTP_COOKIE"] eZSessionCookie=3d75ffc0236b59fb1350dfb4a37f45bb; LastVisit=1030965289; password=bd147b48081b3d28f95ac005f69aaed1; language=english; theme=XSilver HTTP_SERVER_VARS["HTTP_HOST"] www.historyandnews.co.uk HTTP_SERVER_VARS["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; CDSource=v12a.00) HTTP_SERVER_VARS["HTTP_VIA"] 1.1 webcacheH07 (NetCache NetApp/5.2.1R2) HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"] 217.134.78.228 HTTP_SERVER_VARS["PATH"] /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/justin/bin HTTP_SERVER_VARS["REMOTE_ADDR"] 195.92.67.71 HTTP_SERVER_VARS["REMOTE_HOST"] webcacheh07a.cache.pol.co.uk HTTP_SERVER_VARS["REMOTE_PORT"] 41370 HTTP_SERVER_VARS["SCRIPT_FILENAME"] /host/www.historyandnews.co.uk/phptest.php HTTP_SERVER_VARS["SERVER_ADDR"] 10.14.0.24 HTTP_SERVER_VARS["SERVER_ADMIN"] support@portland.co.uk HTTP_SERVER_VARS["SERVER_NAME"] www.historyandnews.co.uk HTTP_SERVER_VARS["SERVER_PORT"] 80 HTTP_SERVER_VARS["SERVER_SIGNATURE"] HTTP_SERVER_VARS["SERVER_SOFTWARE"] Apache/1.3.20 (Unix) PHP/4.0.5 mod_perl/1.26 HTTP_SERVER_VARS["GATEWAY_INTERFACE"] CGI/1.1 HTTP_SERVER_VARS["SERVER_PROTOCOL"] HTTP/1.1 HTTP_SERVER_VARS["REQUEST_METHOD"] GET HTTP_SERVER_VARS["QUERY_STRING"] HTTP_SERVER_VARS["REQUEST_URI"] /phptest.php HTTP_SERVER_VARS["SCRIPT_NAME"] /phptest.php HTTP_SERVER_VARS["PATH_TRANSLATED"] /host/www.historyandnews.co.uk/phptest.php HTTP_SERVER_VARS["PHP_SELF"] /phptest.php HTTP_SERVER_VARS["argv"] Array ( ) HTTP_SERVER_VARS["argc"] 0 HTTP_ENV_VARS["PWD"] / HTTP_ENV_VARS["REMOTEHOST"] ip219 HTTP_ENV_VARS["HOSTNAME"] enh-01 HTTP_ENV_VARS["PVM_RSH"] /usr/bin/rsh HTTP_ENV_VARS["QTDIR"] /usr/lib/qt-2.2.0 HTTP_ENV_VARS["LESSOPEN"] |/usr/bin/lesspipe.sh %s HTTP_ENV_VARS["XPVM_ROOT"] /usr/share/pvm3/xpvm HTTP_ENV_VARS["KDEDIR"] /usr HTTP_ENV_VARS["USER"] justin HTTP_ENV_VARS["LS_COLORS"] no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01Surprised!r=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: HTTP_ENV_VARS["MACHTYPE"] i386-redhat-linux-gnu HTTP_ENV_VARS["MAIL"] /var/spool/mail/justin HTTP_ENV_VARS["INPUTRC"] /etc/inputrc HTTP_ENV_VARS["BASH_ENV"] /home/justin/.bashrc HTTP_ENV_VARS["LANG"] en_US HTTP_ENV_VARS["LOGNAME"] justin HTTP_ENV_VARS["SHLVL"] 3 HTTP_ENV_VARS["SHELL"] /bin/bash HTTP_ENV_VARS["USERNAME"] HTTP_ENV_VARS["HOSTTYPE"] i386 HTTP_ENV_VARS["OSTYPE"] linux-gnu HTTP_ENV_VARS["HISTSIZE"] 1000 HTTP_ENV_VARS["PVM_ROOT"] /usr/share/pvm3 HTTP_ENV_VARS["TERM"] xterm HTTP_ENV_VARS["HOME"] /root HTTP_ENV_VARS["PATH"] /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/justin/bin HTTP_ENV_VARS["_"] /usr/local/apache/bin/httpd
 Quote

Status: offline

jerry.green

Forum User
Newbie
Registered: 09/02/02
Posts: 4
I'm an idiot. Contact us is now working by setting adress in user admin. Why doesn't it pick up the adress from config.php? New user mail is still not working. Thanks in advance for your help. Jerry Green
 Quote

Status: offline

jerry.green

Forum User
Newbie
Registered: 09/02/02
Posts: 4
My mail is at last working. After three days trying I finally have a flood of mail. There must have been a problem somewhere but I don't know what. Thankyou to those who have tried to help me. Jerry Green
 Quote

All times are EST. The time is now 11:56 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content