Categories
Mastering Development

Roundcueb setup: imapd: root: Not a directory

When trying my credentials for root i have this error-> imapd: root: Not a directory echo $MAIL gives me /root/Maildir And here is the ouput of postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes compatibility_level = 2 home_mailbox = Maildir/ inet_interfaces = all inet_protocols = all […]

Categories
Mastering Development

Sending and receiving mails using Postfix/Dovecot [migrated]

I’ve been searching for a couple days now if it aren’t weeks. Well, I tried to configure Postfix (what failed) with the purpose of sending mails without using external relay services like Gmail and configure a (local?) relay server which will be used over port 587. Correct me if I’m wrong, this project is my […]

Categories
Mastering Development System & Network

Postfix Conf – Unknown user

Can’t receive emails for virtual users but they can send. UNIX users that can receive and sent. What am I doing wrong? root@localhost: postconf -n append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes compatibility_level = 2 disable_vrfy_command = yes home_mailbox = maildir/ inet_interfaces = all inet_protocols = all mailbox_command = mailbox_size_limit = 0 mydestination […]

Categories
Mastering Development System & Network

postfix/master[1908]: warning: /usr/libexec/postfix/smtpd: bad command startup — throttling

I’m getting this error message for quite sometime and unable to find I exactly missed in the postfix mail configuration. Please see my master.cf and main.cf below. MASTER.CF Postfix master process configuration file. For details on the format of the file, see the Postfix master(5) manual page. ***** Unused items removed ***** ========================================================================== service type […]

Categories
Mastering Development System & Network

Sending through Postfix fails from a new server. Any troubleshooting suggestions?

Background My organization sends list emails from the Mailpoet plugin in WordPress, hosted on a Linode VPS. We have a second VPS with Postfix installed, which is used as the SMTP server for Mailpoet’s list sends. (This is running Debian GNU/Linux 4.0r9) We’re preparing to move the WordPress site to a new host (Kinsta). Problem […]

Categories
Linux Mastering Development Ubuntu

SquirrelMail – Error: Connection dropped by IMAP server

I am trying to use SquirrelMail on Ubuntu 16.04. When I go to localhost/squirrelmail/src/login.php and login, I encounter the error message: ERROR: Connection dropped by IMAP server. I tried the solution here, which says to add in /etc/dovecot/dovecot.conf: protocol imap { mail_location = mbox:~/mail:INBOX=/var/mail/%u } but the error persists. Additionally, I tried the solution here, […]

Categories
Linux Mastering Development Ubuntu

Amavisd-new ports 10026 10024 not running

I have mail stuck in the queue and the problem according to the logs points to amavisd-new. Ports 10024 and 10026 are not running and I’m not sure whether it might have something to do with spamassassin. I installed spamassassin but if the problem does point to spamassassin I would like to disable it althought […]

Categories
Mastering Development System & Network

Postfix: reject_unknown_client_hostname doesn’t effect in main.cf, nor in master.cf

I’m trying to set smtpd_client_restrictions = reject_unknown_client_hostname to prevent a lot of spam connections, like postfix/smtpd[28054]: connect from unknown[185.143.72.16]. I set this value in main.cf and master.cf, then restart dovecot and postfix services, but it doesn’t effect at all. Am I miss something? The smtpd_client_restrictions value is existing in my master.cf file: -o smtpd_client_restrictions=permit_sasl_authenticated,reject I […]

Categories
Mastering Development System & Network

How to get gmail to use postfix as an SMTP server

I’m trying to get gmail to send email from my vanity domain – it understandably wants to use an SMTP server set up for that domain. I tried to configure postfix to be an SMTP server for my vanity domain, but in gmail I keep getting authentication errors. My experience seems very much the same […]

Categories
Mastering Development System & Network

postfix is unable to receive emails from some domains

I am running a postfix/dovecot email server. The OS is Ubuntu 18.04. I am also using aws as relayhost to send emails as port 25 is blocked. It is working fine except I am not able to receive emails from some domains such as amazon or one of my hosting provider. Other domains such as […]