Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 9935  / 1 Year ago, mon, january 9, 2023, 4:33:23

I've been trying to configure the mail() function for 3 days by now, and I'm running out of ideas.

I've installed and configured postfix as a satellite, following this guide: How to have my PHP Send mail? but it seems I lack the file /etc/postfix/sender_canonical (and of course I have no idea of what to put inside it). By now this is the only clue I have about the problem...

I'm trying to run it on Ubuntu 12.04 laptop, built with x32 architecture.




EDIT: After a few iterations of apt-get purge and apt-get install, mail() started to return true, the error log has stopped growing so it seems all ok, but no mail managed to reach my inbox, not even as spam.


More From » 12.04

 Answers
5

This might be overkill for what you want, but following the directions here:



https://help.ubuntu.com/community/Postfix



and literally just copy pasting all commands and following the directions carefully should get you there.



I run 12.04 on three different systems and have set all of them up this way - i've had zero problems with mail().



I'm still a bit of a newbie at this, so like i said - it might be overkill for what you need. Hope it helps though.


[#32077] Tuesday, January 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
chilgirlguid

Total Points: 123
Total Questions: 114
Total Answers: 121

Location: Macau
Member since Mon, Nov 16, 2020
4 Years ago
;