Displaying 20 results from an estimated 27 matches for "check_recipient_access".
2015 Apr 28
2
Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header
...lmtp (5)
1) I rely on default_destination_recipient_limit=1 in main.cf to split
each incoming mail into one stream per recipient.
2) smtp-split will receive one stream per recipient. Default
content_filter=smtp-to-me, followed by option
"smtpd_recipient_restrictions=permit_auth_destination,check_recipient_access,pcre:/usr/local/etc/postfix/filter-to-external.pcre,permit_mynetworks,reject"
means I stop processing restrictions if my server is the destination. If
my server is not the destination, the FILTER in check_recipient_access
will override the preceding smtp-to-me filter.
Both 1) and 2) smtpd...
2015 Apr 28
0
Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header
...on default_destination_recipient_limit=1 in main.cf to split
> each incoming mail into one stream per recipient.
> 2) smtp-split will receive one stream per recipient. Default
> content_filter=smtp-to-me, followed by option
> "smtpd_recipient_restrictions=permit_auth_destination,check_recipient_access,pcre:/usr/local/etc/postfix/filter-to-external.pcre,permit_mynetworks,reject"
> means I stop processing restrictions if my server is the destination. If
> my server is not the destination, the FILTER in check_recipient_access
> will override the preceding smtp-to-me filter.
>
&g...
2019 May 21
2
How to get original recipient from Postfix when using LMTP?
Many people prefer to use LMTP for delivery from postfix for better
efficiency but X-Original-to header support still missing after many
years. One affect of this is need to set
sieve_vacation_dont_check_recipient = yes which violate Sieve standard
and cause auto-replyies sent to messages that should not happen. Or
abandon LMTP. or abandon postfix??
So while feature request is stalled are
2019 May 22
1
How to get original recipient from Postfix when using LMTP?
...nt to messages that should not
>> happen. Or abandon LMTP. or abandon postfix??
>>
>> So while feature request is stalled are there any realistic
>> workarounds?
>
> add to smtp_recipient_restrictions, before permitting email but after
> all checks:
>
> check_recipient_access pcre:/etc/postfix/recipient_access.pcre
>
> # cat /etc/postfix/recipient_access.pcre
> /(.+)/ prepend X-Original-To: $1
Warning, do not do this unless you don't mind recipients of
multi-recipient emails to see a list of everyone who got a copy of the
email message, including BCC re...
2010 Feb 02
3
deny=yes in userdb
I would like deliver to reject certain users.
Since supposedly deliver only uses userdb, not passwd, I can't use deny=yes for that. Or does userdb support deny=yes?
Yes, I should rather reject them right in the MTA, but that currently takes too long to implement. Or how to reject gast* in postfix using nss authentication?
2019 Apr 12
2
Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header
...nation_recipient_limit=1 in main.cf to split
>> each incoming mail into one stream per recipient.
>> 2) smtp-split will receive one stream per recipient. Default
>> content_filter=smtp-to-me, followed by option
>> "smtpd_recipient_restrictions=permit_auth_destination,check_recipient_access,pcre:/usr/local/etc/postfix/filter-to-external.pcre,permit_mynetworks,reject"
>> means I stop processing restrictions if my server is the destination. If
>> my server is not the destination, the FILTER in check_recipient_access
>> will override the preceding smtp-to-me fil...
2009 Jun 11
3
unable to send mails via postfix/dovecot SASL
...x
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_generic_maps = hash:/etc/postfix/generic
smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/access, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
----...
2013 Apr 07
1
[Dovecot-de] Dovecot Quota via policy service abfragen
...tc/postfix/access_sender,
permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_helo_hostname,
reject_unlisted_recipient,
warn_if_reject check_policy_service inet:127.0.0.1:12340
reject_unknown_sender_domain,
check_sender_access pcre:/etc/postfix/umlaute.pcre,
check_recipient_access pcre:/etc/postfix/umlaute.pcre,
reject_unauth_destination,
reject_rbl_client bl.spamcop.net,
reject_rbl_client zen.spamhaus.org,
check_client_access cidr:/etc/postfix/client.cidr,
check_policy_service inet:127.0.0.1:10023
Andreas
2016 Aug 22
3
Catch-all with LMTP and Postfix
...it_mynetworks, permit_sasl_authenticated, reject_invalid_hostname,
reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname,
reject_non_fqdn_hostname, reject_non_fqdn_sender,
reject_non_fqdn_recipient, reject_unknown_sender_domain,
reject_unknown_recipient_domain, reject_unauth_destination,
check_recipient_access hash:/etc/postfix/recipient_access.hash,
check_recipient_access pcre:/etc/postfix/recipient_access.pcre,
check_sender_access hash:/etc/postfix/sender_access.hash,
check_sender_access pcre:/etc/postfix/sender_access.pcre,
reject_rbl_client b.barracudacentral.org, reject_rbl_client
zen.spamhaus....
2006 Dec 11
2
Problem in Postfix
...= postdrop
smtp_use_tls = yes
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-client.cf
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,check_recipient_access mysql:/etc/postfix/mysql-recipient.cf,reject_unauth_destination,permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-sender.cf
smtpd_tls_CAfile = /etc/postfix/ssl...
2012 Feb 02
10
postfix - reject of incoming mail due to helo check??
...smtpd_recipient_restrictions =
reject_unauth_pipelining,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_sender_access hash:/etc/postfix/sender_access,
check_recipient_access hash:/etc/postfix/roleaccount_exceptions,
check_helo_access pcre:/etc/postfix/helo_checks,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client dul.dnsbl.sorbs.net,
check_policy_service unix:postgrey/socket,
permit
# reject_unauthentica...
2019 May 22
0
How to get original recipient from Postfix when using LMTP?
...> standard and cause auto-replyies sent to messages that should not
> happen. Or abandon LMTP. or abandon postfix??
>
> So while feature request is stalled are there any realistic
> workarounds?
add to smtp_recipient_restrictions, before permitting email but after
all checks:
check_recipient_access pcre:/etc/postfix/recipient_access.pcre
# cat /etc/postfix/recipient_access.pcre
/(.+)/ prepend X-Original-To: $1
--
Tuomo Soini <tis at foobar.fi>
Foobar Linux services
+358 40 5240030
Foobar Oy <https://foobar.fi/>
2010 Nov 25
0
dovecot transport with postfix and recipient restrictions.
I'm using dovecot deliver with my postfix smtp.
In postfix configuration I have:
smtpd_recipient_restrictions =
check_recipient_access hash:/etc/postfix/maps/recipient_checks
and in recipient_checks I have:
mail at example.com REJECT.
It doesn't work.
Perhaps the recipient restriction has to be put in dovecot side?
How can I do this.
2011 Jul 28
0
dovecot quota feature request
...ostfix to prevent
bounce mail, the quota information is stored into mysql using dovecot
quotadict, it would be nice that dovecot can have an option to switch
the quota check with (used space < quota) instead of (used space+mail
size < quota), so that i can write a simple sql statement to
check_recipient_access to reject those mail, thanks.
Shing
2007 Sep 07
1
Restrict User on Sending Mail
...dress (i.e.
gmail, yahoo) to not send mail on restricted users but
the vice versa I can not do. Is there anybody here
that have experience in doing so. Please help. By the
way, I am using Postfix on top of CentOS 4.5. Below
are some of the entries in main.cf:
smtpd_recipient_restrictions =
check_recipient_access
hash:/etc/postfix/access,
reject_invalid_hostname,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination
smtpd_client_restrictions = check_client_access
hash:/etc/postfix/re...
2012 Aug 10
2
postfix mysql quota map to dovecot dict in mysql
currently dovecot dict is
CREATE TABLE IF NOT EXISTS `quota` (
`username` varchar(100) COLLATE latin1_general_ci NOT NULL,
`bytes` bigint(20) NOT NULL DEFAULT '0',
`messages` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
there is not field that says how much quota each user have, so one cant
2014 Jul 04
1
Disable user login for a few seconds ?
Hi all,
I need to move e-mail files of my users from one file system to another.
I use a MySQL backend on Dovecot 2.1.
How can I do to disable temporary an account while moving files ?
I have an "active" bit in my DB, but if I set it to 0, my MX servers are
bouncing mails.
How can I do to disable temporary an account ? In fact, I need dovecot
not to do any change on files...
I
2009 Jan 19
0
Reject message if user is over quota. 2/3 solution for Postfix w/ PostgreSQL
...Maybe someone of you would provide ideas for handling alias addresses.
The procedure is designed for global quota settings. If one of you is
using quota settings per user, you have to modify the procedure.
Integrating in main.cf:
smtpd_recipient_restrictions =
...
reject_unlisted_recipient
check_recipient_access pgsql:/etc/postfix/virtual_global_quota_check.cf
...
virtual_global_quota_check.cf:
# The hosts that Postfix will try to connect to
hosts = localhost
# The user name and password to log into the pgsql server.
user = $Your_Postfix_database_user
password = $PASSWORD
# The database name on the serv...
2011 Jul 27
1
Store quota on passwd-file?? Not work
Hello all, I have installed Dovecot 1.2.15 and Postfix 2.7.1 on my Debian 6.This install no include MySQL, I prefer to store Password/User in a file... File /etc/dovecot/passwd contains :user2 at domain.com:{CRAM-MD5}::::userdb_mail=maildir:~/Maildir userdb_quota_rule=*:bytes=300M File /etc/dovecot/users :user2 at domain.com::3000:3000::/home/vmail/domain.com/user2/:/bin/false::
What is the
2005 Jun 29
2
Postfix / Postini question
I have a mail server that handles several domains. One of these domains has
decided to use Postini. For those not familiar with Postini, you set your MX
records to use their mail servers. They filter mail, and deliver you only the
clean virus/spam free mail. The idea is to only allow incoming mail from their
mail servers so spammers are unable to send to your mail server directly. This
is