[IndiMail] IndiMail Installation for newbies in 10 steps

43 views
Skip to first unread message

Cprogrammer

unread,
Aug 2, 2015, 8:22:07 AM8/2/15
to indi...@googlegroups.com

    Installing IndiMail from RPM 1. Install OS SUSE o openSUSE 13.2 o openSUSE 13.1 o openSUSE 11.4 o openSUSE Tumbleweed o SUSE Linux Enterprise 12 o SUSE Linux Enterprise 11 SP4 o SUSE Linux Enterprise 11 SP3 o SUSE Linux Enterprise 11 SP2 o SUSE Linux Enterprise 11 SP1 o SUSE Linux Enterprise 11 o SUSE Linux Enterprise 10 o openSUSE Factory * Red Hat o Fedora 22 o Fedora 21 o Fedora 20 o Red Hat Enterprise Linux 7 o Red Hat Enterprise Linux 5 o Red Hat Enterprise Linux 6 o CentOS 7 o CentOS 6 o CentOS 5 * Debian o Debian 8.0 o Debian 7.0 o Debian 6.0 o Ubuntu 15.04 o Ubuntu 14.10 o Ubuntu 14.04 o Ubuntu 13.10 o Ubuntu 13.04 o Ubuntu 12.10 o Ubuntu 12.04 2. Determine if your OS is 32 bit or 64 Bit % uname -m The command will output i386, i586, i686 for 32 bit and x86_64 for 64 bit 3. Download the Repo correspoding to your OS from* http://sourceforge.net/projects/indimail/files/Repo/ e.g IndiMail-CentOS_5.repo for CentOS 5 and copy that to /etc/yum.repos.d % sudo cp IndiMail-CentOS_7.repo /etc/yum.repos.d/indimail.repo

    * for Debian Packages, you need to download the corresponding debian package for your OS from

    http://download.opensuse.org/repositories/home:/indimail 4. Execute the YUM command as per the output of uname command in step 2 % sudo yum install indimail.i386 (for 32 bit)
    % sudo yum install indimail.x86_64 (for 64 bit)

    * for debian packages, execute the command

    % dpkg -i indimail_version_i386.deb (for 32 bit)
    % dpkg -i indimail_version_amd64.deb (for 64 bit)
    The above should install IndiMail 5. Shutdown MySQL if already running and disable MySQL being started up by the system % /etc/init.d/mysqld stop % sudo chkconfig mysqld off % /bin/rm -f /service/mysql.3306/down
    6. Start IndiMail % sudo service indimail start 7. Check if everthing is fine by running the svstat command % sudo /var/indimail/bin/svstat /service/*
    /service/clamd: up (pid 1579) 1028 seconds /service/fetchmail: up (pid 1578) 1028 seconds /service/freshclam: up (pid 1584) 1028 seconds /service/greylist.1999: up (pid 1581) 1028 seconds /service/indisrvr.4000: up (pid 1570) 1028 seconds /service/inlookup.infifo: up (pid 1568) 1028 seconds /service/mysql.3306: up (pid 1555) 1029 seconds /service/proxy-imapd.4143: up (pid 1549) 1029 seconds /service/proxy-imapd-ssl.9143: up (pid 1548) 1029 seconds /service/proxy-pop3d.4110: up (pid 1554) 1029 seconds /service/proxy-pop3d-ssl.9110: up (pid 1583) 1028 seconds /service/pwdlookup: up (pid 1580) 1028 seconds /service/qmail-imapd.143: up (pid 1576) 1028 seconds /service/qmail-imapd-ssl.993: up (pid 1594) 1028 seconds /service/qmail-pop3d.110: up (pid 1597) 1028 seconds /service/qmail-pop3d-ssl.995: up (pid 1577) 1028 seconds /service/qmail-poppass.106: up (pid 1587) 1028 seconds /service/qmail-qmqpd.628: down 1029 seconds /service/qmail-qmtpd.209: up (pid 1564) 1029 seconds /service/qmail-send.25: up (pid 1553) 1029 seconds /service/qmail-smtpd.25: up (pid 1598) 1028 seconds /service/qmail-smtpd.366: up (pid 1565) 1029 seconds /service/qmail-smtpd.465: up (pid 1551) 1029 seconds /service/qmail-smtpd.587: up (pid 1559) 1029 seconds /service/qmail-spamlog: up (pid 1552) 1029 seconds /service/qscanq: up (pid 3802) 29 seconds
    8. Play with the system Add a domain % sudo /var/indimail/bin/vadddomain example.com password Add a user % sudo /var/indimail/bin/vadduser use...@example.com password Send an email using SMTP % swaks --to youremail@yourdomain --from use...@example.com --server localhost Inject a mail locally % cat /tmp/email.msg | mail -s "testing indimail" mbha...@gmail.com you@yourdomain 9. Set up your .bash_profile and RTFM PATH=$PATH:/var/indimail/bin:/var/indimail/sbin MANPATH=$MANPATH:/var/indimail/man % man indimail 10. Buy beer for Manvendra Bhangui 

    NOTE: The MySQL database gets installed with the user 'mysql' with all privileges and a user 'indimail' with limited privileges. You will find the passwords for these two users in the script /var/indimail/sbin/svctool. If you modify these, please don't forget to modify /var/indimail/control/host.mysql


--
Posted By Cprogrammer to IndiMail at 7/05/2011 07:51:00 PM

Cprogrammer

unread,
Aug 2, 2015, 8:38:46 AM8/2/15
to indi...@googlegroups.com

    Installing IndiMail from RPM 1. Install OS SUSE o openSUSE 13.2 o openSUSE 13.1 o openSUSE 11.4 o openSUSE Tumbleweed o SUSE Linux Enterprise 12 o SUSE Linux Enterprise 11 SP4 o SUSE Linux Enterprise 11 SP3 o SUSE Linux Enterprise 11 SP2 o SUSE Linux Enterprise 11 SP1 o SUSE Linux Enterprise 11 o SUSE Linux Enterprise 10 o openSUSE Factory * Red Hat o Fedora 22 o Fedora 21 o Fedora 20 o Red Hat Enterprise Linux 7 o Red Hat Enterprise Linux 5 o Red Hat Enterprise Linux 6 o CentOS 7 o CentOS 6 o CentOS 5 * Debian o Debian 8.0 o Debian 7.0 o Debian 6.0 o Ubuntu 15.04 o Ubuntu 14.10 o Ubuntu 14.04 o Ubuntu 13.10 o Ubuntu 13.04 o Ubuntu 12.10 o Ubuntu 12.04 2. Determine if your OS is 32 bit or 64 Bit % uname -m The command will output i386, i586, i686 for 32 bit and x86_64 for 64 bit 3. Download the Repo correspoding to your OS from* http://sourceforge.net/projects/indimail/files/Repo/ e.g Indimail-CentOS7.repo for CentOS 7 and copy that to /etc/yum.repos.d % sudo cp IndiMail-CentOS_7.repo /etc/yum.repos.d/indimail.repo
    % sudo yum install indimail.x86_64 (for 64 bit)

    * for debian packages, execute the command

    % dpkg -i indimail_version_i386.deb (for 32 bit)
    % dpkg -i indimail_version_amd64.deb (for 64 bit)
    The above should install IndiMail 5. Shutdown MySQL if already running and disable MySQL being started up by the system % /etc/init.d/mysqld stop % sudo chkconfig mysqld off % /bin/rm -f /service/mysql.3306/down
    6. Start IndiMail % sudo service indimail start 7. Check if everthing is fine by running the svstat command % sudo /var/indimail/bin/svstat /service/*
    /service/clamd: up (pid 1579) 1028 seconds /service/fetchmail: up (pid 1578) 1028 seconds /service/freshclam: up (pid 1584) 1028 seconds /service/greylist.1999: up (pid 1581) 1028 seconds /service/indisrvr.4000: up (pid 1570) 1028 seconds /service/inlookup.infifo: up (pid 1568) 1028 seconds /service/mysql.3306: up (pid 1555) 1029 seconds /service/proxy-imapd.4143: up (pid 1549) 1029 seconds /service/proxy-imapd-ssl.9143: up (pid 1548) 1029 seconds /service/proxy-pop3d.4110: up (pid 1554) 1029 seconds /service/proxy-pop3d-ssl.9110: up (pid 1583) 1028 seconds /service/pwdlookup: up (pid 1580) 1028 seconds /service/qmail-imapd.143: up (pid 1576) 1028 seconds /service/qmail-imapd-ssl.993: up (pid 1594) 1028 seconds /service/qmail-pop3d.110: up (pid 1597) 1028 seconds /service/qmail-pop3d-ssl.995: up (pid 1577) 1028 seconds /service/qmail-poppass.106: up (pid 1587) 1028 seconds /service/qmail-qmqpd.628: down 1029 seconds /service/qmail-qmtpd.209: up (pid 1564) 1029 seconds /service/qmail-send.25: up (pid 1553) 1029 seconds /service/qmail-smtpd.25: up (pid 1598) 1028 seconds /service/qmail-smtpd.366: up (pid 1565) 1029 seconds /service/qmail-smtpd.465: up (pid 1551) 1029 seconds /service/qmail-smtpd.587: up (pid 1559) 1029 seconds /service/qmail-spamlog: up (pid 1552) 1029 seconds /service/qscanq: up (pid 3802) 29 seconds
    8. Play with the system Add a domain % sudo /var/indimail/bin/vadddomain example.com password Add a user % sudo /var/indimail/bin/vadduser use...@example.com password Send an email using SMTP % swaks --to youremail@yourdomain --from use...@example.com --server localhost Inject a mail locally % cat /tmp/email.msg | mail -s "testing indimail" mbha...@gmail.com you@yourdomain 9. Set up your .bash_profile and RTFM PATH=$PATH:/var/indimail/bin:/var/indimail/sbin MANPATH=$MANPATH:/var/indimail/man % man indimail 10. Buy beer for Manvendra Bhangui 

    NOTE: The MySQL database gets installed with the user 'mysql' with all privileges and a user 'indimail' with limited privileges. You will find the passwords for these two users in the script /var/indimail/sbin/svctool. If you modify these, please don't forget to modify /var/indimail/control/host.mysql
Reply all
Reply to author
Forward
0 new messages