* yes the machine 2 has a MTA (sendmail)
* No, i don;t configure moodle to send email via iredmail. i use moodle just for web app in machine 2. and for some case i will use moodle to send email to machine 1 (iredmail) but iredmail can receive the email. (with other mail it can)
* There are no error log in my moodle and iredmail. this is the log after i reboot and test to send an email from mchine 2
A. This is the Moodle Log :
10.1.1.2 - - [10/Aug/2013:08:26:54 +0700] "-" 400 0 "-" "-"
10.1.1.2 - - [10/Aug/2013:08:26:54 +0700] "-" 400 0 "-" "-"
10.1.1.2 - - [10/Aug/2013:08:26:54 +0700] "-" 400 0 "-" "-"
10.1.1.2 - - [10/Aug/2013:08:26:59 +0700] "GET /login/forgot_password.php HTTP/1.1" 200 3857 "http://e-learning.ins1926.sch.id/login/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
10.1.1.2 - - [10/Aug/2013:08:27:04 +0700] "POST /login/forgot_password.php HTTP/1.1" 404 3369 "http://e-learning.ins1926.sch.id/login/ … ssword.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
10.1.1.2 - - [10/Aug/2013:08:27:05 +0700] "-" 400 0 "-" "-"
10.1.1.2 - - [10/Aug/2013:08:27:06 +0700] "-" 400 0 "-" "-"
10.1.1.2 - - [10/Aug/2013:08:27:06 +0700] "-" 400 0 "-" "-"
10.1.1.2 - - [10/Aug/2013:08:27:06 +0700] "-" 400 0 "-" "-"
10.1.1.2 - - [10/Aug/2013:08:27:06 +0700] "-" 400 0 "-" "-"
B. iredmail (mail.log)
Aug 10 08:19:57 mail amavis[1456]: Found decoder for .cab at /usr/bin/cabextract
Aug 10 08:19:57 mail amavis[1456]: No decoder for .tnef
Aug 10 08:19:57 mail amavis[1456]: Internal decoder for .tnef
Aug 10 08:19:57 mail amavis[1456]: Found decoder for .exe at /usr/bin/unrar-free; /usr/bin/arj
Aug 10 08:19:57 mail amavis[1456]: Using primary internal av scanner code for ClamAV-clamd
Aug 10 08:19:57 mail amavis[1456]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Aug 10 08:19:57 mail amavis[1456]: Deleting db files __db.003,__db.001,snmp.db,__db.004,__db.002,nanny.db in /var/lib/amavis/db
Aug 10 08:19:57 mail amavis[1456]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.51, libdb 5.1
Aug 10 08:20:11 mail postfix/master[2852]: daemon started -- version 2.9.6, configuration /etc/postfix
What Should I Do???