HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Mailing List - Email not sent to local emails. (http://www.howtoforge.com/forums/showthread.php?t=58674)

pvanthony 10th September 2012 13:42

Mailing List - Email not sent to local emails.
 
Problem 01.
Created a mailing list in ispconfig 3. The mailing list is called "support@example.com".

Went into the web admin to add emails into the mailing list. Added "user1@example.com", "user2@example.com", "external_user@external.com".

Then sent email to mailing list, "support@example.com".

The local users, like "user1@example.com" and "user2@example.com" cannot receive the email. The external email account, "external_user@external.com" can receive the email.

What did I do wrong? Is there some setting that I missed out?

Problem 02
Created another mailing list in ispconfig 3. This time to another domain and with the same name like "support@exampleAnotherDomain.com".

When going to the web admin for the mailing list, it goes to the previous mailing list with the same name "support" but a different domain like "support@example.com".

I suspect it is because of both mailing list having the same name called support.

Please advise how to resolve this issue.

I have also got the ispconfig 3 manual. Could not find the solution there. Did I miss it?

Please advice. Really need the help.

P.V.Anthony

falko 11th September 2012 09:18

Are there any errors in your mail log (in the /var/log/ directory)?

pvanthony 11th September 2012 17:07

Thank you for replying.

1. did a tail -F /var/log/maillog to watch it
2. set an email to support@example.com. Using example.com as an example.
3. the logs show that email was received.
4. the logs show that it was sending to the external email.
5. no errors in the log

I also checked /var/log/mailman and could not find any errors.

Checked /var/log/messages too and no errors.

Is there some other logs that I can check?

P.V.Anthony

pvanthony 12th September 2012 18:10

Here is more information.

Here is the strange thing. When I create a mailing list called "haha", it works fine. When I create a mailing list called "supportt" with the extra t, it works fine. Local and external emails get the emails.

When I create a mailling list called "sales" or "support", it does not work. Local emails cannot get the emails and external emails can get the emails.

Very strange. It must be something I did but I cannot remember where I have messed up.

Please advice what I can do to rectify this. Please help.

P.V.Anthony

pvanthony 13th September 2012 18:10

Solved for problem 01
 
The problem has been solved with the help from the mailman mailling list.

Here is what was done.

Checked the file /etc/aliases and there was an alias for sales and support going to postmaster. Commented them out and run the command newaliases. All is working great now!

Hope this is useful for others.

P.V.Anthony


All times are GMT +2. The time now is 02:01.

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