Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: [Lug-bg] Debian Postfix - adduser --force-badname


  • Subject: Re: [Lug-bg] Debian Postfix - adduser --force-badname
  • From: Yavor Atanasov <atanasov@xxxxxxxxxx>
  • Date: Tue, 13 Nov 2007 09:51:29 +0200

Georgi Alexandrov wrote:
> Yavor Atanasov wrote:
>   
>> При създаване на потребител от типа Ime.Familia с опция --force-badname
>> всичко минава нормално, но след това при опит да се изпрати поща на този
>> потребител се получава следното:
>>
>> Nov 12 15:33:00 mail postfix/smtpd[1112]: NOQUEUE: reject: RCPT from
>> name2.com[aaa.bbb.ccc.ddd]: 550 5.1.1 <Ime.Familia@xxxxxxxxx>: Recipient
>> address rejected: User unknown in local recipient table;
>> from=<name@xxxxxxxxx> to=<Ime.Familia@xxxxxxxxx> proto=ESMTP
>> helo=<name2.com>
>>
>> Явор Атанасов
>>     
> <snip>
>
> Гадателския боб ни свърши. Дай повече информация за конфигурацията на
> postfix (main.cf). Както и дали горното минава ако в името няма "."
> (малко вероятно, но ти започваш със него).
>   
Ето main.cf. А за точката си прав. Не минава и без нея.
---------------------------------------------------------------------------------------------------------------
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
delay_warning_time = 4h

myhostname = mail.domain.bg
alias_maps = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = domain.bg, mail.domain.bg, mailold.domain.bg
relayhost =
mynetworks = 127.0.0.0/8, 192.168.0.0/24, 192.168.1.0/24, 5.0.0.0/8, 
aaa.bbb.ccc.ddd/28, eee.fff.ggg.hhh/32
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
mailbox_command = /usr/bin/maildrop
content_filter = smtp-amavis:[127.0.0.1]:10024

smtpd_restriction_classes =
 verify_sender,
 verify_domain_client,
 verify_domain_helo,
 verify_domain_sender,
verify_sender = reject_unverified_sender, permit

verify_domain_client =
 check_client_access hash:/etc/postfix/maps/bad_domains,
 check_client_access regexp:/etc/postfix/maps/text_domain_client_mismatch,
 reject

verify_domain_helo =
 check_helo_access hash:/etc/postfix/maps/bad_domains,
 check_client_access regexp:/etc/postfix/maps/text_domain_helo_mismatch,
 reject

verify_domain_sender =
 check_sender_access hash:/etc/postfix/maps/bad_domains,
 check_client_access regexp:/etc/postfix/maps/text_domain_sender_mismatch,
 reject


smtpd_recipient_restrictions =
        permit_mynetworks,
    check_recipient_access hash:/etc/postfix/recipient_access,
    check_sender_access hash:/etc/postfix/maps/blockmail,
    permit_sasl_authenticated,
        reject_unauth_destination,
    reject_rhsbl_client blackhole.securitysage.com,
    reject_rhsbl_sender blackhole.securitysage.com,
    reject_rhsbl_sender dsn.rfc-ignorant.org,
    check_client_access hash:/etc/postfix/maps/whitelist.new,
    check_sender_access hash:/etc/postfix/maps/verify_sender,
    check_sender_access hash:/etc/postfix/maps/verify_domain,
    check_helo_access hash:/etc/postfix/maps/verify_helo,
 permit_tls_clientcerts,
 reject_non_fqdn_recipient,
 reject_invalid_hostname,
 reject_unauth_pipelining,
 reject_non_fqdn_sender,
 reject_unknown_sender_domain,
 reject_unknown_hostname,
 reject_unknown_recipient_domain,
 check_policy_service unix:private/policy,
 reject_rbl_client dnsbl.sorbs.net,
 reject_rbl_client bl.spamcop.net,
 reject_rbl_client relays.ordb.org,
 reject_rbl_client sbl-xbl.spamhaus.org,
 reject_rbl_client cbl.abuseat.org,
 reject_rbl_client dul.dnsbl.sorbs.net,
 reject_rbl_client list.dsbl.org,
 reject_rbl_client opm.blitzed.org,
 reject_rbl_client sbl.spamhaus.org,
 check_policy_service inet:127.0.0.1:60000,
 permit

strict_rfc821_envelopes = yes

header_checks = regexp:/etc/postfix/maps/header_checks
mime_header_checks = regexp:/etc/postfix/maps/mime_header_checks
body_checks = regexp:/etc/postfix/maps/body_checks

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes

smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/ssl/newkey.pem
smtpd_tls_cert_file = /etc/postfix/ssl/newcert.pem
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
message_size_limit = 52428800
smtpd_helo_required = yes
smtpd_data_restrictions = reject_unauth_pipelining, permit
--------------------------------------------------------------------------------------------------------

Явор Атанасов
_______________________________________________
Lug-bg mailing list
Lug-bg@xxxxxxxxxxxxxxxxxx
http://linux-bulgaria.org/mailman/listinfo/lug-bg


 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.