HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   ISPConfig - receivng mails from external not working (http://www.howtoforge.com/forums/showthread.php?t=8626)

gallen 29th November 2006 10:29

ISPConfig - receivng mails from external not working
 
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/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 "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.

till 30th November 2006 10:17

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


All times are GMT +2. The time now is 09:16.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.