|
|
|
|
|
|
| Author |
Message |
Amod Sutavane *nix forums beginner
Joined: 20 May 2005
Posts: 7
|
Posted: Sat Sep 03, 2005 10:32 am Post subject:
check_sender_access over pickup
|
|
|
Hi all,
I want to use check_sender_access to discard mails when i used
default_transport as uucp. How can override pickup to used
smtpd_recipient_restrictions??? I have tested wit SMTP to discard the
mails and it works fine.
here is the output of postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_transport = uucp:netcore
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix-2.1.4/html
inet_interfaces = all
mail_owner = postfix
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 500000
mydestination = /etc/mail/local-host-names localhost.$mydomain
mydomain = netcore.co.in
myhostname = nayanetserv1.netcore.co.in
mynetworks = 127.0.0.1/32
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.4/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.4/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = ESMTP ESMTP
smtpd_recipient_restrictions = permit_mynetworks,
check_sender_access hash:/etc/mail/access,
reject_invalid_hostname, reject_non_fqdn_recipient,
reject_non_fqdn_sender, reject_unknown_sender_domain,
reject_unknown_recipient_domain, reject_unauth_pipelining,
reject_unauth_destination,
smtpd_sasl_auth_enable = no
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_login_maps = hash:/etc/postfix/smtploginmaps
smtpd_sender_restrictions = permit_mynetworks,
transport_maps = hash:/etc/mail/mailertable
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/etc/mail/mbt, hash:/etc/mail/mbt.domain,
hash:/etc/mail/mbt.local
Pls. help me out to solve this issue.
Thanks in advance
Amod Sutavane. |
|
| Back to top |
|
 |
Magnus Bäck *nix forums Guru
Joined: 26 Feb 2005
Posts: 1366
|
Posted: Sat Sep 03, 2005 10:56 am Post subject:
Re: check_sender_access over pickup
|
|
|
On Saturday, September 03, 2005 at 14:20 CEST,
Amod Sutavane <amod@netcore.co.in> wrote:
| Quote: | I want to use check_sender_access to discard mails when i used
default_transport as uucp. How can override pickup to used
smtpd_recipient_restrictions??? I have tested wit SMTP to discard the
mails and it works fine.
|
sendmail(1)-submitted messages are not and cannot be subject to
SMTP restrictions. The only thing you can do (apart from submitting
messages via SMTP, of course) is have two Postfix instances where
the first receives the message from sendmail(1) and sends it to
the other instance via SMTP.
[...]
--
Magnus Bäck
magnus@dsek.lth.se |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 10:27 am | All times are GMT
|
|
Home Improvement | Ringtones | Looking for Credit Cards? | Mortgages | Online advertising
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|