1

Topic: iRedMail.sh install SpamAssassin error License AL2 needs confirmation

==== Required information ====
- iRedMail version: iRedMail-0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: FreeBSD 10
- Related log if you're reporting an issue: My log follow
====
Hello, I just run a fresh FreeBSD with # bash iRedMail.sh
And I get this Error code 1
What I must do ?

Regards.
-------------------------------- MY LOG ---------------------------------------------------
< INFO > Installing port: mail/p5-Mail-SpamAssassin (2014-03-12 19:50:33) ...
===>  Cleaning for p5-Mail-SpamAssassin-3.3.2_8
===>  p5-Mail-SpamAssassin-3.3.2_8 License AL2 needs confirmation, but BATCH is defined.
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/p5-Mail-SpamAssassin
< ERROR > Port was not success installed, please fix it manually and then re-execute this script.
root@bluebox:~/iRedMail-0.8.6 #
-------------------------------- END OF MY LOG ---------------------------------------------------

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail.sh install SpamAssassin error License AL2 needs confirmation

I tried to install manually spamassasin 3.3.2_8 with ports

# cd /usr/ports/mail/p5-Mail-SpamAssassin
# make install

I get the message dialog box asking confirmation for licence AL2
I answered.. fine.

Then I tried to reinstall IredMail 0.8.6
# bash iRedMail.sh

I get the same error..

-------------------------------- MY LOG ---------------------------------------------------
< INFO > Installing port: mail/p5-Mail-SpamAssassin (2014-03-12 19:50:33) ...
===>  Cleaning for p5-Mail-SpamAssassin-3.3.2_8
===>  p5-Mail-SpamAssassin-3.3.2_8 License AL2 needs confirmation, but BATCH is defined.
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/p5-Mail-SpamAssassin
< ERROR > Port was not success installed, please fix it manually and then re-execute this script.
root@bluebox:~/iRedMail-0.8.6 #
-------------------------------- END OF MY LOG ---------------------------------------------------

debut mode does'nt help me too..
# bash iRedMail.sh -x

Maybe the port make file must be changed in order to avoid display message AL2 licence ? how to do that ?

3

Re: iRedMail.sh install SpamAssassin error License AL2 needs confirmation

Add below line in /root/iRedMail-0.8.6/.status:

export status_install_port_japanese_p5_Mail_SpamAssassin='DONE'

Then execute "bash iRedMail.sh" again.

4

Re: iRedMail.sh install SpamAssassin error License AL2 needs confirmation

Hello ZhangHunangbin

I added your line below the file
but my installation bash iRedMail.sh still fail.
I get error

- - - - - - - - - Log File of .status - - - - - - - - -
export status_install_port_security_gnupg='DONE'  # 34 seconds, ~0 minute(s)
export status_install_port_dns_p5NetDNS='processing'
export status_install_port_dns_p5NetDNS='processing'
export status_install_port_dns_p5NetDNS='DONE'  # 3 seconds, ~0 minute(s)
export status_install_port_mail_p5MailSpamAssassin='processing'
export status_install_port_japanese_p5_Mail_SpamAssassin='DONE'

- - - - - - - - - - - - install log of #bash iRedMail.sh - - - - - - - - - - -  -
< SKIP > Installing port: dns/p5-Net-DNS.
< INFO > Installing port: mail/p5-Mail-SpamAssassin (2014-03-13 15:29:20) ...
===>  Cleaning for p5-Mail-SpamAssassin-3.3.2_8
===>  p5-Mail-SpamAssassin-3.3.2_8 License AL2 needs confirmation, but BATCH is defined.
*** Error code 1
Stop.
make: stopped in /usr/ports/mail/p5-Mail-SpamAssassin

5

Re: iRedMail.sh install SpamAssassin error License AL2 needs confirmation

Ok everything is fine.. I trowed my FreeBSD to the trash...
installation on a fresh CENT OS was really easy !
My iRedMail run smothly..
Wow great product, really pro. I love it.
Now I stard to install my Admin licence :-)
Regards

6

Re: iRedMail.sh install SpamAssassin error License AL2 needs confirmation

Oops, my mistake, it should be:

export status_install_port_mail_p5MailSpamAssassin='DONE'