Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hi all
being my 1st post I hope I am in the correct place. I have a new Vserver install running CentOS 5, which appears to be using postfix instead of sendmail which I am more used to. I am also getting used to using plesk 9.2.2 as previously I have done everything from the command line.
I am thinking I am either missing something obvious in plesk, or I need to modify postfix configuration files further but drawing a blank at present. If anyone can point me in the right direction it would be appreciated.
Try this: create a file named .forward in the home directory of root and containing the destination email.
Code:
me@somedomain.com
.
Then restart postfix and check if it works by sending a mail to root. That is if your postfix is configured to send out mail to another MTA. For this you'll have to check the main.cf file in the /etc/postfix directory (not sure if it's located there on CentOS, this is the location on Debian based distros and might differ on CentOS).
Try this: create a file named .forward in the home directory of root and containing the destination email.
Code:
me@somedomain.com
.
Then restart postfix and check if it works by sending a mail to root.
Tried that, I am not convinced that 'root@mylocalhost.mylocaldomain' has a mailbox, since if i login as root and try go to mail then it does not exists.
Quote:
That is if your postfix is configured to send out mail to another MTA.
My assumption is that postfix is the only MTA however qmail does appear to be on the system I think....
Quote:
For this you'll have to check the main.cf file in the /etc/postfix directory (not sure if it's located there on CentOS, this is the location on Debian based distros and might differ on CentOS).
Kind regards,
Eric
Not knowing about postfix enough is perhaps my problem, also plesk seems to do many things with executables or at least moves some of the default postfix files involved (could be mistaken tho).
I could get round it perhaps? by adding a subdomain in Plesk based on the hostname and setting up a catch all rule to deliver mail from the host to my 'root@mydomain.com' but I am not sure if thats the best method.
There is a link I found which suggests a bug but only applies to plesk 9.0.1 from what i understand I am on 9.2.2 I believe.
I do not think the above bug applies since I see mail going to 'root@correcthost.correctdomain.com' its the host thing thats messing things up.
I guess 1 option would be to change the "system" roots email address from 'root@correcthost.correctdomain.com' to 'root@correctdomain.com' instead (hope this makes sence)
System was a MailDir format, under a qmail directory but postfix is the MTA. Messages are being delivered through the postfix local delivery process. root mail was being delivered to the plesk administrator through back end rules setup in plesk.
Closing this as just my understanding if how plesk/postfix works
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.