![]() |
postfix doesn't forward with Tutorial On howtoforge..
1 Attachment(s)
Hello,
I've used the following tutorial to set up postfix with virtual users and virtual domains etc: http://www.howtoforge.com/virtual_po..._quota_courier I've just got the following problem: I've set up the following domain to use with postfix for email blueorder.ath.cx, with an entry in the users table for dratone@blueorder.ath.cx and the following entry in the forwarding table: Source: test@blueorder.ath.cx Destination: dratone@blueorder.ath.cx but when i send a message to test@blueorder.ath.cx i don't get it in dratone@blueorder.ath.cx I get the following NON-DEBUG (debug is below) error: Dec 11 11:21:14 web1 postfix/cleanup[11183]: 93951848F5: message-id=<20061211112114.GA11194@web1.destiny.cyso.net> Dec 11 11:21:14 web1 postfix/qmgr[1243]: 93951848F5: from=<root@web1.destiny.cyso.net>, size=420, nrcpt=1 (queue active) Dec 11 11:21:14 web1 postfix/virtual[11187]: 93951848F5: to=<test@blueorder.ath.cx>, relay=virtual, delay=0, status=bounced (unknown user: "test@blueorder.ath.cx") With Full Debug (A LOT OF TEXT!) see attachment so for some reason (as i see in the following part) He does look ip up and see 'test@blueorder.ath.cx' to go to dratone@blueorder.ath.cx but it still uses test@ instead of dratone@ Code:
Dec 11 15:02:04 web1 postfix/smtpd[12479]: dict_mysql_lookup using sql query: select destination from forwardings where source = 'test@blueorder.ath.cx'could anybody please help me? thanks in advanced. |
Does any of the users dratone or test exist as a real user?
|
no, does not exist, i even checked ;-)
|
And what's with the comma (,) behind the line
dict_mysql_lookup: retrieved field: 0: dratone@blueorder.ath.cx(,)? Maybe a typo in your database? |
No that was just my experimenting, i've tried both with and without the comma (i read a line in the debug log concerning email seperators so i just figured.. before i ask for help i'll try that)
|
Sorry, out of clues right now.
Though I don't understand what you mean by this: (i've also signed up with that email so it does recieve all emails directed to dratone@) Maybe there's a clue? |
I just meant that the dratone@blueorder.ath.cx is working seeing i've got the confirmation email from this forum on that account ;-) (and also other mails but just as an example)
I don't know either. Thanks for the trouble though.. Anyone else? ;-) |
Does test@blueorder.ath.cx exist in your users table?
|
No it only exists in my forwarding table.
I did just notice something strange though, watch this: I did the following 2 telnet sessions to localhost 25: ehlo localhost 250-destiny.cyso.net 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250 8BITMIME mail from: test@darkrealm.nl 250 Ok rcpt to: test@darkrealm.nl 550 <test@darkrealm.nl>: Recipient address rejected: User unknown in virtual mailbox table exit 502 Error: command not implemented exit 502 Error: command not implemented quit 221 Bye and Trying 127.0.0.1... Connected to lone-gunman.ath.cx. Escape character is '^]'. 220 destiny.cyso.net ESMTP Postfix (Debian/GNU) ehlo localhost 250-destiny.cyso.net 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250 8BITMIME mail from: test@blueorder.ath.cx 250 Ok rcpt to: test@blueorder.ath.cx 250 Ok data 354 End data with <CR><LF>.<CR><LF> test . 250 Ok: queued as 93FB984916 quit 221 Bye Connection closed by foreign host. wich would show that test@blueorder.ath.cx is found to be a valid recipient seeing it did not take test@darkrealm.nl (darkrealm.nl is in my domain list) but it did test@blueorder.ath.cx also: i did actually recieve the BOUCE at my dratone@blueorder.ath.cx email adress but not the original message.. |
What's in /etc/passwd? What's in /etc/postfix/main.cf?
|
| All times are GMT +2. The time now is 07:23. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.