michi@anvil.oz (Michael Henning) (04/13/89)
I'm having a few problems with my sendmail.cf. In particular, I don't know how exactly classes are matched. If I specify a class as CToz uucp com will a $=T match both "com" and "COM" ? Is there any option that allows upper and lower case to be treated as distinct/non-distinct ? Also, I can specify a class as FF myfile which according to the documentation is expanded to a class containing all the strings found in the file "myfile". I have seen patterns used in that kind of class definition, but the documentation for our sendmail (AIX 2.2.1) does not mention the feature. In particular, I would like to construct a class of all users known to the local machine by cutting all the user id's out of the password file and another one by cutting all the machine names out of the uucp Systems file. Is it possible to write a class definition which will do this or do I have to put all these id's in a file and maybe keep it up to date using cron ? Finally, I am having a problem in parsing complicated addresses (who hasn't ? :-) ). Specifically, I am invoking my mailer with the destination "relay_host" and a user part "user@machine1@machine2.dom". The idea is that the relay host knows how to get to "user@machine1@machine2.dom". If I run this address through sendmail in debugging mode, everything works fine. However, when I try to actually send the mail, I get an error 554: buildaddr: no user. Can anyone tell me what this error message means ? It looks like sendmail is getting upset even before it tries to invoke the mailer, and the mail bounces straight away. I really would appreciate any help with the above, I'm totally stuck with this problem. Thanks, Michi. -- | The opinions expressed are my own, not those of my employer. | | | | Michael (Michi) Henning | | - We have three Michaels here, that's why they call me Michi |