On 12/10/2009 11:57 AM, [email protected] wrote: > Hello I'm having weird problems with unknown mail transport error. > > I moved a working postfix server from a linux machine to a netbsd one > and at first I thought everything was working. I am receiving emails > to all my mails that are hosted on this server, however I can't send > mail from my server to any server on the internet (gmail, yahoo.com, > you name it). Mail that is directed to different emails on different > domains on this machine gets delivered thought. All I get as an error > is this: > > Dec 10 18:45:40 rainstorm postfix/pickup[2937]: 4917A988312: uid=0 > from=<[email protected]> > Dec 10 18:45:40 rainstorm postfix/cleanup[26511]: 4917A988312: > message-id=<[email protected]> > Dec 10 18:45:40 rainstorm postfix/qmgr[888]: 4917A988312: > from=<[email protected]>, size=310, nrcpt=1 (queue active) > Dec 10 18:45:40 rainstorm clamsmtpd: 1000FE: accepted connection from: > 127.0.0.1 > Dec 10 18:45:40 rainstorm postfix/smtpd[13748]: connect from > localhost[127.0.0.1] > Dec 10 18:45:40 rainstorm postfix/smtpd[13748]: 8EB6298830D: > client=localhost[127.0.0.1] > Dec 10 18:45:40 rainstorm postfix/cleanup[26511]: 8EB6298830D: > message-id=<[email protected]> > Dec 10 18:45:40 rainstorm postfix/smtp[2010]: 4917A988312: > to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10025, > delay=0.5, delays=0.05/0/0.2/0.24, dsn=2.0.0, status=sent (250 2.0.0 > Ok: queued as 8EB6298830D) > Dec 10 18:45:40 rainstorm clamsmtpd: 1000FE: [email protected], > [email protected], status=CLEAN > Dec 10 18:45:40 rainstorm postfix/qmgr[888]: 8EB6298830D: > from=<[email protected]>, size=537, nrcpt=1 (queue active) > Dec 10 18:45:40 rainstorm postfix/smtpd[13748]: disconnect from > localhost[127.0.0.1] > Dec 10 18:45:40 rainstorm postfix/qmgr[888]: 4917A988312: removed > Dec 10 18:45:40 rainstorm postfix/error[19058]: 8EB6298830D: > to=<[email protected]>, relay=none, delay=0.23, > delays=0.22/0.01/0/0, dsn=4.3.0, status=deferred (unknown mail > transport error) > > > I am not running a chrooted postfix. > > Here is my postconf, in pastebin, and my master.cf again in pastebin: > > postconf: http://pastebin.com/f70940c06
Welcome to the list. Unfortunately, you seem to have missed the directions in the welcome message. TO REPORT A PROBLEM, see http://www.postfix.org/DEBUG_README.html#mail I did not search through the entire postconf output but... I did notice that your transport_maps is a pgsql map. What happens when you run postmap with the -q parameter with it? Does it return a blank line or nothing at all? SQL queries *must* return 0 rows if not found. A blank row is not acceptable. > > master.cf: http://pastebin.com/f20c0bc91 > > I have been trying with and without clamsmtp, and with different > compile options in netbsd. I found out that there was a problem with > threaded ssl lib in netbsd that affected both sendmail and postfix, I > relinked and compiled it against openssl in pkgsrc and the system one. > No difference at all. > > Also > egrep 'fatal|panic' /var/log/maillog > See http://www.postfix.org/DEBUG_README.html#logging for a better view.
