Score:0

Postfix mail server not sending email

fr flag

I had a postfix server that I had to restore from a backup and deploy onto a new server. Using the new server, the domain name is not allowing me to send email. I am able to receive emails but sending them just never delivers them to the receiver. How can I troubleshoot and solve this issue? Thanks!

Paul avatar
cn flag
You might first start with `/var/log/mail.log` and `/var/log/mail.err`.
Python 123 avatar
fr flag
I checked mail.log and none of the test emails were displayed there
cn flag
Bob
That would certainly be a good thing to follow up on. Why are your test messages not logged?
Thilo Schwarz avatar
in flag
How did you test the sending of emails? I would suggest to do it by command line, e.g. this sends a mail to root: ```echo -e "Subject:I am a test email \n\n ... with a body\n" | sendmail -v```. This could be a good start for further investigations.
Python 123 avatar
fr flag
I can send email fine using a send function I developed with SMTPlib in one python program but it stops sending mail in another for some reason
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.