---
name: "conflict"
section: "8"
platform: "linux"
package: "nmh"
version: "1.5-release-0.2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/conflict"
---

# conflict(8)

search for alias/password conflicts

## NAME

conflict - search for alias/password conflicts

## SYNOPSIS

**/usr/lib/mh/conflict** \[**-search** *directory*\] \[**-mail** *name*\] \[**-version**\] \[**-help**\] \[*aliasfiles* ...\]

## DESCRIPTION

**Conflict** is a program that checks to see if the interface between **nmh** and the transport system is in good shape

**Conflict** also checks for maildrops in /var/mail which do not belong to a valid user.  It assumes that no user name will start with \`.', and thus ignores files in /var/mail which begin with \`.'.  It also checks for entries in the [**group**(5)](/group/5.md) file which do not belong to a valid user, and for users who do not have a valid group number. In addition duplicate users and groups are noted.

If the **-mail** *name* switch is used, then the results will be sent to the specified *name*. Otherwise, the results are sent to the standard output.

The **-search** *directory* switch can be used to search directories other than /var/mail and to report anomalies in those directories. The **-search** *directory* switch can appear more than one time in an invocation to **conflict**.

**Conflict** should be run under [**cron**(8)](/cron/8.md), or whenever system accounting takes place.

## FILES

```
^/etc/nmh/mts.conf~^nmh mts configuration file
^/etc/passwd~^List of users
^/etc/group~^List of groups
^/usr/bin/mh/mhmail~^Program to send mail
^/var/mail/~^Directory of mail drop
```

## PROFILE COMPONENTS

None

## SEE ALSO

[mh-alias(5)](/mh-alias/5.md)

## DEFAULTS

```
`aliasfiles' defaults to /etc/nmh/MailAliases
```

## CONTEXT

None
