Unable to get postfix to work !!!!

Hi,

On a fresh new install of Virtualmin on Ubuntu 12.04 LTS, I’m unable to get Postfix to work fine, neither sending neither receiving emails work :frowning: MX is well setup in DNS ! I got bunch of these in logs but not easy to understand what to fix !! Some ideas ?

Thanks

Vincèn

Nov 15 08:02:42 pro postfix/smtpd[46840]: connect from mail.static.s104.92.bp06.net[81.252.92.104] Nov 15 08:03:11 pro postfix/trivial-rewrite[46841]: fatal: open dictionary: expecting "type:name" form instead of "map" Nov 15 08:03:12 pro postfix/master[1762]: warning: process /usr/lib/postfix/trivial-rewrite pid 46841 exit status 1 Nov 15 08:03:12 pro postfix/master[1762]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling Nov 15 08:04:12 pro postfix/trivial-rewrite[46919]: fatal: open dictionary: expecting "type:name" form instead of "map" Nov 15 08:04:13 pro postfix/master[1762]: warning: process /usr/lib/postfix/trivial-rewrite pid 46919 exit status 1 Nov 15 08:04:13 pro postfix/master[1762]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling Nov 15 08:04:55 pro postfix/smtpd[46921]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled Nov 15 08:04:55 pro postfix/smtpd[46921]: connect from monitoring-vit.online.net[88.190.254.18] Nov 15 08:04:55 pro postfix/smtpd[46921]: lost connection after CONNECT from monitoring-vit.online.net[88.190.254.18] Nov 15 08:04:55 pro postfix/smtpd[46921]: disconnect from monitoring-vit.online.net[88.190.254.18] Nov 15 08:04:56 pro postfix/anvil[18472]: statistics: max connection rate 1/60s for (smtp:88.190.254.18) at Nov 15 07:54:59 Nov 15 08:04:56 pro postfix/anvil[18472]: statistics: max connection count 9 for (smtp:81.92.115.3) at Nov 15 07:55:33 Nov 15 08:04:56 pro postfix/anvil[18472]: statistics: max cache size 37 at Nov 15 08:04:55 Nov 15 08:05:13 pro postfix/trivial-rewrite[46965]: fatal: open dictionary: expecting "type:name" form instead of "map" Nov 15 08:05:14 pro postfix/master[1762]: warning: process /usr/lib/postfix/trivial-rewrite pid 46965 exit status 1 Nov 15 08:05:14 pro postfix/master[1762]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling

Howdy,

It looks like a config option is confusing it… can you post the output of this command:

postconf -n

It tells me when I run postconf -n that I need to install postfix :frowning: Perhaps I should go on sendmail way, as I’m lot more familiar with it :slight_smile: Is there a way to change from postfix to sendmail in Virtualmin ?

Thanks,

Vincèn

It looks like you have a Support Request open for this here, I’ll answer your questions over here:

https://www.virtualmin.com/node/24046