| Linode Forum https://forum.linode.com/ |
|
| Using sendmail to receive mail sent to IP address? https://forum.linode.com/viewtopic.php?f=11&t=10639 |
Page 1 of 1 |
| Author: | jjatbull [ Fri Nov 22, 2013 11:52 am ] |
| Post subject: | Using sendmail to receive mail sent to IP address? |
I have a Linode that has sendmail installed (to send email from PHP scripts, etc.) with no other MTA installed. Since all mail to our domain is handled by a mailserver outside my control, I need to be able to send email to the Linode by using it's IP address. This email will in turn be piped through a PHP script for archival purposes - so I don't need to worry about setting up a web email service, various mailboxes, etc. What is the simplest way to do this? I tried using the instructions at http://www.ghacks.net/2009/06/05/make-s ... l-sources/ (substituting the IP address in place of the domain name) but it did not work - mail sent to webmaster@xx.xx.xx.xx was not received. Nothing happened when tailing the mail.log. Ideas? |
|
| Author: | vonskippy [ Fri Nov 22, 2013 2:19 pm ] |
| Post subject: | Re: Using sendmail to receive mail sent to IP address? |
jjatbull wrote: What is the simplest way to do this? Get a second domain (one that you control). Use that to send emails to your Linode. Don't even really need to register the name, just use a host file on the system(s) that will be sending email to your Linode. Then every howto instructions on setting up email should work. |
|
| Author: | jjatbull [ Fri Nov 22, 2013 2:30 pm ] |
| Post subject: | Re: Using sendmail to receive mail sent to IP address? |
I'll have to register the domain, since I also don't control the system sending the email - but yes, that is probably the simplest way of going about it. Thanks VonSkippy! |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|