Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 22:34:47

Author Topic: mail problems  (Read 18992 times)

0 Members and 1 Guest are viewing this topic.

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: mail problems
« Reply #15 on: 2015-04-18, 18:40:41 »
no tables existing in vpopmail database

and same, What now - Success
« Last Edit: 2015-04-18, 18:43:34 by sunderfall »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: mail problems
« Reply #16 on: 2015-04-18, 22:19:26 »
Go to phpmyadmin via 'admin > sql manager' and then click vpopmail database. Click SQL and execute:
Code: [Select]
-- phpMyAdmin SQL Dump
-- version 4.4.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Apr 18, 2015 at 05:32 PM
-- Server version: 10.0.17-MariaDB
-- PHP Version: 5.4.39

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `vpopmail`
--

-- --------------------------------------------------------

--
-- Table structure for table `dir_control`
--

CREATE TABLE IF NOT EXISTS IF NOT EXISTS `dir_control` (
  `domain` char(96) CHARACTER SET latin1 NOT NULL,
  `cur_users` int(11) DEFAULT NULL,
  `level_cur` int(11) DEFAULT NULL,
  `level_max` int(11) DEFAULT NULL,
  `level_start0` int(11) DEFAULT NULL,
  `level_start1` int(11) DEFAULT NULL,
  `level_start2` int(11) DEFAULT NULL,
  `level_end0` int(11) DEFAULT NULL,
  `level_end1` int(11) DEFAULT NULL,
  `level_end2` int(11) DEFAULT NULL,
  `level_mod0` int(11) DEFAULT NULL,
  `level_mod1` int(11) DEFAULT NULL,
  `level_mod2` int(11) DEFAULT NULL,
  `level_index0` int(11) DEFAULT NULL,
  `level_index1` int(11) DEFAULT NULL,
  `level_index2` int(11) DEFAULT NULL,
  `the_dir` char(160) CHARACTER SET latin1 DEFAULT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `lastauth`
--

CREATE TABLE IF NOT EXISTS IF NOT EXISTS `lastauth` (
  `user` char(32) CHARACTER SET latin1 NOT NULL,
  `domain` char(96) CHARACTER SET latin1 NOT NULL,
  `remote_ip` char(18) CHARACTER SET latin1 NOT NULL,
  `timestamp` bigint(20) NOT NULL DEFAULT '0'
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `valias`
--

CREATE TABLE IF NOT EXISTS IF NOT EXISTS `valias` (
  `alias` char(32) CHARACTER SET latin1 NOT NULL,
  `domain` char(96) CHARACTER SET latin1 NOT NULL,
  `valias_line` text CHARACTER SET latin1 NOT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `vpopmail`
--

CREATE TABLE IF NOT EXISTS IF NOT EXISTS `vpopmail` (
  `pw_name` char(32) CHARACTER SET latin1 NOT NULL,
  `pw_domain` char(96) CHARACTER SET latin1 NOT NULL,
  `pw_passwd` char(40) CHARACTER SET latin1 DEFAULT NULL,
  `pw_uid` int(11) DEFAULT NULL,
  `pw_gid` int(11) DEFAULT NULL,
  `pw_gecos` char(48) CHARACTER SET latin1 DEFAULT NULL,
  `pw_dir` char(160) CHARACTER SET latin1 DEFAULT NULL,
  `pw_shell` char(20) CHARACTER SET latin1 DEFAULT NULL,
  `pw_clear_passwd` char(16) CHARACTER SET latin1 DEFAULT NULL
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `dir_control`
--
ALTER TABLE `dir_control`
  ADD PRIMARY KEY (`domain`);

--
-- Indexes for table `lastauth`
--
ALTER TABLE `lastauth`
  ADD PRIMARY KEY (`user`,`domain`);

--
-- Indexes for table `valias`
--
ALTER TABLE `valias`
  ADD KEY `alias` (`alias`,`domain`);

--
-- Indexes for table `vpopmail`
--
ALTER TABLE `vpopmail`
  ADD PRIMARY KEY (`pw_name`,`pw_domain`);

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

and then run 'sh /script/cleanup'. Check again with vdominfo.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: mail problems
« Reply #17 on: 2015-04-19, 00:38:47 »
after the sql execute, vpopmail db have tables now
when i run script cleanup:
server start spamming this response after some time:
Code: [Select]
unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist

and not able to stop this message without reboot.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: mail problems
« Reply #18 on: 2015-04-19, 08:32:03 »
create file 'down' inside /var/qmail/supervise/clamd and /var/qmail/supervise/clamd/log
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: mail problems
« Reply #19 on: 2015-04-19, 20:41:44 »
hi again.

after creating those files (down)
running sh /script/cleanup  working
all services restarted OK
/home/vpopmail/bin/vdominfo give What Now-Success

I try to add mail account through kloxo panel
but receiving same error
add mail account failed

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: mail problems
« Reply #20 on: 2015-04-20, 06:28:19 »
Run vdominfo will appear domain list of mail. So, still appear 'what now -succes' that still trouble (add mail will be trouble).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: mail problems
« Reply #21 on: 2015-04-21, 02:26:50 »
okay so i was able to fix this by running the command:
/home/vpopmail/bin/vadddomain example.com
and adding each domain manually.
/home/vpopmail/bin/vdominfo now showing all domains
restart qmail service, now add mailaccount working in kloxo mr!
« Last Edit: 2015-04-21, 02:30:48 by sunderfall »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: mail problems
« Reply #22 on: 2015-04-21, 02:47:20 »
Good job but it's weird because running fixmail-all must fix missing email account in vpopmail.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: mail problems
« Reply #23 on: 2015-04-21, 17:11:06 »
still have one problem with webmail not able to connect to sql db.
i tried a few things already:

sh/ script/fixmail
sh/ script/fixmail-all
sh/ script/fix-all

sadly not resolved.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: mail problems
« Reply #24 on: 2015-04-21, 17:17:42 »
All webmail not work?. Please make clear description.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: mail problems
« Reply #25 on: 2015-04-21, 17:51:26 »
ok i partially fixed it!
squirrelmail work, but i dont like this one
preferable use rainloop or roundcube


roundcube give error
DATABASE ERROR: CONNECTION FAILED!
i see in phpmyadmin that roundcubemail db exist but no tables created.


for rainloop, give this error:
Domain is not allowed
i se in phpmyadmin that no rainloop db exists


i run command sh/script/fixwebmail
roundcube db updated with tables
but no rainloop db created

roundcube now working.
rainloop not working.


can use roundcube is okay for me,
but why rainloop not work?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: mail problems
« Reply #26 on: 2015-04-21, 17:54:33 »
Rainloop not full free software. You need register domain to them.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: mail problems
« Reply #27 on: 2015-04-22, 04:42:12 »
okay still some issues:

one account on domain example.com working

other accounts on same domain working but cant delete email:
Server Error: UID COPY: Mailbox does not exist.

other issue, i set SMTP relay for server of my ISP, but it doesnt seem the emails are being forwarded.
im still getting bouncebacks if they are being sent directly.
and i am to send/recieve emails on some servers so its working, but need to use my isp server.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: mail problems
« Reply #28 on: 2015-04-22, 06:10:45 »
Try delete mail account and then create again.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: mail problems
« Reply #29 on: 2015-04-22, 21:33:47 »
hi, delete account and add again doesnt work.
tried this before i posted.


also need know where to find the config files for qmail?
SMTP relay not working :/

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.05 seconds with 18 queries.

web stats analysis