Removing the config directory, uninstalling and reinstalling now provides a
clean start of postfix:

sudo postfix start
postfix/postfix-script: starting the Postfix mail system

Next question is where can I find accurate instructions on setting up the
configuration for arch linux to forward mail to my gmail account?

Regards 

Mark

-----Original Message-----
From: Wietse Venema via Postfix-users <postfix-users@postfix.org> 
Sent: Sunday, October 8, 2023 7:16 AM
To: Wietse Venema <wie...@porcupine.org>
Cc: Postfix users <postfix-users@postfix.org>
Subject: [pfx] Re: Problem setting up postfix on arch linux to forward mail
to my gmail account

Wietse Venema via Postfix-users:
> mwoodpatr...@gmail.com:
> > Many thanks for the response, much appreciated.
> > 
> > Doing that I see:
> > 
> > sudo postfix start
> > postfix: Postfix is using backwards-compatible default settings
> > postfix: See http://www.postfix.org/COMPATIBILITY_README.html for 
> > details
> > postfix: To disable backwards compatibility use "postconf 
> > compatibility_level=3.6" and "postfix reload"
> > postfix: fatal: /usr/lib/postfix/postfix-script: No such file or 
> > directory
> > 
> > I do have:
> > 
> > ls /usr/lib/postfix/
> > bin  libpostfix-dns.so  libpostfix-global.so  libpostfix-master.so 
> > libpostfix-tls.so  libpostfix-util.so

Ignore my response. The instructions at
https://linuxaria.com/pills/how-to-configure-postfix-as-smtp-relay-for-gmail
-on-archlinux
should not be used.

    cd /etc/postfix

    And do a copy of the default configuration, just to be sure.

    $ sudo cp main.cf main.cf-old

    Now open the file main.cf with your favorite editor and delete
    everything (with vi just type 1000 dd and copy this configuration:

That is why the 'postfix start' cannot find the postfix-script file.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send
an email to postfix-users-le...@postfix.org

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to