Solved

Archlinux, can't send email anymore (using mail and postfix)

Posted on 2009-05-04
2
578 Views
Last Modified: 2012-05-06
Hi,

Last week I configured two servers to send log email after some cronjob run.

This week, I don't receive mail anymore from both servers. I take a look in my /var/log/mail.log .. nothing. I run this command manualy :
mail -s "Backup" email@domain.com < /home/backup/scripts/cronjob.txt

I did not receive any mail and I didn't receive any error in my shell.

I already take a look in my spam box... nothing

0
Comment
Question by:tblinc
2 Comments
 
LVL 23

Assisted Solution

by:Maciej S
Maciej S earned 500 total points
ID: 24296503
There has to be something in your logfiles :)
Examine carefully your syslog.conf - maybe your logs are redirected somewhere else?
Check if your have enough free space on your harddrive.
Try sending test email (mail -s subject some_local_user < /dev/null).
If you have free space, and you have properly configured syslog.conf, you have to see something in logfiles.
0
 

Accepted Solution

by:
tblinc earned 0 total points
ID: 24297364
AWHH I just found..

This is a new box with the newest version of arch... since it's a live/critical server it doesn't reboot often. On the new version of arch, we need postfix to send mail .. and postfix wasn't on the start up daemon in my rc.conf...

Sorry for that, shame on me.

Thanks for your support anyway.

0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question