View previous topic :: View next topic |
Author |
Message |
biznatch Apprentice
Joined: 23 Jul 2004 Posts: 220 Location: Wichita, KS
|
Posted: Wed Aug 31, 2005 1:58 pm Post subject: Postfix relay_recipient_maps ignored [SOLVED] |
|
|
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 |
|
|
biznatch Apprentice
Joined: 23 Jul 2004 Posts: 220 Location: Wichita, KS
|
Posted: Wed Aug 31, 2005 2:13 pm Post subject: |
|
|
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 |
|
|
|