Re: Relay access denied
- On 1/17/2013 3:58 AM, Muzaffer wrote:
> Hi,In addition to listing the domains in main.cf, postfix can read from
> Is there a simpler way of making postfix accept mail for all the
> domains I'm hosting, than adding them one by one to
an sql database or from an indexed file. If you have lots of
frequently-changing domains, you are expected to generate this list
automatically or use a shared db.
-- Noel Jones
- On 18 January 2013 12:15, Ansgar Wiechers <lists@...> wrote:On 2013-01-17 Muzaffer wrote:
> On 17 January 2013 18:40, Ansgar Wiechers <lists@...> wrote:
>> On 2013-01-17 Muzaffer wrote:>>> I've just found out a virtual file in the format user@...$virtual_alias_domains is just a list of domains. This is most trivial
>>> example doesn't work with virtual_alias_domains. Guess I need to
>>> find another solution.
>> Please describe in more detail what you're trying to achieve. Given
>> this little information it's highly unlikely anyone could come up
>> with a satisfactory solution/recommendation.
> I'm running a server with Virtualmin, and I'd like to be able to
> automate the generation of $virtual_alias_domains. If there is no way
> other than adding them manually, that is also not desired but fine.
to automate. The real question is: which source is providing that list?
Judging from your comment above you probably don't want just the virtual
alias domains, but also a list/mapping of valid recipients for those
domains. Is that correct?
Ansgar WiechersI've got that covered, it seems I have to put both domains and aliases in the same file, setting virtual_alias_domains = $virtual_alias_maps, and setting virtual_alias_maps = hash:/etc/postfix/virtualThanks and regards,--
"Abstractions save us time working, but they don't save us time learning."