LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-15-2022, 11:21 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 658

Rep: Reputation: 35
Question [Postfix] Configure Postfix at home as SMTP relay?


Hello,

I'm helping someone with a phpBB forum application sitting on a shared host that isn't sending email as expected – no email is coming out through either PHP's mail() function or the hoster's SMTP server, with no error message.

Since it's shared and I'm not allowed to SSH to it, I can't check the server's /var/log/messages.

So… as a way to check if the application is actually connecting out to send emails, I'd like to set up a Postfix server on a Debian computer at home behind an ADSL router, to act as a relay between phpBB on the hoster's site, and my ISP's SMTP server, ie.

phpBB on hosted server → Internet → my ADSL router → home Debian computer with Postfix → back to the Internet → my ISP's SMTP server → final target SMTP server → POP3.

How would I configure Postfix's /etc/postfix/main.cf or master.cf for that purpose?

For instance, I don't know what domain name I should use ("mydomain"), since it's just a server at home on a private network (192.168.x.y)

Thanks for any help

Last edited by littlebigman; 10-15-2022 at 11:22 AM.
 
Old 10-15-2022, 06:53 PM   #2
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,416
Blog Entries: 43

Rep: Reputation: 36
There is a very good book called "using sendmail", if I remember correctly. Sorry for the long answer, but I recommend buying this book. Also, I recommend not using Debian for this, if you can. I recommend either the OpenSuSe distro, which has YaST, or the Mageia distro, which has server wizards. Once you get a configuration from that, save it, and then you have a start to just modify. You DO have to install GUIs, for these tools.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Configure Postfix SMTP Relay with sender_canonical_maps synner Linux - Server 1 05-28-2018 03:36 AM
SMTP newbie queries: #< #5.3.5 SMTP; 553 5.3.5 system config error> #SMTP# LYC Linux - Newbie 0 12-04-2014 12:45 AM
LXer: How to configure postfix as smtp relay for Gmail on Archlinux LXer Syndicated Linux News 0 01-04-2013 06:10 AM
SMTP "open relay" and SMTP AUTH aikempshall Linux - Security 3 10-11-2006 08:19 AM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration