niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Postfix
check_sender_access over pickup
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Amod Sutavane
*nix forums beginner


Joined: 20 May 2005
Posts: 7

PostPosted: Sat Sep 03, 2005 10:32 am    Post subject: check_sender_access over pickup Reply with quote

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

PostPosted: Sat Sep 03, 2005 10:56 am    Post subject: Re: check_sender_access over pickup Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 10:27 am | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts check_sender_access wildcards / regex ? Proft, Michael Postfix 2 Fri Jul 07, 2006 7:32 am
No new posts CIDR in check_sender_access? Bruce Lane Postfix 20 Sun Jun 18, 2006 9:25 am
No new posts FO SGI 320 vws (UK) pickup only Dave SGI/IRIX 1 Mon Jun 05, 2006 8:56 pm
No new posts FO SGI 320 vws (UK) pickup only Dave SGI/IRIX 0 Mon Jun 05, 2006 8:55 pm
No new posts public/pickup: No such device or address mtest001 Postfix 7 Tue Mar 14, 2006 6:32 pm

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
[ Time: 0.2586s ][ Queries: 16 (0.1837s) ][ GZIP on - Debug on ]