New answers tagged postfix
The folder /etc/postfix is part of the package postfix sudo apt-get install --reinstall postfix To reconfigure postfix sudo dpkg-reconfigure postfix $ apt-file search --regex "^/etc/postfix/" postfix: /etc/postfix/post-install postfix: /etc/postfix/postfix-files postfix: /etc/postfix/postfix-script
This is only a partial answer for NameCheap settings, I just wanted to post the whole set up in one question for the public, I need help with correct hosts/hostname. I know that this question is all over the internet, but I could not find simple answers, hopefully this post will help others including me! MX Record is as follows HOSTNAME ...
In main.cf add relayhost =smtp.some_mail_server.com This host can be smtp server of your provider Restart postfix after this.
It writes it -- failed: Memory buffer error. You are running out of physical memory, disk space, swap or whatever, and pam doesn't handle it well. Which one can't be more evaluated from this log. Check what is eating too much memory before reboot or upgrade your hardware.
grep "email@example.com" filename.log will print all lines containing firstname.lastname@example.org
Simple answer, using awk awk '/mail\.addres@example\.org/' file.log
do a $ grep -R "relayhost" /etc/postfix/ this would give you idea where you have defined an empty relayhost in your postfix configuration files.
I'm setting them like this: debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"
As others have noted, it is a link to /etc/alternatives/mail. you can see that (if you have any package which provides it already installed) by readlink /usr/bin/mail and locate the existing package by readlink -f /usr/bin/mail It is provided by any package which provides the mail-reader you can search for one with apt-cache search mail-reader personally I ...
Postfix supports a lot of lookup tables and you can use database lookup tables (mysql,pgsql or sqlite)to store such large lists and you need not reload postfix when using them. Say you have a table forwards in your postgres database with columns emailaddress and forwards. emailaddress forwards email@example.com firstname.lastname@example.org ...
Top 50 recent answers are included