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.
Step 1 is to get postfix running OK without any extras - virtual users, certificates, etc. You can then add these one at a time, checking along the way.
What do you mean by an no-IP domain? Do you mean that you have a domain but haven't set up a nameserver for it, or you have a dynamic IP? In either case you can use zoneedit.com or dyndns.com respectively.
Beyond that, have you looked at www.postfix.org? What's your distro, etc., etc..
Remember, the log files are your friend here - postfix tells you plenty when things go wrong
Last edited by billymayday; 02-01-2007 at 11:19 PM.
S0106001839d6ad0b.vc.shawcable.net is my hostname.
And I put it in under the MX records.
I have looked under posftix.org, but I find a lot of the things confusing.
When they make a change they should show how it relates to the entire configuration. Not just a small section.
Anyway. I have to figure out how to "create" domains.
Like since my hostname is S0106001839d6ad0b.vc.shawcable.net and the domain i have with no-ip is example1.serveftp.com, how would the email domains look?
OK, so postfix is working in basic form which is good.
By users, I meant users with accounts on the linux box. It doesn't really matter a whole lot, but valid users are a bit simpler.
What I'd suggestr is to get a basic virtual setup working without anything fancy like TLS or MySQL.
Have you tried following the examples on the virtual readme above?
When you say the MX for example.serveftp.com that's your hostname, do you mean an external MX that my mailserver would be able to find or one on your machine? I assume the former
Before you start, you will need to decide/do a couple of things.
1. Do you want mbox or maildir format mailboxes
2. Decide where you want the mailboxes. Typical would be something like /var/mail/vhosts/example1.serveftp.com/test
3. Create a user to access the virtual account. This user doesn't need to be able to login or have a home directory. You will need it's uid and gid later, so note it down.
4. Create the directory in step 2 above. Make sure it's owner/group is the one from step 3 (use chown to set it)
5. If you're using maildir, you may need to create some more directories. I use dovecot and have to pre-create new, cur and tmp directories under /var/mail/vhosts/example1.serveftp.com/test
6. Follow the steps in the guide url'ed above.
Note that you need to postmap /etc/postfix/virtual and vmailbox once you have created them
test@example1.serveftp.com example1.serveftp.com/test
# Comment out the entry below to implement a catch-all.
# @example.com example.com/catchall
...virtual mailboxes for more domains...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.