Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-05-04
2
Medium Priority
?
612 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 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

963 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