Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 9th September 2008, 14:01
rapidos rapidos is offline
Junior Member
Join Date: Aug 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Question ASSP getting error while trying to transfer mail

I was trying to build a new anti-spam gateway that is supposed to be in front of the two existing one.

I followed exactly this howto: http://www.howtoforge.com/assp_clama...ix_debian_etch

But I'm getting the following error when trying to send me an email by connecting directly on my new smtp gateway:

telnet ptitux 25
ehlo localhost
mail from:<anything@anywhere.com>
rcpt to:<me@mycompany.com>: Recipient address rejected: User unknown in virtual mailbox table

And that is the point! I do not have any virtual box and I dont want to have some beacause this is just an smtp gateway. I put in the transport table the following rule

mycompany.com smtp:[] is the ip of the current front smtp gateway that should become the scond one

this is what I have in /var/log/mail.log:

Sep  9 12:26:22 ptitux postfix/smtpd[16458]: warning: hostname box.kremlin.mycompany.com verification failed: Name or service not known
Sep  9 12:26:22 ptitux postfix/smtpd[16458]: connect from unknown[]
Sep  9 12:26:42 ptitux postfix/smtpd[16458]: NOQUEUE: reject: RCPT from unknown[]: 550 5.1.1 <jphilibin@omnitech.fr>: Recipient address rejected: User unknown in virtual mailbox table; from=<sqdf@qsdf.com> to=<jphilibin@omnitech.fr> proto=ESMTP helo=<localhost>
ptitux has ip:

Any Idea or help would be appreciated!

Thanks a lot!
Reply With Quote
Sponsored Links
Old 10th September 2008, 18:17
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

What's in your main.cf?
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
Old 11th September 2008, 09:58
rapidos rapidos is offline
Junior Member
Join Date: Aug 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

the situation evolved a little bit :-)

I erased my main.cf and started a new one:

smtpd_banner = Ptitux smtp gateway (Win2k3)
myorigin = mycompany.com
mydestination =
mynetworks =
relay_domains = mycompany.com
parent_domain_matches_subdomains = debug_peer_list smtpd_access_maps
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
relay_recipient_maps =
local_recipient_maps =
virtual_alias_maps = hash:/etc/postfix/virtual
transport_maps = hash:/etc/postfix/transport
local_transport = error:local mail delivery is disabled bitch !
and this is the transport file
mycompany.com smtp:[]
SO I don't use mysql anymore. And so far, I don't think I will need it on this server.

My problem is now that I just builded a wonderfull openrelay server !! I thought that the "relay_domains" directive would catch up and refuse all the domains that doesn't match. Infact not ...

Any idea ? Maybe I should open a new thread more in adequation with this issue ?

Reply With Quote
Old 11th September 2008, 12:25
rapidos rapidos is offline
Junior Member
Join Date: Aug 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

It seems to work now that I changed smtpd_recipient_restrictions to check_relay_domains !!

Just have to test it in production mode now
Reply With Quote


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
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 15:33
procmail can't write Hellbound General 27 8th June 2009 22:51
Postfix reject connections gabrix Server Operation 27 25th January 2007 09:37
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 13:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 12:47

All times are GMT +2. The time now is 06:16.

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