Martijn van Duren <openbsd+m...@list.imperialat.at> writes:
> 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. thank you, as far as I can tell you understand me right. In my case, my computer gathers mail from various mail services using mbsync. I want to be able to reply the mail, but have the reply use the mail server that is most suited for the reply. E.g., if I get an email from school (downloaded from the school service), I need that my answer is as if sent using the school service; similarly with my work mail, etc. (The people at work want me to use their address when dealing with work-related matters; it's then easily recognizable.) I thought the program used to create a message does not have to know how to send email (speak SMTP) but would just pass it to something that can (smtpd), to relay the mail further. But for this I'd need that the server to be used for sending be easily modified by user, as well as have some easy means to supply the needed credentials. Thanks Ruda