Gentoo Archives: gentoo-user

From: "Marcin Niśkiewicz" <mniskiewicz@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] problem with mail server
Date: Tue, 03 Feb 2009 13:24:15
Message-Id: b6373cd60902030524m21733a38gfb9ec145910ad8f3@mail.gmail.com
1 Hello
2 I'm testing mail server with mysql backend. Generally it works quite well.
3 But from time to time during testing, single mails can't be send because of
4 smtp errors:
5
6 in mail.log
7 Feb 3 13:47:37 mail postfix/smtpd[28339]: NOQUEUE: reject: RCPT from
8 unknown[ip]: 451 4.3.0 <user@××××××.org>: <piotrpol@××××××××××.pl> Temporary
9 lookup failure; from=<user@××××××.org <piotrpol@××××××××××.pl>> to=<
10 user@×××××××.org <piotrpol@××××××××××.pl>> proto=ESMTP helo=<domain.org >
11 in mail.warn
12 Feb 3 13:47:37 kurier4 postfix/trivial-rewrite[2438]: warning:
13 transport_maps lookup failure
14
15 when I check transport_map:
16
17 postconf | grep transport_map
18 address_verify_transport_maps = $transport_maps
19 fallback_transport_maps =
20 mailbox_transport_maps =
21 mydestination = $myhostname, localhost.localdomain, $transport_maps
22 proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps
23 $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains
24 $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
25 $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
26 transport_maps = mysql:/etc/mail/sql/mysql-transport.cf
27
28 my /etc/mail/sql/mysql-transport.cf looks like that:
29 user = postfix
30 password = password
31 dbname = maildb
32 table = transport
33 select_field = destination
34 where_field = domain
35 hosts = 127.0.0.1
36
37 Generally I'm thinking that it could be mysql error - but there is nothing
38 wrong in its error log...
39 I set really big limit of concurrent connections
40
41 max_user_connections = 1000
42
43 So what can be wrong?
44 Any ideas?
45
46 Thank in progress for any help
47 best regards
48 nichu

Replies

Subject Author
Re: [gentoo-user] problem with mail server kashani <kashani-list@××××××××.net>