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 "email@example.com", 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 "firstname.lastname@example.org", 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[188.8.131.52]
Nov 29 19:08:53 hosting01 postfix/smtpd: 469203FA402: client=mail.mytelecom.com.au[184.108.40.206]
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=<email@example.com>, size=1690, nrcpt=1 (queue active)
Nov 29 19:08:53 hosting01 postfix/smtpd: disconnect from mail.mytelecom.com.au[220.127.116.11]
Nov 29 19:08:53 hosting01 postfix/smtp: 469203FA402: to=<firstname.lastname@example.org>, orig_to=<email@example.com>, relay=mail.mytelecom.net.au[18.104.22.168], 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)?