Apache virtual host send email without email server
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.
Apache virtual host send email without email server
Hello all,
Debian 5, apache 2.2
I've got Apache up and hosting multiple sites. Each site will have a php contact me page that will simply dump an email to a fixed address. What program should i be using to accomplish this? I've used nullmailer before but that assumes you have a fixed smarthost somewhere which I don't. Can anyone point me in the right direction. Thanks!
Agreed, Postfix (or EXIM the default Debian Mailer), and configure as Internet site when prompted. shouldn't need to do anything else with it in the way of configuration.
That's the direction I think I needed. I installed nullmailer on the box. I'm guessing I'll just blow away that installation and just apt postfix and you're saying it should prompt me to install as "internet site". I'll give that a shot and let you know. Thanks.
Yup, when installing postfix it will automatically setup correctly for you to send email from the local machine only when you select 'Internet Site' configuration.
Make sure your hostname is correct and resolvable, otherwise the machine may end up as an unknown site for strict resolvability. It's not a big deal, you just have to ensure the files /etc/hostname and /etc/resolv.conf are setup correctly prior to installing postfix.
If you've any other issues, post here and we'll help...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.