Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I don't know what's the problem, I contacted our ISP and they said that they are not blocking any ports. I also contacted our domain host they said the same thing. The email server is in our office(btw).
The outgoing mail has no problem. It can send emails anywhere. The problem is incoming mail we cannot receive any mail. I'm always testing emails but I still cannot receive anything to our company mail.
"Recipient address rejected: Destination .PH Domain does not exist or has expired. Please check for typographical errors in the recipient email address. [RCPT_TO]"
This was sent to my yahoo mail whenever I test email to our company mail. That's why I contacted our domain host and they said that there's no problem with our account. And they said check our mail servers and firewall.
So please help me with my problem.
Thanks in advance.
Last edited by willcastle; 09-23-2010 at 11:59 PM.
Sorry about the -aux thing. My system (ubuntu) complains when you put the - in there, though it does list it in the help (???)
Anyway, to recap what we know so far: your ISP is not blocking the ports, you are not being blocked by a firewall (Iptables) and you have applications listening on ports 25 and 110. This is all good and necessary in order for your mail system to work. There are just a lot of different things that need to be checked because mail servers are pretty complex setups. At this point it looks like you have a mis configured server, which is where we need to start looking.
The mail receive function in postfix can also be a bit complex due to its flexibility. You can have both virtual users and system users. as well as multiple forms of delivery. There are also multiple ways you can specify the list of users: you can put it in recipient hash or you can use a database lookup. At this point, the error message you received looks like you tried to send mail to an invalid user, at least as far as postfix is concerned. There are two pieces of information that would be valuable to us at this point in helping to figure out what is going on, your main.cf (possibly master.cf too) and an excerpt from your postfix log showing what is happening. The main.cf file specifies things like who you should receive mail for, any aliases, your domains, etc and the postfix log should help show what the problem is. Since you have an application listening on port 25, you don't have a gross error that is sever enough to keep it from running, but you may have something keeping it from properly receiving.
I would suggest the following: 1 - restart postfix and dovecot and look at your syslog and mail.log. Typically these are in a place like /var/log, but there may be some variation. See if there are any error or warning messages towards the bottom. The entries are time and date stamped as well as listed with the application so you should be able to see the entries related to your actions. If you see anything 'interesting' please post it. Second, try to send yourself a message. Then look at the new entries in mail.log and post them. You will probably have some sort of error codes there. Next please post your main.cf file. Please put it between "code" tags, the words code and /code in s.
[root@porto ~]# postfix start
/postfix-script: warning: not owned by root: /etc/postfix/mysql_relay_domains_maps.cf
/postfix-script: warning: not owned by root: /etc/postfix/mysql_virtual_alias_maps.cf
/postfix-script: warning: not owned by root: /etc/postfix/mysql_virtual_domains_maps.cf
/postfix-script: warning: not owned by root: /etc/postfix/mysql_virtual_mailbox_limits_maps.cf
/postfix-script: warning: not owned by root: /etc/postfix/mysql_virtual_mailbox_maps.cf
/postfix-script: starting the Postfix mail system
[root@porto ~]# service dovecot restart
Stopping Dovecot Imap: [ OK ]
Starting Dovecot Imap: Warning: mail_extra_groups setting was often used insecurely so it is now deprecated, use mail_access_groups or mail_privileged_group instead
[ OK ]
You said that people were able to get their mail is that correct? If so the dovecot stuff should be working and let's concentrate on postfix. Let's look at `tail -n1000 /var/log/maillog | grep -v dovecot`.
Where are your clients when they can't deliver mail through your server? Is it possible that port 25 is being blocked by their remote network administrators? Have you enabled and configured your clients to use the submission port 587?
Here in our office. And we have branches in the province so they need to send mails here in the office. The problem is whenever I configure their emails(Outlook 2003) an error apperears. "The specified server was found but the connection has failed...etc".