Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-15-2022, 12:21 PM   #1
Registered: Aug 2008
Location: France
Posts: 656

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


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/ or 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 12:22 PM.
Old 10-15-2022, 07:53 PM   #2
Senior Member
Registered: Sep 2006
Posts: 1,365
Blog Entries: 43

Rep: Reputation: 32
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:36 AM
SMTP newbie queries: #< #5.3.5 SMTP; 553 5.3.5 system config error> #SMTP# LYC Linux - Newbie 0 12-04-2014 01:45 AM
LXer: How to configure postfix as smtp relay for Gmail on Archlinux LXer Syndicated Linux News 0 01-04-2013 07:10 AM
SMTP "open relay" and SMTP AUTH aikempshall Linux - Security 3 10-11-2006 09:19 AM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 08:15 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:29 AM.

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