[SUMMARY - Partial] Sendmail and relaying.

From: Ian Mortimer <ian_at_physics.uq.edu.au>
Date: Fri, 11 Sep 1998 15:05:23 +1000

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 <user>... 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_at_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.
Received on Fri Sep 11 1998 - 05:07:10 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT