On 4/15/20 5:50 AM, Jacky wrote:
> Hi,
> 
>  
> 
> I was unable to setup my Opensmtpd (version 6.6.4p1). At the end of this 
> message, there are content of the recipient table and smtpd.conf. When 
> opensmtpd start, I get the following error message :-
> 
>  
> 
>      /etc/opensmtpd/smtpd.conf:38: syntax error
> 
>  
> 
> Line 38 of smtpd.conf stand for the "match from ..." line. Can anybody please 
> advice what's wrong with my configuration file.
> 
>  
> 
> Thank you very much.
> 
>  
> 
>  
> 
> Jacky
> 
>  
> 
>  
> 
> #####################################
> 
> #
> 
> #   /etc/opensmtpd/recipienttable
> 
> #
> 
> #####################################
> 
>  
> 
> r...@mydomain.com
> 
> t...@mydomain.com
> 
>  
> 
>  
> 
> #####################################
> 
> #
> 
> #   /etc/opensmtpd/smtpd.conf
> 
> #
> 
> #####################################
> 
>  
> 
> pki server01 cert "/etc/opensmtpd/cert/mydomain.com/fullchain.cer"
> 
> pki server01 key "/etc/opensmtpd/cert/mydomain.com/mydomain.com.key"
> 
> pki server01 dhe auto
> 
>  
> 
> table table_recipient file:/etc/opensmtpd/recipienttable
> 
>  
> 
> listen on 192.168.0.2 port 25 tls pki server01 hostname mydomain.com
> 
> listen on 192.168.0.2 port 587 tls-require pki server01 hostname mydomain.com
> 
>  
> 
> action action_relay relay host smtp://127.0.0.1:10025
> 
> match from any for rcpt-to <table_recipient> action action_relay
> 
>  
> 
>  
> 

Your config file is not complete (it's far from 38 lines).
If I strip your config of tls and adjust the paths it works for me.

Could you send over your entire config? If you're not comfortable to do
it publicly feel free to do so in a personal mail.

martijn@

Reply via email to