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.
Dears,
I'm running SUSE linux Server version 11. I want to configure mail server with postfix & cyrus-imap. For that, i have read many documents in Internet by i met issues. I'm running DNS in this server & it's ok
Now I cannont send mail through command line.
Dears,
I'm running SUSE linux Server version 11. I want to configure mail server with postfix & cyrus-imap. For that, i have read many documents in Internet by i met issues. I'm running DNS in this server & it's ok
Now I cannont send mail through command line.
please i'm waiting for reply.
Thanks.
Well, if you don't tell us what problems/errors you're seeing, how can we help?? All you've told us is that you can't send mail.
Post what you're seeing, what problems you're having, and details about your environment.
First of all, you DON'T create the mailbox of the user yourself. Postfix does it when it detects mail for that user. It will look for the folder and create it if it's missing. The reason why is because you have the mailbox configuration left blank in your main.cf:
Code:
home_mailbox = mail/
Make sure you correct your setting with what I posted above and that will resolve your mailbox issue. You just left it blank so Postfix didn't know how to handle / route messages. Also as stated before, never just paste your 'main.cf' as you did, you need to post the output of 'postconf -n' instead. Also logs from '/var/log/mail.log' are extremely helpful especially when you tell us what's not working.
His problems are deeper than this. He has followed a tutorial but he still does not understand how to set up Postfix.
If he puts his mail server into production with this little understanding he will not be able to support it. He needs to start with a basic server and move forward from there.
I agree. Your configuration is a mess and I don't like or recommend SuSE but that's another completely different thread. You need to start basic and build on a basic "working" configuration. I recommend you scrap your configuration and start fresh but I just gave you a quick answer above to your symptom which was it didn't create your users mailbox directory.
Your message is unclear. Are you saying that you fixed the problem(s) or that you are still having problems? Simply posting a dump from your main.cf file tells us almost nothing. It looks like you have made some attempt to clean up your installation in the last few weeks, which is good. The problem of "I can't send mail" is just too vague and broad of a problem with too many causes for us to even tell you where to begin. You will need to begin addressing the issues, one at a time.
In order to do this you will need to identify what the errors are. You will need to examine your log files for this, e.g. mail.log and syslog. What happens when you try to restart postfix and or cyrus? What happens when you try to send mail or receive mail?
Also, we may need to know more about your configuration. What type of setup are you going for? Are you using virtual hosts or user accounts? Are you using a database backend? If so, what database.
From both personal experience and from the content of several forum threads, I can assure you that Jamrock is correct in that following a how-to document will never result in a successful mail server installation. You NEED to develop a better understanding of what you are doing. You appear to have taken steps towards this by reading. Do you have any questions regarding the material you have read that perhaps we could help to answer?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.