Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a newbie in this thing constructing a mail server. So far I have successfully installed postfix and dovecot in centOS 6.4 and been sending and receiving mails locally .Now I'm tasked with the next problem which is that I need to send emails to other domains such as yahoo, and ofcourse receive mail from other server domains as well (but i know its a lot more complicated to receive mails from outside the local network because of IP issues).
BTW I'm using squirrelmail as a mail GUI for practice. When im sending emails to my yahoo account, squirrel mail shows me this error message
" Transaction failed
554 5.7.1 <email account here>: Relay access denied "
plus the maillog updates are always like this, even though im just checking the sent folder or inbox or whatsoever.
Is "rolf" a system user?
which IP is squirrelmail connecting to?
can you post a little more from /var/log/maillog and the log from dovecot in an instance of trying to send an e-mail to an external domain?
Now we only need to check the maillog file just to be sure.
I need to do the following test, in a terminal screen execute the following command:
# su -rolf (press enter)
$ mail email@gmail.com -s "test from CLI at xxx time" (press enter)
This is a test. (press enter)
.(press enter)
cc: (press enter)
where i wrote "email@gmail.com" you must write your own testing gmail account.
then execute the following command:
tail -50 /var/log/maillog
And finally post the output of the last command here.
Good Luck.
Last edited by siremaxus; 05-09-2013 at 06:31 AM.
Reason: added info
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.