Jump to content
Froxlor Forum
  • 0

The problem with postfix


Guest ORGANIC

Question

Guest ORGANIC

Established a dovecote, postfix and created setup are reported in froxlor

Created a user's mailbox ...

Check that the address of the user, and the logs get this:

 

Jun 29 09:59:22 panel postfix/postfix-script[3908]: starting the Postfix mail system

Jun 29 09:59:23 panel postfix/master[3909]: daemon started -- version 2.8.7, configuration /usr/local/etc/postfix

Jun 29 09:59:33 panel postfix/smtpd[3914]: fatal: open database /etc/aliases.db: No such file or directory

Jun 29 09:59:34 panel postfix/master[3909]: warning: process /usr/local/libexec/postfix/smtpd pid 3914 exit status 1

 

 

Create database commands:

 

# postfix stop

# rm -f /etc/aliases.db

# newaliases

# postfix start

 

Database is why it was created in the /etc/mail/aliases.db

Ok, moved it to /etc/aliases.db

 

/Usr/local/etc/rc.d/postfix restart

 

Again, check that the address of the user, and the logs get this:

 

Jun 29 10:07:29 panel postfix/master[4083]: daemon started -- version 2.8.7, configuration /usr/local/etc/postfix

Jun 29 10:07:57 panel postfix/smtpd[4094]: fatal: unsupported dictionary type: dev

Jun 29 10:07:58 panel postfix/master[4083]: warning: process /usr/local/libexec/postfix/smtpd pid 4094 exit status 1

Jun 29 10:07:58 panel postfix/master[4083]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling

 

 

Rework in the file /usr/local/etc/postfix/main.cf line

tls_random_source = dev :/dev/urandom --> tls_random_source = dev / urandom

 

restart /usr/local/etc/rc.d/postfix restart

 

Again, check that the address of the user, and the logs get this:

 

Jun 29 10:14:48 panel postfix/master[4220]: daemon started -- version 2.8.7, configuration /usr/local/etc/postfix

Jun 29 10:14:56 panel postfix/proxymap[4226]: warning: request for unapproved table: "mysql:/usr/local/etc/postfix/mysql-virtual_alias_maps.cf"

Jun 29 10:14:56 panel postfix/proxymap[4226]: warning: to approve this table for read-only access, list proxy:mysql:/usr/local/etc/postfix/mysql-virtual_alias

Jun 29 10:14:56 panel postfix/smtpd[4225]: fatal: proxymap service is not configured for table "mysql:/usr/local/etc/postfix/mysql-virtual_alias_maps.cf"

Jun 29 10:14:57 panel postfix/master[4220]: warning: process /usr/local/libexec/postfix/smtpd pid 4225 exit status 1

Jun 29 10:14:57 panel postfix/master[4220]: warning: /usr/local/libexec/postfix/smtpd: bad command startup ? throttling

 

 

In the file /usr/local/etc/postfix/mysql-virtual_alias_maps.cf

 

user = froxlor

password = PassForFroxlorUser

dbname = froxlor

table = mail_virtual

select_field = destination

where_field = email

additional_conditions = and TRIM(destination) <> ''

hosts = 127.0.0.1

 

and "postmap -q":

 

panelhost# postmap -q user@domain.de mysql:/usr/local/etc/postfix/mysql-virtual_alias_maps.cf

user@domain.de

 

 

Looking for a solution on your forum, internet search engine and found no solutions

Why can not I get a mail server, right?
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Guest ORGANIC

Yes, with MySQL support

 

I found what was the error when copying a configuration file that's happened is this:

(I do not know how to create a table and then create something like a table, the symbols "I___" and other "I_" before asking to be

perceived as though they are not)

 

-------------------------------------------------

smtpd_sender_restrictions =

I_permit_sasl_authenticated,

I__reject_sender_login_mismatch,

I___permit_mynetworks,

I____reject_unknown_hostname,

I_____reject_unknown_recipient_domain,

I______reject_unknown_sender_domain,

-------------------------------------------------

Corrected for this is:

-------------------------------------------------

smtpd_sender_restrictions =

I_permit_sasl_authenticated,

I_reject_sender_login_mismatch,

I_permit_mynetworks,

I_reject_unknown_hostname,

I_reject_unknown_recipient_domain,

I_reject_unknown_sender_domain,

-------------------------------------------------

 

An error has disappeared, but I do not understand why the had to make from "tls_random_source = dev:/dev/urandom" to "tls_random_source = /dev/urandom"

 

Please explain why the had to do so?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...