Postfix and access.db

This is a discussion on Postfix and access.db within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi there I dont know why my postfix configuration does not work with my /etc/postfix/access.db In crontab ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-16-2007
Juerg Schwarz
 
Posts: n/a
Default Postfix and access.db

Hi there

I dont know why my postfix configuration does not work with my
/etc/postfix/access.db

In crontab i do the following:

05 * * * * root rsync -avz de-mirror-1.uceprotect.net::UCE-PFSM-2
/etc/postfix
07 * * * * root cat /etc/postfix/myaccess.lst >>/etc/postfix/access
08 * * * * root postmap /etc/postfix/access < /etc/postfix/access

the myaccess.lst looks: (this i use for testing a specific network from
where i do sending some mails to adress)

213.165.64 571 Net 213.165.64.0/24 is Protected in /etc/postfix/myaccess.lst

So i can add some more ip's in myaccess.lst

and here my main.cf: (only the relevant stuff i hope)

smtp_helo_required = yes
smtp_client_restrictions =
smtp_helo_restrictions =
smtpd_sender_restrictions = reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_rhsbl_sender dsn.rfc-ignorant.org,
permit_mynetworks,
check_sender_access hash:/etc/postfix/access


smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination,
reject_invalid_hostname,
reject_unknown_hostname,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
check_sender_access hash:/etc/postfix/access,
check_recipient_access hash:/etc/postfix/access,
reject_rbl_client relays.ordb.org,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client sbl.spamhaus.org,
reject_rbl_client dnsbl.antispam.or.id,
reject_rhsbl_client blackhole.securitysage.com,
reject_rhsbl_sender blackhole.securitysage.com,
reject_rhsbl_sender dsn.rfc-ignorant.org,
reject_unverified_sender

maps_rbl_domains = relays.osirusoft.com,
blackholes.mail-abuse.org


any hints???

Juerg
Reply With Quote
  #2 (permalink)  
Old 07-16-2007
Alexander Dalloz
 
Posts: n/a
Default Re: Postfix and access.db

Am Mon, 16 Jul 2007 12:42:58 +0200 schrieb Juerg Schwarz:

> Hi there
>
> I dont know why my postfix configuration does not work with my
> /etc/postfix/access.db


What does that mean? "Does not work" is no valid problem description.

> the myaccess.lst looks: (this i use for testing a specific network from
> where i do sending some mails to adress)
>
> 213.165.64 571 Net 213.165.64.0/24 is Protected in
> /etc/postfix/myaccess.lst


What kind of output is that? Is that a result of a manual postmap quesry?

> and here my main.cf: (only the relevant stuff i hope)


`postconf -n" output is much more reliable.

> any hints???


Please provide details from your mail log which show unexpected results.

> Juerg


Alexander
Reply With Quote
  #3 (permalink)  
Old 07-16-2007
Juerg Schwarz
 
Posts: n/a
Default Re: Postfix and access.db

Alexander Dalloz schrieb:
> Am Mon, 16 Jul 2007 12:42:58 +0200 schrieb Juerg Schwarz:
>
>> Hi there
>>
>> I dont know why my postfix configuration does not work with my
>> /etc/postfix/access.db

>
> What does that mean? "Does not work" is no valid problem description.
>
>> the myaccess.lst looks: (this i use for testing a specific network from
>> where i do sending some mails to adress)
>>
>> 213.165.64 571 Net 213.165.64.0/24 is Protected in
>> /etc/postfix/myaccess.lst

>
> What kind of output is that? Is that a result of a manual postmap quesry?
>
>> and here my main.cf: (only the relevant stuff i hope)

>
> `postconf -n" output is much more reliable.
>
>> any hints???

>
> Please provide details from your mail log which show unexpected results.
>
>> Juerg

>
> Alexander


Ok problem solved. It worked after i put the following line to the
main.cf: here on this markers <<<<<<<<<<<<<<<<<<

smtpd_sender_restrictions = reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_rhsbl_sender dsn.rfc-ignorant.org,
permit_mynetworks,
check_sender_access hash:/etc/postfix/access,
check_client_access hash:/etc/postfix/access <<<<<<<<<<<<<

Thanks anyway

juerg
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:56 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0