Hmm, no one listening on localhost port 25 is weird. I must've munged something
up in master.cf, but I'm not sure what. Here's what it looks like currently:
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
# put in to support mailman
mailman unix - n n - - pipe
flags=FR user=mailman:mailman
argv=/usr/bin/mailman_wrapper.sh
${user} ${extension}
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
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
scache unix - - n - 1 scache
discard unix - - n - - discard
tlsmgr unix - - n 1000? 1 tlsmgr
465 inet n - n - - smtpd
# stuff added for reinjection/amavisd/maia mailguard
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o smtpd_milters=
-o local_header_rewrite_clients=
-o local_recipient_maps=
-o relay_recipient_maps=
-o
receive_override_options=no_header_body_checks,no_unknown_recipient_checks
I would have thought the "local" entry would mean a service was listening on
localhost port 25, but that must be incorrect given what was pointed out in an
earlier message.
Also, I did some more checking and found out that I've got maia mailguard
(amavisd) configured to re-inject mail that passes the spam filtering directly
to the exchange server. Someone on the maia users list suggested I change that
to re-inject it back into postfix, and configure postfix to deliver the mail to
either exchange or the unix box that hosts mailman. Is there a basic-level
howto on configuring postfix to do that?
- Mark
"Too much sanity may be madness! But maddest of all -- to see life as it is and
not as it should be."
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dario "subbia"
Cavallaro
Sent: Monday, December 08, 2008 7:24 AM
To: mouss
Cc: [email protected]
Subject: Re: Info on Filtering Mail based on subdomain
mouss ha scritto:
> can you show the contents of transport_maps?
>
And the content of alias map? As far as I can remember I had a similar
error and IU had made two mistakes:
1) listed in transport the domain and the destination;
2) no alias set in aliases;
And last but not least, there was no one listening on 127.0.0.1 on port 25.
Hth.
Dario "subbia" Cavallaro
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3671 (20081208) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3672 (20081208) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com