How can I manage the delivery of mails based upon the existence (OS/imap) of the user?
Cyrus IMAPD is up and running (Solaris 8, Sun's sendmail 8.11.6). mailx -s test test_user works fine since test_user exists in cyrus (mailbox, sasldb entry..) mails -s test root returns 550 "User unknown" (neither mailbox nor sasldb entry) Apr 10 19:05:24 mozart sendmail[2155]: [ID 801593 mail.info] g3AH5Og02155: to=root, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=30119, relay=localhost [[UNIX: /var/imap/conf/socket/lmtp]], dsn=5.1.1, stat=User unknown How can I tell sendmail to deliver mail "locally" (e.g. to /var/mail/<user>)iff the user exists at the os level and otherwise try an imap account? TIA Markus ================================ name : Cyrus IMAPD version : v2.1.3 2002/03/07 20:00:42 vendor : Project Cyrus support-url: http://asg.web.cmu.edu/cyrus os : SunOS os-version : 5.8 environment: Cyrus SASL 2.1.2 Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001) OpenSSL 0.9.6c [engine] 21 dec 2001 CMU Sieve 2.1 TCP Wrappers lock = fcntl auth = unix idle = poll mboxlist.db = db3 subs.db = flat seen.db = flat duplicate.db = db3-nosync tls.db = db3-nosync