From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078721911774.tru64-unix-managers.marc@archive.invalid> From: Ian Mortimer Date: Fri, 11 Sep 1998 05:05:23 +0000 To: tru64-unix-managers Subject: [SUMMARY - Partial] Sendmail and relaying. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078721911774 Hi DU Admins The original question is below. I think I've solved this myself. Removing FEATURE(nocanonify) from the null clients' config fixes the problem. However this canonifies all addresses - both sender and recipient - with the server's address. So far this isn't causing any problems. I was looking for a solution which would just add the domain to sender addresses so if anyone knows a way to do this I'd still be interested in hearing about it. Original Question: > We have a central mail server and all our other machines are running > as sendmail null clients. The problem is that with sendmail 8.9.1's > anti relaying feature the server refuses to relay mail from the clients. > > The null clients don't add the domain to the sender's address > and the server rejects messages with this error: > > ... reject=553 ... Domain name required > > I tried adding the option `FEATURE(always_add_domain)' but this > doesn't work for a null client. The domain is added by ruleset 5 > which doesn't apply to null clients. > > At the moment I'm using `FEATURE(accept_unqualified_senders)' > on the server to get around this problem but I'm worried this might > open a hole for relaying. > > Does anyone know of a way to get the domain appended to sender > addresses from a null client? Is the accept_unqualified_senders > feature a serious risk? > > Just to avoid any possible confusion: > > All the null clients are listed in the servers sendmail.cw file. > I've set `FEATURE(relay_entire_domain)' in the server's config. > I also know about the relay domain file and the access_db file but > I don't think they're relevant in this case since the error being > reported is no domain on the sender's address. Thanks Ian _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Ian Mortimer _/ _/ ian@physics.uq.edu.au ,-_|\ Department of Physics _/ _/ Tel: +61 7 3365 3436 / *\ University of Queensland _/ _/ Fax: +61 7 3365 1242 \_,-._/ St. Lucia, Brisbane _/ _/ v Queensland, Australia 4072 _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Disclaimer: Speaking only for myself.