LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix mail delivery issue (https://www.linuxquestions.org/questions/linux-software-2/postfix-mail-delivery-issue-59454/)

kokke 05-12-2003 05:40 PM

Postfix mail delivery issue
 
Hello

I am setting up a SuSE 8.2 server with SuSEfirewall2, DHCPD, and Postfix. I am currently running a SuSE8.0 server on another server with a similar config, so I am not completely at a loss...

My problem is that I am only receiving mails to
"user@mail.domain.se" (which is also the hostname) and to
"user@virtualdomain.be" and to
"user@mail.virtualdomain.be".

In other words, I don't get mails to
"user@domain.se", which is the most important.

Local delivery of mails to "user@domain.se" works fine.

The forwarding set up in /etc/aliases works fine:
Mails to "user@virtualdomain.be" are forwarded to "user@domain.se" and to user@hotmail.com. (As intended.)

In /etc/main.cf the parameters are set to:
myhostname = mail.domain.se
mydomain = domain.se
mydestination = $myhostname, localhost.$mydomain, $mydomain,
www.$mydomain, ftp.$mydomain, mail.virtualdomain.be,
virtualdomain.be

Grateful for any help. Thanks in advance.

/Niclas

kokke 05-12-2003 05:44 PM

Hi again

I forgot to post the error message I get when sending from Hotmail:

This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

______ user@domain.se

Reporting-MTA: dns;hotmail.com
Received-From-MTA: dns;mail.hotmail.com
Arrival-Date: Mon, 12 May 2003 15:00:25 -0700

Final-Recipient: rfc822;user@domain.se
Action: failed
Status: 5.0.0
Diagnostic-Code: smtp;550 This address is not allowed

/Niclas

mcleodnine 05-13-2003 02:46 AM

Did you update the virtual db and the aliases after you made the changes to the respective control files?

kokke 05-13-2003 03:02 AM

Yes, with postmap /etc/postfix/virtual and postmap /etc/aliases and then postfix reload. I have even rebooted the server.

Mind that the virtual domain is working, local delivery is working and delivery to user@mail.domain.se is working.

Could it be a question of user rights? (Ie, should I have "su":ed user "postfix" and created any folders eg?)

Thanks anyway

/Niclas

mcleodnine 05-13-2003 03:12 AM

postalias /etc/aliases

kokke 05-13-2003 04:00 AM

I meant "newaliases". Yes, done that.

kokke 05-13-2003 05:50 AM

Problem solved
 
It seems that my DNS provider by mistake set the MX record to one of their own servers. This evening I will know if this is all of the solution to the problem.

Still the newbie...


All times are GMT -5. The time now is 07:40 AM.