ISPConfig - receivng mails from external not working

Discussion in 'Server Operation' started by gallen, Nov 29, 2006.

  1. gallen

    gallen New Member

    Hi All,

    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/support/howto/perfect_setup_debian_sarge/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 "gallen@thecubby.com.au", 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 "myweb3_gallen@mail.mytelecom.net.au", 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[2249]: connect from mail.mytelecom.com.au[203.153.192.6]
    Nov 29 19:08:53 hosting01 postfix/smtpd[2249]: 469203FA402: client=mail.mytelecom.com.au[203.153.192.6]
    Nov 29 19:08:53 hosting01 postfix/cleanup[2252]: 469203FA402: message-id=<008b01c7138d$aafd1e20$33050a0a@gallent17gp>
    Nov 29 19:08:53 hosting01 postfix/qmgr[2242]: 469203FA402: from=<gallen@mytelecom.com.au>, size=1690, nrcpt=1 (queue active)
    Nov 29 19:08:53 hosting01 postfix/smtpd[2249]: disconnect from mail.mytelecom.com.au[203.153.192.6]
    Nov 29 19:08:53 hosting01 postfix/smtp[2254]: 469203FA402: to=<myweb3_gallen@mail.mytelecom.net.au>, orig_to=<gallen@thecubby.com.au>, relay=mail.mytelecom.net.au[203.153.192.6], delay=0, status=sent (250 2.0.0 Message received OK)
    Nov 29 19:08:53 hosting01 postfix/qmgr[2242]: 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)?

    Regards,
    Graeme.
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Is the domain that shall receive the mails listed in /etc/postfix/local-host-names ?
     

Share This Page