[Postfixbuch-users] Mails rejecten vor Postgrey
Maximilian Thoma
nospam at thoma.cc
Di Jul 17 12:57:07 CEST 2007
# reject_unauth_destination,
ohne diesen parameter machst du aus deinem mailserver ein openrelay !!!
deswegen wird er wahrscheinlich nicht starten.
Das sagt ja eigentlich schon die Fehlermeldung aus oder ??
"smtpd_recipient_restrictions": specify at least one working instance
of: check_relay_domains, __reject_unauth_destination__, reject, defer or
defer_if_permit
Gruß
Maximilian
R. Wilhelm schrieb:
> hi, da hab ich doch auch noch nen kleineres problem
>
> in der log steht :
>
> Jul 17 12:30:37 srv1 postfix/smtpd[16581]: fatal: parameter
> "smtpd_recipient_restrictions": specify at least one working instance of:
> check_relay_domains, reject_unauth_destination, reject, defer or
> defer_if_permit
> Jul 17 12:30:38 srv1 postfix/master[15526]: warning: process
> /usr/lib/postfix/smtpd pid 16581 exit status 1
> Jul 17 12:30:38 srv1 postfix/master[15526]: warning: /usr/lib/postfix/smtpd:
> bad command startup -- throttling
>
> so sieht meine main.cf aus
>
> ##
> # Postfix MTA Manager Main Configuration File;
> #
> # Please do NOT edit this file manually;
> #
>
> #
> # Postfix directory settings; These are critical for normal Postfix MTA
> functionallity;
> #
>
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> program_directory = /usr/lib/postfix
>
> #
> # Some common configuration parameters;
> #
>
> inet_interfaces = all
> mynetworks_style = host
>
> myhostname = srv1.online-webservice24.de
> mydomain = srv1.online-webservice24.de
>
> myorigin = $mydomain
>
> smtpd_banner = $myhostname ESMTP $mail_name
> # VHCS2 2.4 (Spartacus) Managed ESMTP 2.4.7.1
> setgid_group = postdrop
>
> #
> # Receiving messages parameters;
> #
>
> mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
> append_dot_mydomain = no
> append_at_myorigin = yes
> local_transport = local
> virtual_transport = virtual
> transport_maps = hash:/etc/postfix/vhcs2/transport
>
> #
> # Delivering local messages parameters;
> #
>
> mail_spool_directory = /var/spool/mail
> mailbox_size_limit = 0
> mailbox_command = procmail -a "$EXTENSION"
>
> biff = no
>
> alias_database = hash:/etc/aliases
>
> local_destination_recipient_limit = 1
> local_recipient_maps = unix:passwd.byname $alias_database
>
> unknown_local_recipient_reject_code = 550
>
> #
> # VHCS Autoresponder parameters;
> #
>
> vhcs2-arpl_destination_recipient_limit = 1
>
> #
> # Delivering virtual messages parameters;
> #
>
> virtual_mailbox_base = /var/spool/mail/virtual
> virtual_mailbox_limit = 0
>
> virtual_mailbox_domains = hash:/etc/postfix/vhcs2/domains
> virtual_mailbox_maps = hash:/etc/postfix/vhcs2/mailboxes
>
> virtual_alias_maps = hash:/etc/postfix/vhcs2/aliases
>
> virtual_minimum_uid = 107
> virtual_uid_maps = static:107
> virtual_gid_maps = static:8
>
> #uncomment the next line to generate "delayed mail" warnings
> delay_warning_time = 2d
>
> #
> # SASL paramters;
> #
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_local_domain = vhcs.net
> broken_sasl_auth_clients = yes
>
> smtpd_helo_required = yes
> #smtpd_client_restrictions =
> #smtpd_helo_restrictions =
> #smtpd_sender_restrictions =
> smtpd_recipient_restrictions =
> permit_mynetworks,
> permit_sasl_authenticated,
> # reject_unauth_destination,
> reject_unlisted_recipient,
> reject_unknown_sender_domain,
> reject_unknown_recipient_domain,
> reject_invalid_hostname,
> reject_unauth_pipelining,
> # reject_non_fqdn_sender,
> check_recipient_access hash:/etc/postfix/whilelist,
> # reject_non_fqdn_recipient,
> # reject_non_fqdn_hostname,
> check_sender_mx_access cidr:/etc/postfix/bogus_mx,
> check_client_access hash:/etc/postfix/dyn-host,
> check_policy_service inet:127.0.0.1:10028,
> # mime_header_checks=pcre:/etc/postfix/body_check,
>
>
> message_size_limit = 104857600
>
> #Amavis
> content_filter = smtp-amavis:[127.0.0.1]:10024
>
>
> PS: habe auch schon testhalber versiedenes auf kommentiert ...
> ich danke euch ...
>
Mehr Informationen über die Mailingliste Postfixbuch-users