Re: No RELAYCLIENT for local mail to be relayed?
Alessandro Vesely <[email protected]>
| Newsgroups | gmane.mail.imap.courier.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun 12/May/2024 14:02:12 +0200 Sam Varshavchik wrote: > Alessandro Vesely writes: >> >> there is a zdkimfilter user unable to DKIM-sign local mail. I modified >> zdkimfilter slightly so as to detect RELAYCLIENT even without a trailing >> equal sign[*]. Didn't work. I asked the user to send me a control file, and >> then I checked my own mailq and, surprisingly, there's no RELAYCLIENT. >> Here's a sample: >> >> >> [...] >> OTCPREMOTEIP=127.0.0.1 >> ulocal >> >> How do people manage to put RELAYCLIENT in the control file? > > RELAYCLIENT is usually set in the smtpaccess file, as an environment variable. > Consequently it is set only in mail received by SMTP. > > In the control file, you should see 'uautsmtp' if it was set, "usmtp" if not > set. Here, you see "ulocal". I'm confused. Utilities to send via SMTP usually provide for doing SMTP AUTH as well. Why then had it been useful to hijack RELAYCLIENT to set the DKIM-signing domain? Probably it is more direct to just sign on ulocal. It is necessary to also have "local" in enablefiltering. Then, if there's no RELAYCLIENT in smtpaccess, the message won't be relayed, but having it signed shouldn't hurt, or would it? Best Ale -- _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users