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.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th September 2008, 13: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

hello,
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:[192.168.201.118]
192.168.201.118 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:

Code:
Sep  9 12:26:22 ptitux postfix/smtpd[16458]: warning: 172.25.100.8: hostname box.kremlin.mycompany.com verification failed: Name or service not known
Sep  9 12:26:22 ptitux postfix/smtpd[16458]: connect from unknown[172.25.100.8]
Sep  9 12:26:42 ptitux postfix/smtpd[16458]: NOQUEUE: reject: RCPT from unknown[172.25.100.8]: 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: 172.25.100.8

Any Idea or help would be appreciated!

Thanks a lot!
Reply With Quote
Sponsored Links
  #2  
Old 10th September 2008, 17:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in your 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
  #3  
Old 11th September 2008, 08:58
rapidos rapidos is offline
Junior Member
 
Join Date: Aug 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
the situation evolved a little bit :-)

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

Quote:
smtpd_banner = Ptitux smtp gateway (Win2k3)
myorigin = mycompany.com
mydestination =
mynetworks = 127.0.0.0/8 192.168.201.0/24 172.25.100.0/24
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
Quote:
mycompany.com smtp:[192.168.201.118]
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 ?

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

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


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


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