Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix relay_recipient_maps ignored [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
biznatch
Apprentice
Apprentice


Joined: 23 Jul 2004
Posts: 220
Location: Wichita, KS

PostPosted: Wed Aug 31, 2005 1:58 pm    Post subject: Postfix relay_recipient_maps ignored [SOLVED] Reply with quote

My new postfix gateway is not checking relay_recipient_maps. It simply passes the mail directly to the next hop. Any help would be great. Thanks.

Code:
# qpkg -I -v postfix
mail-mta/postfix-2.1.5-r2 *


Code:
# cat main.cf |grep relay_recipient_maps
# The relay_recipient_maps parameter specifies optional lookup tables
relay_recipient_maps = hash:/etc/postfix/relay_recipients


Code:
# ls -l /etc/postfix/relay_recipients*
-rw-r--r--  1 root root    24 Aug 31 08:31 /etc/postfix/relay_recipients
-rw-r--r--  1 root root 12288 Aug 31 08:31 /etc/postfix/relay_recipients.db


Code:
# cat master.cf |grep -v '#'
smtp      inet  n       -       n       -       -       smtpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
smtp-amavis     unix -        -       n     -       2  smtp
  -o smtp_data_done_timeout=1200
  -o smtp_send_xforward_command=yes

127.0.0.1:10025 inet n        -       n     -       -  smtpd
  -o content_filter=
  -o local_recipient_maps=
  -o relay_recipient_maps=
  -o smtpd_restriction_classes=
  -o smtpd_client_restrictions=
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
  -o strict_rfc821_envelopes=yes
  -o smtpd_error_sleep_time=0
  -o smtpd_soft_error_limit=1001
  -o smtpd_hard_error_limit=1000

_________________
While your waiting for your post to be answered, please help with unanswered posts.
Back to top
View user's profile Send private message
biznatch
Apprentice
Apprentice


Joined: 23 Jul 2004
Posts: 220
Location: Wichita, KS

PostPosted: Wed Aug 31, 2005 2:13 pm    Post subject: Reply with quote

I needed to comment out mydestination and add relay_domains to main.cf...

Code:
# cat /etc/postfix/main.cf |grep -v '#' |grep  relay_domains
relay_domains = $transport_maps

_________________
While your waiting for your post to be answered, please help with unanswered posts.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum