Automate the installation of postfix on Ubuntu

You can use pre-seeding for this, using the debconf-set-selections command to pre-answer the questions asked by debconf before installing the package. For example: debconf-set-selections <<< “postfix postfix/mailname string your.hostname.com” debconf-set-selections <<< “postfix postfix/main_mailer_type string ‘Internet Site'” apt-get install –assume-yes postfix

Postfix – how to retry delivery of mail in queue?

According to postqueue(1) you can simply run postqueue -f to flush your mail queue. If the mails aren’t delivered after flushing the queue but are being requeued instead, you might want to check your mail logs for errors. Taking a peek at postsuper(1) might also be helpful. Maybe the messages are on hold and need … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)