PDA

View Full Version : Problem with email delivering


sur58
25th February 2008, 14:54
Hi,

I have 2 domains in ISPConfig: one is www.example.com and the other is www.example1.es

When i try to send an email to user@example1.es, it delivers to user@example.com

Can anyone help me?

Thank you very much...

Tomás

till
26th February 2008, 07:38
are these two domains independant websites or did you add them as co-domain?

sur58
26th February 2008, 09:00
Hi Till,

Thanks for your interest...

This two domains are independant websites...

The strange thing is that i have two more domains and it worked perfectly; the only difference is that all the domains are *.com except that one that fails with the email delivery: it is *.es

Thanks again

Tomás

falko
26th February 2008, 19:00
Is this maybe the problem? http://www.howtoforge.com/faq/9_33_en.html

Do you use the default user prefixes from ISPConfig (web...), or did you disable them?

sur58
27th February 2008, 09:40
Hi Falko...

Thanks for your interest

In /etc/postfix/main.cf i don't have $mydomain

and i disabled the user prefixes from ISPConfig...

Thanks again

Tomàs

falko
27th February 2008, 12:15
and i disabled the user prefixes from ISPConfig...

This is most likely the problem...

sur58
27th February 2008, 13:29
This is most likely the problem...


Can you explain me how to activate user prefixes in ISPConfig? This will affect the other users previousely created (that ones in the domain that work)?

Many thanks, Falko...

Tomas

falko
28th February 2008, 18:56
Can you explain me how to activate user prefixes in ISPConfig? Take a look here: http://www.howtoforge.com/faq/14_47_en.html

This will affect the other users previousely created (that ones in the domain that work)?

This will affect only new users.

sur58
28th February 2008, 19:51
I have activated user prefixes and created a new user in that domain. Now the user is web_17_xxxx. with an electronic address xxxx@domain2.es

But when i send an email to xxxx@domain2.es, it is delivered to yyyy@domain1.com.

Any ideas?

Thanks for your help...

Tomas

falko
29th February 2008, 14:13
Do you have a CatchAll account for domain1.com? Do you use domain1.com as mydomain or myhostname in /etc/postfix/main.cf?

sur58
29th February 2008, 16:03
Do you have a CatchAll account for domain1.com? Do you use domain1.com as mydomain or myhostname in /etc/postfix/main.cf?

It seems it's ok now...

Yes, i used domain1.com as myhostname in /etc/postfix/main.cf and xxx@domain2.es and yyy@domain1.com were marked as CathAll accounts

I've changed myhostname and mark xxx@domain2.es and yyy@domain1.com as normal accounts.

Everything works fine for now...

Many thanks for your help...

Tomas