On 1/19/2012 10:43 AM, Nikolaos Milas wrote: > Hello, > > When defining options for the submission port (587) daemon in > master.cf, we must re-define explicitly all smtpd_* settings or not, > or some (*which?*) are inherited from the standard main.cf settings?
as others have responded, all settings are inherited. You only need to define settings that are different for that specific port. > I also assume that we can also use here (i.e. in submission port > options) for smtpd_recipient_restrictions check_recipient_access > tables, the smtpd_restriction_classes we have defined in main.cf? Yes, access tables and all smtpd* options can be used, but note spaces aren't allowed in master.cf options. As a workaround, use a comma "," rather than a space ie. ...check_recipient_access,hash:/path/to/file or define the restriction in main.cf and refer to it: # main.cf some_local_stuff = check_sender_access hash:/path/to/foo permit_sasl_authenticated reject other_junk = check_client_access cidr:/path/to/bar #master.cf submission ... smtpd ... -o smtpd_client_restrictions=$other_junk -o smtpd_recipient_restrictions=$some_local_stuff ... (or make up your own macro names) -- Noel Jones