Solved

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

Posted on 2009-05-04
2
589 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

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

Resolve DNS query failed errors for Exchange
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

623 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