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 2 sendmail on my server ( instance sendmail ), I want to separate each sendmail with its own maillog?

sendmail version sendmail-8.13.8-8

and how i can see each mail queue for each instance ?

share|improve this question

1 Answer 1

I have to assume that your two instances run with different configuration files. You can view the queues by running mailq -C config_file.cf.

You have to make sure that your separate instances use different queue directories (you can specify this in the configuration file).

To separate logging, one trick is to use the -L command line option for sendmail and differentiate using its argument.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.