PDA

View Full Version : email: loops back to myself


andlo
11th August 2005, 11:07
I am testing ISPConfig on Mandrake 10.2, and followed the perfekt (and it is perfect) guide.

Only differende is that the server also is acting as a firewall and router for my LAN.

But I cant get emails working.

Persons sending to a emailadres on my ISPConfig is getting this message back from postfix:

<web2_otherdomain.dk@domain.dk> (expanded from <andlo@otherdomain.dk>): mail for domain.dk loops back to myself


I'll dont understand what is wrong...

/A :confused:

falko
11th August 2005, 11:23
I am testing ISPConfig on Mandrake 10.2, and followed the perfekt (and it is perfect) guide.

Only differende is that the server also is acting as a firewall and router for my LAN.

But I cant get emails working.

Persons sending to a emailadres on my ISPConfig is getting this message back from postfix:

<web2_otherdomain.dk@domain.dk> (expanded from <andlo@otherdomain.dk>): mail for domain.dk loops back to myself


I'll dont understand what is wrong...

/A :confused:

Put domain.dk at the end of /etc/postfix/local-host-names (after #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####) and restart Postfix:
/etc/init.d/postfix restart

andlo
11th August 2005, 11:49
Put domain.dk at the end of /etc/postfix/local-host-names (after #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####) and restart Postfix:
/etc/init.d/postfix restart

Better, but still no email komming throu :(

from /var/log/mail/info:

Aug 11 10:43:12 batman postfix/pickup[3722]: 745143369B: uid=10007 from=<web2_andlo>
Aug 11 10:43:12 batman postfix/cleanup[4128]: 745143369B: message-id=<20050811084312.745143369B@opensoft.dk>
Aug 11 10:43:12 batman postfix/local[4131]: F062333683: to=<web2_andlo@opensoft.dk>, orig_to=<andlo@sodemark.dk>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Aug 11 10:43:12 batman postfix/qmgr[3723]: F062333683: removed
Aug 11 10:43:12 batman postfix/qmgr[3723]: 745143369B: from=<web2_andlo@opensoft.dk>, size=359, nrcpt=1 (queue active)
Aug 11 10:43:12 batman postfix/local[4131]: 745143369B: to=<admispconfig@localhost.opensoft.dk>, orig_to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)

:confused:

till
11th August 2005, 11:59
Better, but still no email komming throu :(

from /var/log/mail/info:

Aug 11 10:43:12 batman postfix/pickup[3722]: 745143369B: uid=10007 from=<web2_andlo>
Aug 11 10:43:12 batman postfix/cleanup[4128]: 745143369B: message-id=<20050811084312.745143369B@opensoft.dk>
Aug 11 10:43:12 batman postfix/local[4131]: F062333683: to=<web2_andlo@opensoft.dk>, orig_to=<andlo@sodemark.dk>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Aug 11 10:43:12 batman postfix/qmgr[3723]: F062333683: removed
Aug 11 10:43:12 batman postfix/qmgr[3723]: 745143369B: from=<web2_andlo@opensoft.dk>, size=359, nrcpt=1 (queue active)
Aug 11 10:43:12 batman postfix/local[4131]: 745143369B: to=<admispconfig@localhost.opensoft.dk>, orig_to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)

:confused:


Have you selected the correct value for your server (Maildir or mailbox) in the
ISPConfig controlpanel settings?

andlo
11th August 2005, 12:04
Have you selected the correct value for your server (Maildir or mailbox) in the
ISPConfig controlpanel settings?

Yes and no....

What is the correct value ?

/A

till
11th August 2005, 12:06
Yes and no....

What is the correct value ?

/A

That depends on your server configuration. But as you dont receive any mail yet, yust change the value and try if you receive mail :) In most cases Maildir should work.

falko
11th August 2005, 12:08
Which POP3 daemon are you using?

andlo
11th August 2005, 12:15
Which POP3 daemon are you using?

ipop3

The mail is delivered to the users Maildir. But webmail'en cant see it.

falko
11th August 2005, 12:43
ipop3 is using mbox so you have to turn off Maildir in your ISPConfig web interface (Management -> Server -> Settings -> Email).

andlo
11th August 2005, 13:13
ipop3 is using mbox so you have to turn off Maildir in your ISPConfig web interface (Management -> Server -> Settings -> Email).

And now It works.

Thanks - and thanks for a pretty good system.

/A

roberto8080
22nd August 2005, 19:36
I am having the same problem, unfortunately the problem continues. The web server module seems to work OK and I can send e-mail but not receive them. It is possible that our hardware firewall could be provoking this? I am using Fedora Core 2 and followed as close as possible the Fedora Core 3 perfect setup (just changed accordingly, for example the reps). My pop daemon is ipop3.

My mail is bounced back like this (the local name of the machine is LinuxServer, and it is going to host many domains, currently it has only one domain which I dubbed here as mydomain.com):


This is the Postfix program at host LinuxServer.

I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the message returned below.

The Postfix program

<mydomain.com_postmaster@LinuxServer.LinuxServer>:
[linuxserver.linuxserver]: Name or service not known


Final-Recipient: rfc822; mydomain.com_postmaster@LinuxServer.LinuxServer
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; [linuxserver.linuxserver]: Name or service not
known

roberto8080
22nd August 2005, 20:33
Ok solved, my bad. Just changed the localname LinuxServer for my actual domain in my Linux box :)

Now working perfectly, you were right.