Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th December 2006, 16:07
dratone dratone is offline
Junior Member
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix doesn't forward with Tutorial On howtoforge..

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'
Dec 11 15:02:04 web1 postfix/smtpd[12479]: dict_mysql_get_active: attempting to connect to host 127.0.0.1
Dec 11 15:02:04 web1 postfix/smtpd[12479]: dict_mysql: successful connection to host 127.0.0.1
Dec 11 15:02:04 web1 postfix/smtpd[12479]: dict_mysql: successful query from host 127.0.0.1
Dec 11 15:02:04 web1 postfix/smtpd[12479]: event_request_timer: set 0xb7efa710 0x80778a8 60
Dec 11 15:02:04 web1 postfix/smtpd[12479]: dict_mysql_lookup: retrieved 1 rows
Dec 11 15:02:04 web1 postfix/smtpd[12479]: dict_mysql_lookup: retrieved field: 0: dratone@blueorder.ath.cx,
if i use dratone@ directly there isn't a problem (i've also signed up with that email so it does recieve all emails directed to dratone@)

could anybody please help me?

thanks in advanced.
Attached Files
File Type: txt debug.log.txt (19.1 KB, 301 views)

Last edited by dratone; 11th December 2006 at 16:14.
Reply With Quote
Sponsored Links
  #2  
Old 11th December 2006, 16:37
tycho tycho is offline
Member
 
Join Date: Nov 2006
Location: Haarlem, The Netherlands
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Does any of the users dratone or test exist as a real user?
Reply With Quote
  #3  
Old 11th December 2006, 16:39
dratone dratone is offline
Junior Member
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

no, does not exist, i even checked ;-)
Reply With Quote
  #4  
Old 11th December 2006, 16:46
tycho tycho is offline
Member
 
Join Date: Nov 2006
Location: Haarlem, The Netherlands
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?

Last edited by tycho; 11th December 2006 at 16:56.
Reply With Quote
  #5  
Old 11th December 2006, 16:55
dratone dratone is offline
Junior Member
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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)
Reply With Quote
  #6  
Old 11th December 2006, 18:25
tycho tycho is offline
Member
 
Join Date: Nov 2006
Location: Haarlem, The Netherlands
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #7  
Old 11th December 2006, 19:37
dratone dratone is offline
Junior Member
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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? ;-)
Reply With Quote
  #8  
Old 12th December 2006, 14:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Does test@blueorder.ath.cx exist in your users table?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 12th December 2006, 14:42
dratone dratone is offline
Junior Member
 
Join Date: Dec 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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..
Reply With Quote
  #10  
Old 13th December 2006, 13:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

What's in /etc/passwd? What's in /etc/postfix/main.cf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
help with the Postfix Spam Filter using Ubuntu Dapper, MailScanner... tutorial the block Suggest HOWTO 1 8th November 2006 18:20
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Setup Postfix to store mails localy and then forward??? chameleon HOWTO-Related Questions 1 6th August 2006 19:18
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20


All times are GMT +2. The time now is 18:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.