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.

I have a public intranet (called internet) that is password protected that used by our employees. We have a feature where one can send an article to a customer for example. That being said, the marketing department, if they wish other employees to be made aware of it, they send an email to a group, such as sales-international@company.tld for example, and some people have mentioned they don't receive it.

If this is the case, how do I see the log file when a message gets bounced?

I can obviously use sendmail from a root shell and it immediately bounces back from mailer-daemon but how can I do such activities if apache is sending the message, not root?

I should mention the send message is from within the webpage itself, not using his email client.

share|improve this question

migrated from superuser.com Jan 15 '10 at 6:45

This question came from our site for computer enthusiasts and power users.

add comment

3 Answers

Look in the configuration file for syslog on the system hosting the apache instance, it should be /etc/syslog.conf if you have a standard installation. Look where the mail stuff is logged.

If you have root access, you can change the mail log specification to mail.debug, which will give you a ton of information on sendmail's behavior. Make sure you understand the syslog.conf format before making changes to it.

share|improve this answer
add comment

Well, you can install a network monitor on your server and scrutinize the process and traffic. Then you find it is caused by slow response of the server/application or the destine unreachable.

share|improve this answer
add comment

Hmm, I couldn't figure out how to add my original account, I probably used the wrong openID page.

Regardless, I am jweinraub too.

Anyway, do I modify the above, or do I add somehting like

mail.debug /var/log/mail.debug.log as well?

share|improve this answer
add comment

Your Answer

 
discard

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