[Postfix espanol] Problemas con smtpd
Marcos Agüero
marcos.aguero en alltrading.es
Vie Nov 30 12:11:56 CET 2001
Hola,
Ultimamente, estoy teniendo problemas con postfix. En el log veo estas entradas:
Nov 30 12:56:46 getalife postfix-script: starting the Postfix mail system
Nov 30 12:56:46 getalife postfix/master[4978]: daemon started
Nov 30 12:57:05 getalife postfix/smtpd[4982]: fatal: invalid option: ?
Nov 30 12:57:06 getalife postfix/master[4978]: warning: process /usr/lib/postfix/smtpd pid 4982 exit status 1
Nov 30 12:57:06 getalife postfix/master[4978]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Nov 30 12:58:06 getalife postfix/smtpd[4992]: fatal: invalid option: ?
Nov 30 12:58:07 getalife postfix/master[4978]: warning: process /usr/lib/postfix/smtpd pid 4992 exit status 1
Nov 30 12:58:07 getalife postfix/master[4978]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Nov 30 12:59:08 getalife postfix/smtpd[4993]: fatal: invalid option: ?
Nov 30 12:59:09 getalife postfix/master[4978]: warning: process /usr/lib/postfix/smtpd pid 4993 exit status 1
Nov 30 12:59:09 getalife postfix/master[4978]: warning: /usr/lib/postfix/smtpd:
Esto ocurre cada cierto tiempo, no cuando recibe correo. Por otra parte, el correo se entrega normalmente y sin problemas.
Mi configuracion en main.cf, segun devuelve postconf es la siguiente:
2bounce_notice_recipient = postmaster
access_map_reject_code = 554
alias_database = hash:/etc/aliases
alias_maps = ldap:ldapalias
allow_mail_to_commands = alias,forward
allow_mail_to_files = alias,forward
allow_min_user = no
allow_percent_hack = yes
allow_untrusted_routing = no
always_bcc =
append_at_myorigin = yes
append_dot_mydomain = yes
best_mx_transport =
biff = no
body_checks =
bounce_notice_recipient = postmaster
bounce_size_limit = 50000
canonical_maps =
command_directory = /usr/sbin
command_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
command_time_limit = 1000
daemon_directory = /usr/lib/postfix
daemon_timeout = 18000
debug_peer_level = 2
debug_peer_list =
default_database_type = hash
default_destination_concurrency_limit = 10
default_destination_recipient_limit = 50
default_privs = nobody
default_process_limit = 50
default_transport = smtp
defer_transports =
delay_notice_recipient = postmaster
delay_warning_time = 0
deliver_lock_attempts = 5
deliver_lock_delay = 1
disable_dns_lookups = no
disable_vrfy_command = no
dont_remove = 0
double_bounce_sender = double-bounce
duplicate_filter_limit = 1000
empty_address_recipient = MAILER-DAEMON
error_notice_recipient = postmaster
expand_owner_alias = no
fallback_relay =
fallback_transport =
fork_attempts = 5
fork_delay = 1
forward_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
forward_path = $home/.forward${recipient_delimiter}${extension},$home/.forward
hash_queue_depth = 2
hash_queue_names = defer active bounce flush incoming deferred
header_checks =
header_size_limit = 102400
home_mailbox =
hopcount_limit = 50
ignore_mx_lookup_error = no
inet_interfaces = all
initial_destination_concurrency = 5
invalid_hostname_reject_code = 501
ipc_idle = 100
ipc_timeout = 3600
line_length_limit = 2048
local_command_shell =
local_destination_concurrency_limit = 2
local_destination_recipient_limit = 1
local_recipient_maps =
local_transport = local
luser_relay =
mail_name = Postfix
mail_owner = postfix
mail_spool_directory = /var/mail
mail_version = Postfix-19991231-pl11
mailbox_command =
mailbox_transport =
maps_rbl_domains = rbl.maps.vix.com
maps_rbl_reject_code = 554
masquerade_domains =
masquerade_exceptions =
max_idle = 100
max_use = 100
maximal_backoff_time = 4000
maximal_queue_lifetime = 5
message_size_limit = 10240000
minimal_backoff_time = 1000
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = lab.alltrading.es
myhostname = getalife.lab.alltrading.es
mynetworks = 127.0.0.0/8 192.168.60.0/24
myorigin = getalife.lab.alltrading.es
non_fqdn_reject_code = 504
notify_classes = resource,software
owner_request_special = yes
prepend_delivered_header = command, file, forward
process_id_directory = pid
program_directory = /usr/libexec/postfix
propagate_unmatched_extensions = canonical, virtual
qmgr_fudge_factor = 100
qmgr_message_active_limit = 1000
qmgr_message_recipient_limit = 10000
qmgr_site_hog_factor = 100
queue_directory = /var/spool/postfix
queue_minfree = 0
queue_run_delay = 1000
recipient_canonical_maps =
recipient_delimiter =
reject_code = 554
relay_domains = $mydestination
relay_domains_reject_code = 554
relayhost = [quake.alltrading.es]
relocated_maps =
sender_canonical_maps =
service_throttle_time = 60
smtp_connect_timeout = 0
smtp_data_done_timeout = 600
smtp_data_init_timeout = 120
smtp_data_xfer_timeout = 180
smtp_destination_concurrency_limit = $default_destination_concurrency_limit
smtp_destination_recipient_limit = $default_destination_recipient_limit
smtp_helo_timeout = 300
smtp_mail_timeout = 300
smtp_quit_timeout = 300
smtp_rcpt_timeout = 300
smtp_skip_4xx_greeting = no
smtp_skip_quit_response = yes
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions =
smtpd_delay_reject = yes
smtpd_error_sleep_time = 5
smtpd_etrn_restrictions =
smtpd_hard_error_limit = 100
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_junk_command_limit = 1000
smtpd_recipient_limit = 1000
smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains
smtpd_restriction_classes =
smtpd_sender_restrictions =
smtpd_soft_error_limit = 10
smtpd_timeout = 300
soft_bounce = no
stale_lock_time = 500
strict_rfc821_envelopes = no
sun_mailtool_compatibility = no
swap_bangpath = yes
transport_maps =
transport_retry_time = 60
trigger_timeout = 10
undisclosed_recipients_header = To: undisclosed-recipients:;
unknown_address_reject_code = 450
unknown_client_reject_code = 450
unknown_hostname_reject_code = 450
virtual_maps =
Y el master.cf tiene lo siguiente (al menos la lineas que considero relevantes):
smtp inet n - - - - smtpd
pickup fifo n n - 60 1 pickup
cleanup unix - - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
smtp unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
He probado a poner -v al smtpd pero no da mas informacion util. Si quereis puedo mandarlos el resultado de esto tambien.
¿Teneis alguna idea de que le pasa?
Un saludo y gracias.
-
Para quitarte de la lista enviar la linea "unsubscribe postfix-espanol" en
el cuerpo de un mensaje a majordomo en unicorn.ea4els.ampr.org
Más información sobre la lista de distribución Postfix-es