Hi 1st off, very many thanks for your prompt and illuminating reply. I'll get the current version of OpenSMTPD and try to make it work shortly. There's one bit I don't quite understand in your reply though:
>> accept from any for domain example.net\ >> alias <aliases>\ >> deliver to maildir %(user.directory)/Maildir >> >> seems clearly wrong as we don't want to deliver there. So we have to >> split the forwarding rules from the alias rules? >> > >The "deliver" part is the default action, it will only be matched for >aliases entries that map to local users, if a user has an alias that >has an email address as a target, mail will match that action first >so the deliver part will be discarded. That is excellent, but could you expand on what happens there. The alias expands to an email address - so far so good - it isn't delivered locally because it isn't a local address - yes - but what happens next? Does smtpd run the entire ruleset over the new destination address from the start, does it continue to run the ruleset from the current line (i.e. earlier rules aren't checked) or is there some other auto-magic that forwards it to the right destination? Sorry to take up your time, but I'd really like to understand what is actually meant to happen so I don't waste your time in the future. Many thanks John Cox -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
