I have no clue on what you're trying to do, so here's my best guess. Your users have something like a shell account and want to submit mail via the sendmail command. Your users want you to forward the mail to their "standard" mailserver before it is relayed further.
Afaik there is no option to configure a specific runtime determined relay host option, so you'd have to create a different "relay host" action per match rule. Another option is to let your users submit the mail to their mail provider directly through port 587 or something similar, or why not just let you handle the mail and let them add your server's IP to their SPF-record and install filter-dkimsign, which supports multiple domains for DMARC from-domain matching. But like I said, no idea what you're trying to achieve, so my answer might be way off. martijn@ On Fri, 2021-01-22 at 23:45 +0100, Rudolf Sykora wrote: > Dear list, > > > if I have several users, each of which wants to be able to send email to > generally different smtp servers with their own credentials, how does > one arrange such a thing? Can it be done easily without having a > separate rule in the system-wide /etc/mail/smtp.conf for each individual > user? Can it be done that they themselves can easily modify the smtp > servers information/credentials? > > > Thanks for comments > Ruda >