Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On my server, my incoming mail (which is handled by sendmail) suddenly stopped working. I have not changed anything at all for a long time on my server so I have no idea why it suddenly stoped working. It has always worked.

The mail I receive is placed in the mail queue as supposed, however it doesn't deliver the mail in the mailbox in the user. I've tried several things but it keeps failing. Does anyone know how I can solve this, or has any hints? The mail adressing I use is from the kind @domain user. I have tried sendmail -bv which gives me deliverable: mailer local, user, so that works correctly.

share|improve this question
    
What do the entries in /var/log/mail.log say? –  adamo Mar 12 '13 at 17:18
    
mailq what does it say ? –  silviud Mar 12 '13 at 23:30
1  
mail.log says: Mar 13 10:34:18 server1 sendmail[14440]: <messageId>: to=<mailAdres>, delay=00:00:02, mailer=local, pri=108465, dsn=4.4.3, stat=queued with the id of the message in messageId and the receiver mailadress (where I have address mapping for) as the mailAdres –  user2161603 Mar 13 '13 at 8:51
    
It looks like sendmail is running in queue-only mode or that sendmail -q is not running.More context is needed (config files, etc.). Did you try sendmail -q -v? Does it deliver? –  Alien Life Form Mar 13 '13 at 14:37
    
Yes I've tried sendmail -q -v, it tried to find the AAAA, A, and MX record (in that order) of the sender domain and because it couldn't find it returns deferred. I'm using webmin and by looking to the mailqueue I see host map: lookup (<sender domain>) deferred. (Which is strange because there should be no lookup at all.) Sendmail is not running in queue only. I also found out that delivery to my root account (which does not use adress mapping) works fine. –  user2161603 Mar 13 '13 at 20:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.