I have just setup an ISPConfig server, and everything is working fine except inbound email.
I used the Debian Perfect setup (http://www.projektfarm.com/en/suppor...rge/index.html
) , then a standard ISPConfig install.
The problem is that emails sent from outside to usernames in a hosted domain (in my case "thecubby.com.au"), are relayed back to our other mailserver for no apparent reason. Eg: mail is sent from an external system to "firstname.lastname@example.org", the email is forwarded to the ISPConfig server "hosting01" by our other mailserver "mail.mytelecom.com.au", all looking good. Then, the recipient is expanded to be the ISPConfig created username "myweb3_gallen" (correct I think), but, the domain is changed to "mail.mytelecom.net.au" (this seems wrong), such that the final destination is "email@example.com", which is then relayed back to our other email server and is later rejected, copy of log file from ISPConfig server below:
Nov 29 19:08:53 hosting01 postfix/smtpd: connect from mail.mytelecom.com.au[184.108.40.206]
Nov 29 19:08:53 hosting01 postfix/smtpd: 469203FA402: client=mail.mytelecom.com.au[220.127.116.11]
Nov 29 19:08:53 hosting01 postfix/cleanup: 469203FA402: message-id=<008b01c7138d$aafd1e20$33050a0a@gallent17gp>
Nov 29 19:08:53 hosting01 postfix/qmgr: 469203FA402: from=<firstname.lastname@example.org>, size=1690, nrcpt=1 (queue active)
Nov 29 19:08:53 hosting01 postfix/smtpd: disconnect from mail.mytelecom.com.au[18.104.22.168]
Nov 29 19:08:53 hosting01 postfix/smtp: 469203FA402: to=<email@example.com>, orig_to=<firstname.lastname@example.org>, relay=mail.mytelecom.net.au[22.214.171.124], delay=0, status=sent (250 2.0.0 Message received OK)
Nov 29 19:08:53 hosting01 postfix/qmgr: 469203FA402: removed
Can anyone give me some pointers as to why this is happening and how to solve it.
I did accidentally enter these two commands during the perfect setup:
postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command ='
But removed them from /etc/postfix/main.cf later and restarted postfix (could this be an issue)?