LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] External->Internal postfix

[ILUG] External->Internal postfix

Deim Agoston ago at idg.hu
Sat Feb 17 17:46:38 GMT 2001


Hello !

I've tried to setup two instances of postfix , on is on a "firewall'
the other is on the real gateway. I followed the faq's config (Running
postfix inside an intranet on the internal server and Running postfix on a
firewall on the external server). But now it doesn't work. And I don't
know why because I followed every single bit. Here are my postconf -ns and
the contents of the file..
On the external server ("firewall"):
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mydestination = $myhostname, carion.hu, localhost.carion.hu
mydomain = carion.hu
myhostname = mail.carion.hu
mynetworks = 192.168.0.0/24, 127.0.0.0/8, 212.108.196.110/32
myorigin = $mydomain
queue_directory = /var/spool/postfix
relay_domains = 
transport_maps = hash:/etc/postfix/transport

/etc/postfix/transport:
carion.hu       smtp:[mail.intranet]
.carion.hu      smtp:[mail.intranet]

On the internal host:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
always_bcc = sentinel at localhost
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
disable_dns_lookups = yes
header_checks = regexp:/etc/postfix/body_checks
home_mailbox = Maildir/
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mydestination = /etc/postfix/mydestination
mydomain = carion.hu
myhostname = mail.intranet
mynetworks = 212.108.196.110, 192.168.0.0/24, 127.0.0.0/8
myorigin = $mydomain
queue_directory = /var/spool/postfix
relayhost = firewall.carion.hu
transport_maps = /etc/postfix/transport

/etc/postfix/transport:

carion.hu       smtp:
.carion.hu      smtp:
mail.intranet   local:
localhost.carion.hu     local:

And now I just got the following messages :
Feb 17 18:08:36 mail postfix/trivial-rewrite[1296]: fatal: open
dictionary: need
 "type:name" form: /etc/postfix/transport
Feb 17 18:08:37 mail postfix/master[1000]: warning: process
/usr/libexec/postfix
/trivial-rewrite pid 1296 exit status 1
Feb 17 18:08:37 mail postfix/master[1000]: warning:
/usr/libexec/postfix/trivial
-rewrite: bad command startup -- throttling

Any help appriciated, thanks,
Ago





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell