DB oriented mail service

How do I start off with a requirement that is a SERVICE that interacts with SQL server to determine where,what, when to send emails to ??
thanks

The requirements are like this
- A Windows based program inserts rows into SQLSERVER DB with all the information to send out an email like SENDER EMAIL, RECIEPIENT EMAIL, SUBJECT, BODY, PRIORITY and finally SENTSTATUS.
when ever there are is a row with SENTSTATUS = 0 , the java program should read the info in that row and then send an email....there might be things like SCHEDULED_DATE which might be a future date....
how shud i go about writing a service that keeps polling the database for rows with SENTSTATUS = 0 ??
thansk

Similar Messages

  • Outgoing mail service offline charter

    I cannot send email from my imac. Out going mail service shows offline with no other options. I can send email from my iphone.  Help?

    maybe some some helphere
    http://support.apple.com/kb/index?page=search&src=support_site.kbase.search&loca le=en_US&q=off%20line%20email%2010.6.6
    http://support.apple.com/kb/index?page=search&product=&q=send%20email%20iPhone&s rc=support_site.kbase.search.searchresults

  • Setting up mail services. Name of server needs to be changed?

    I setup my xserve with snow leopard. By default it was named server.ourcompanyname.private.
    Here is my problem Im trying to host our company web site along with mail services. Need to bring all this in-house.
    I have with my web provider 5 dedicated IP address, and router address. I bridged the modem to an airport extreme to hand out all the ip address and DHCP, this was done with apple support.
    I need advise on how to go about setting up all the services. Can the name of the server be changed without causing major problems?
    Any advise would be appreciated.

    One other note. Can I change the .private. to .com and will this help me setup mail and hosting services?

  • ERROR: Cannot start mail services, configuration directory does not exist

    I'm running an Xserve G5 with one internal boot drive and one RAID using the other two internal drives. I used Apple's Disk Utility to set-up the RAID.
    Back in early December, I moved my mail database and mail store to the RAID. Ever since, when I restart the server, the mailaccess.log generates the following error:
    Jan 23 18:51:33 mail master[47]: ERROR: Cannot start mail services, configuration directory does not exist: /Volumes/RAID/mail.data/db
    I'm speculating this is a timing error that gets created when Postfix initially can't find the RAID. Then, it must try again and find it because the error message does not repeat and mail starts running.
    Is this something to worry about?

    Hi Joel,
    You're right, it's a timing issues. The mail system is ready for work before the file system is mounted. It's benign.
    Jeff

  • How do I set up Mail service for simple IMAP with SSL?

    This should be easy but something isn't working. I have an Xserve with 10.6. I've enabled the Mail service, and want to add this server as an Account under Entourage. I've put in the IP address, my username/password, etc. but something isn't working. It appears under the Accounts folder tree, but when I try to send an email, I have a window that says "4.7.0 TLS not available due to local problem", Error -17099". I've also seen errors telling me the password is being sent in cleartext and I can't see where I enable the same (SSL, password needed) settings on the client and the server menus. Can someone clue me in - what are the right settings on both ends to have a simple IMAP w/o cleartext passwords? I had this working fine in 10.4 Server... Thanks!
    Mike

    I see dropdown menus for SMTP SSL and IMAP/POP SSL. I have them both set as "Require"
    Do not to this if your server is handling incoming mail from outside your network.
    Few remote mail servers will use SSL, so if your server requires SSL then you will not be able to receive mail from outside your domain.
    'Use', on the other hand, advertises the fact your server supports SSL, so clients and remote servers can use if if they like, but this still allows other mail in.
    What should "Authentication" be - "Login" or "Plain"
    Do not use Plain unless you absolutely trust all your clients (i.e. they're all on a LAN or all using SSL). Plain sends an unencrypted password over the wire, which is susceptible to sniffing.
    what will the client be using?
    Whatever you set it to.
    The client complains about a correct root certificate not being installed).
    Are you using a self-signed certificate? if so, you're going to get that unless you do a lot of extra work. Getting a real certificate from a trusted authority should resolve this.
    As for the slow connections, the use of SSL shouldn't significantly impact connection or delivery/transfer times, so something else is amiss.

  • Why cant i disable mail service ?

    Mail service got enabled when I enabled some other services (don't know which one) i checked a couple and it got enabled, i tried to disable it then but it wouldn't let me, back then i didn't pay much attention to it so of course it's not configured. Right now the server is going crazy with disk IO, ran iotop and found out there are 2 processes to blame, 1 is mds (i'll murder spotlight soon) and the other is qmgr which from the man page i found it's mail related, my mail is hosted on gmail so i have no intention of using this service. If i click stop nothing happends, same if i uncheck it under services.
    this is the ouput on the syslog when i try to stop
    servermgrd[69]: -[AccountsRequestHandler(AccountsOpenDirectoryHelpers) syncClientServicesConfigRecord]: Error writing ClientServices config record: Error Domain=com.apple.OpenDirectory Code=4001 UserInfo=0x10652ad30 "Unable to set value or values for dsAttrTypeStandard:XMLPlist in the record ClientServices."
    servermgr_info: markrunning_servicesconfigured(): marked running services configured: com.apple.ServerAdmin.DNS, com.apple.ServerAdmin.SWUpdate, com.apple.ServerAdmin.Web, com.apple.ServerAdmin.NFS, com.apple.ServerAdmin.DirectoryServices
    also, my syslog is full of
    postfix/qmgr[3830]: warning: connect #1 to subsystem private/rewrite: Connection refused
    I'm guessing it's required by some other service, i currently have...
    DNS
    Mail -> DIE
    NFS
    Open Directory
    Software Update
    Web
    Xgrid - Stopped ( just testing )
    Is there any way to kill it, or is my only way around it to figure out what's wrong with it (no one is using it for mail so i don't get why is it so busy).

    Unchecked 'Enable SMTP', 'Enable IMAP' and 'Enable POP', then checked 'Deliver to /var/mail
    That seemed to 'disable the mail service'
    As for disk usage, i'm running a cron job every minute so que queue had close to 6k mails it couldn't deliver. deleted them all " sudo postsuper -d ALL " and redirected output on the cron job to /dev/null

  • Mail Services connection times out  after 10.5.8 - 10.6.4 upgrade

    I have been running a mail server on my macosxserver02.binghamton.edu (128.226.xx.x) for Podcast Producer email notifications only. The mail service has been running fine until I recently upgraded the server to Apple's latest server software: Snow Leopard Server (10.6.4). 
    After the upgrade I'm no longer able to receive mail to the mail server from outside it's domain (macosxserver02.binghamton.edu).  I can send and receive mail locally from within that domain. I can send mail outside of the domain without any trouble to my personal email account [email protected], but not my work account: [email protected]. If I try to send from outside the domain -- say with my Binghamton Univ account -- the mail bounces back with this message:
    Delivery to the following recipient has been delayed:
        [email protected]
    Message will be retried for 2 more day(s)
    Technical details of temporary failure: 
    The recipient server did not accept our requests to connect. Learn more at http://mail.google.com/support/bin/answer.py?answer=7720 
    [macosxserver02.binghamton.edu (1): Connection timed out]
    ---- Original message -----
    Received: by 10.224.102.202 with SMTP id h10mr6012071qao.49.1277903965341;
    Wed, 30 Jun 2010 06:19:25 -0700 (PDT)
    Return-Path: <[email protected]>
    Received: from [128.226.62.7] ([128.226.62.7])
    by mx.google.com with ESMTPS id v20sm41975621qce.46.2010.06.30.06.19.24
    (version=TLSv1/SSLv3 cipher=RC4-MD5);
    Wed, 30 Jun 2010 06:19:24 -0700 (PDT)
    From: Cheryl Tarbox <[email protected]>
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    Subject: another attempt
    Date: Wed, 30 Jun 2010 09:19:22 -0400
    Message-Id: <[email protected]>
    To: [email protected],
    [email protected]
    Mime-Version: 1.0 (Apple Message framework v1078)
    X-Mailer: Apple Mail (2.1078)
    One thing to note about the .binghamton.edu domain is that we recently switched to Google Mail and .binghamton.edu is our branded domain within google.com.
    DNS is managed on another server. I had an MX record added to my server this morning.
    I have these ports open on my firewall: 143, 993, 25, 587 (POP is not enabled)
    In ServerAdmin>Mail>Settings>Relay 'Accept SMTP relays only from these hosts and networks' is checked with
    127.0.0.0/8
    128.226.62.0/26 (my local subnet)
    In ServerAdmin>Mail>Settings>Filters Junk Mail and Virus filtering is not enabled, so greylisting should not be a problem. I did confirm this line in main.cf: smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reje ct_unauth_destination permit
    10MB quota is set, Mailing Lists not enabled, Logging set at Information
    In ServerAdmin>Mail>Settings>Advanced>Security I am not using SSL. I do have a valid certificate that I would like to use after I get this back up and running.
    In ServerAdmin>Mail>Settings>Hosting 'Include server's domain as local host alias' is checked with
    localhost
    binghamton.edu
    Virtual hosting is not enabled.
    Here is the output of: postconf -n:
    macosxserver02:~ academic$ postconf -n
    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 = $double_bounce_sender
    address_verify_sender_dependent_relayhost_maps = $sender_dependent_relayhost_maps
    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
    allow_mail_to_commands = alias, forward
    allow_mail_to_files = alias, forward
    always_bcc =
    anvil_rate_time_unit = 60s
    anvil_status_update_time = 600s
    application_event_drain_time = 100s
    authorized_flush_users = static:anyone
    authorized_mailq_users = static:anyone
    authorized_submit_users = static:anyone
    backwards_bounce_logfile_compatibility = yes
    berkeley_db_create_buffer_size = 16777216
    berkeley_db_read_buffer_size = 131072
    best_mx_transport =
    body_checks_size_limit = 51200
    bounce_notice_recipient = postmaster
    bounce_queue_lifetime = 5d
    bounce_service_name = bounce
    bounce_size_limit = 50000
    bounce_template_file =
    canonical_classes = envelope_sender, envelope_recipient, header_sender, header_recipient
    check_for_od_forward = yes
    cleanup_service_name = cleanup
    command_directory = /usr/sbin
    command_execution_directory =
    command_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
    command_time_limit = 1000s
    config_directory = /etc/postfix
    connection_cache_protocol_timeout = 5s
    connection_cache_service_name = scache
    connection_cache_status_update_time = 600s
    connection_cache_ttl_limit = 2s
    content_filter =
    cyrus_sasl_config_path =
    daemon_directory = /usr/libexec/postfix
    daemon_timeout = 18000s
    data_directory = /var/lib/postfix
    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_failed_cohort_limit = 1
    default_destination_concurrency_limit = 20
    default_destination_concurrency_negative_feedback = 1
    default_destination_concurrency_positive_feedback = 1
    default_destination_rate_delay = 0s
    default_destination_recipient_limit = 50
    default_extra_recipient_limit = 1000
    default_minimum_delivery_slots = 3
    default_privs = nobody
    default_process_limit = 100
    default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason}
    default_recipient_limit = 20000
    default_recipient_refill_delay = 5s
    default_recipient_refill_limit = 100
    default_transport = smtp
    default_verp_delimiters = +=
    defer_code = 450
    defer_service_name = defer
    defer_transports =
    delay_logging_resolution_limit = 2
    delay_notice_recipient = postmaster
    delay_warning_time = 0h
    deliver_lock_attempts = 20
    deliver_lock_delay = 1s
    destination_concurrency_feedback_debug = no
    detect_8bit_encoding_header = yes
    dont_remove = 0
    double_bounce_sender = double-bounce
    duplicate_filter_limit = 1000
    empty_address_recipient = MAILER-DAEMON
    empty_address_relayhost_maps_lookup_key =
    enable_original_recipient = yes
    enable_server_options = yes
    error_notice_recipient = postmaster
    error_service_name = error
    execution_directory_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
    export_environment = TZ MAIL_CONFIG LANG
    fallback_transport =
    fallback_transport_maps =
    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
    frozen_delivered_to = yes
    hash_queue_depth = 1
    hash_queue_names = deferred,defer
    header_address_token_limit = 10240
    header_checks =
    header_size_limit = 102400
    hopcount_limit = 50
    html_directory = no
    import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY LANG=C
    in_flow_delay = 1s
    inet_interfaces = all
    inet_protocols = ipv4
    initial_destination_concurrency = 5
    internal_mail_filter_classes =
    invalid_hostname_reject_code = 501
    ipc_idle = 5s
    ipc_timeout = 3600s
    ipc_ttl = 1000s
    line_length_limit = 2048
    lmtp_bind_address =
    lmtp_bind_address6 =
    lmtp_body_checks =
    lmtp_cname_overrides_servername = no
    lmtp_connect_timeout = 0s
    lmtp_connection_cache_destinations =
    lmtp_connection_cache_on_demand = yes
    lmtp_connection_cache_time_limit = 2s
    lmtp_connection_reuse_time_limit = 300s
    lmtp_data_done_timeout = 600s
    lmtp_data_init_timeout = 120s
    lmtp_data_xfer_timeout = 180s
    lmtp_defer_if_no_mx_address_found = no
    lmtp_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
    lmtp_destination_concurrency_limit = $default_destination_concurrency_limit
    lmtp_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
    lmtp_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
    lmtp_destination_rate_delay = $default_destination_rate_delay
    lmtp_destination_recipient_limit = $default_destination_recipient_limit
    lmtp_discard_lhlo_keyword_address_maps =
    lmtp_discard_lhlo_keywords =
    lmtp_enforce_tls = no
    lmtp_generic_maps =
    lmtp_header_checks =
    lmtp_host_lookup = dns
    lmtp_initial_destination_concurrency = $initial_destination_concurrency
    lmtp_lhlo_name = $myhostname
    lmtp_lhlo_timeout = 300s
    lmtp_line_length_limit = 990
    lmtp_mail_timeout = 300s
    lmtp_mime_header_checks =
    lmtp_mx_address_limit = 5
    lmtp_mx_session_limit = 2
    lmtp_nested_header_checks =
    lmtp_pix_workaround_delay_time = 10s
    lmtp_pix_workaround_maps =
    lmtp_pix_workaround_threshold_time = 500s
    lmtp_pix_workarounds = disable_esmtp,delay_dotcrlf
    lmtp_quit_timeout = 300s
    lmtp_quote_rfc821_envelope = yes
    lmtp_randomize_addresses = yes
    lmtp_rcpt_timeout = 300s
    lmtp_rset_timeout = 20s
    lmtp_sasl_auth_cache_name =
    lmtp_sasl_auth_cache_time = 90d
    lmtp_sasl_auth_soft_bounce = yes
    lmtp_sasl_mechanism_filter =
    lmtp_sasl_path =
    lmtp_sasl_security_options = noplaintext, noanonymous
    lmtp_sasl_tls_security_options = $lmtp_sasl_security_options
    lmtp_sasl_tls_verified_security_options = $lmtp_sasl_tls_security_options
    lmtp_sasl_type = cyrus
    lmtp_send_xforward_command = no
    lmtp_sender_dependent_authentication = no
    lmtp_skip_5xx_greeting = yes
    lmtp_starttls_timeout = 300s
    lmtp_tcp_port = 24
    lmtp_tls_CAfile =
    lmtp_tls_CApath =
    lmtp_tls_cert_file =
    lmtp_tls_dcert_file =
    lmtp_tls_dkey_file = $lmtp_tls_dcert_file
    lmtp_tls_enforce_peername = yes
    lmtp_tls_exclude_ciphers =
    lmtp_tls_fingerprint_cert_match =
    lmtp_tls_fingerprint_digest = md5
    lmtp_tls_key_file = $lmtp_tls_cert_file
    lmtp_tls_loglevel = 0
    lmtp_tls_mandatory_ciphers = medium
    lmtp_tls_mandatory_exclude_ciphers =
    lmtp_tls_mandatory_protocols = SSLv3, TLSv1
    lmtp_tls_note_starttls_offer = no
    lmtp_tls_per_site =
    lmtp_tls_policy_maps =
    lmtp_tls_scert_verifydepth = 9
    lmtp_tls_secure_cert_match = nexthop
    lmtp_tls_security_level =
    lmtp_tls_session_cache_database =
    lmtp_tls_session_cache_timeout = 3600s
    lmtp_tls_verify_cert_match = hostname
    lmtp_use_tls = no
    lmtp_xforward_timeout = 300s
    local_command_shell =
    local_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
    local_destination_concurrency_limit = 2
    local_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
    local_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
    local_destination_rate_delay = $default_destination_rate_delay
    local_destination_recipient_limit = 1
    local_header_rewrite_clients = permit_inet_interfaces
    local_initial_destination_concurrency = $initial_destination_concurrency
    local_recipient_maps = proxy:unix:passwd.byname $alias_maps
    local_transport = local:$myhostname
    luser_relay = pcastadmin
    mail_name = Postfix
    mail_owner = _postfix
    mail_release_date = 20080902
    mail_spool_directory = /var/mail
    mail_version = 2.5.5
    mailbox_command =
    mailbox_command_maps =
    mailbox_delivery_lock = flock, dotlock
    mailbox_size_limit = 0
    mailbox_transport = dovecot
    mailbox_transport_maps =
    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 = 4000s
    maximal_queue_lifetime = 5d
    message_reject_characters =
    message_size_limit = 10485760
    message_strip_characters =
    milter_command_timeout = 30s
    milter_connect_macros = j {daemon_name} v
    milter_connect_timeout = 30s
    milter_content_timeout = 300s
    milter_data_macros = i
    milter_default_action = tempfail
    milter_end_of_data_macros = i
    milter_end_of_header_macros = i
    milter_helo_macros = {tls_version} {cipher} {cipher_bits} {cert_subject} {cert_issuer}
    milter_macro_daemon_name = $myhostname
    milter_macro_v = $mail_name $mail_version
    milter_mail_macros = i {auth_type} {auth_authen} {auth_author} {mail_addr}
    milter_protocol = 2
    milter_rcpt_macros = i {rcpt_addr}
    milter_unknown_command_macros =
    mime_boundary_length_limit = 2048
    mime_header_checks = $header_checks
    mime_nesting_limit = 100
    minimal_backoff_time = 300s
    multi_recipient_bounce_reject_code = 550
    mydestination = $myhostname, localhost.$mydomain, localhost, binghamton.edu, $mydomain
    mydomain = binghamton.edu
    mydomain_fallback = localhost
    myhostname = macosxserver02.binghamton.edu
    mynetworks = 127.0.0.0/8,128.226.62.0/26
    mynetworks_style = subnet
    myorigin = $myhostname
    nested_header_checks = $header_checks
    newaliases_path = /usr/bin/newaliases
    non_fqdn_reject_code = 504
    non_smtpd_milters =
    notify_classes = resource, software
    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
    plaintext_reject_code = 450
    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 $sender_bcc_maps $recipient_bcc_maps $smtp_generic_maps $lmtp_generic_maps
    proxy_write_maps = $smtp_sasl_auth_cache_name $lmtp_sasl_auth_cache_name
    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_client_port_logging = no
    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 = 300s
    queue_service_name = qmgr
    rbl_reply_maps =
    readme_directory = /usr/share/doc/postfix
    receive_override_options =
    recipient_bcc_maps =
    recipient_canonical_classes = envelope_recipient, header_recipient
    reject_code = 554
    relay_clientcerts =
    relay_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
    relay_destination_concurrency_limit = $default_destination_concurrency_limit
    relay_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
    relay_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
    relay_destination_rate_delay = $default_destination_rate_delay
    relay_destination_recipient_limit = $default_destination_recipient_limit
    relay_domains = $mydestination
    relay_domains_reject_code = 554
    relay_initial_destination_concurrency = $initial_destination_concurrency
    relay_recipient_maps =
    relay_transport = relay
    relayhost =
    relocated_maps =
    remote_header_rewrite_domain =
    resolve_null_domain = no
    resolve_numeric_domain = no
    rewrite_service_name = rewrite
    sample_directory = /usr/share/doc/postfix/examples
    send_cyrus_sasl_authzid = no
    sender_bcc_maps =
    sender_canonical_classes = envelope_sender, header_sender
    sender_canonical_maps =
    sender_dependent_relayhost_maps =
    sendmail_path = /usr/sbin/sendmail
    service_throttle_time = 60s
    setgid_group = _postdrop
    showq_service_name = showq
    smtp_bind_address6 =
    smtp_body_checks =
    smtp_cname_overrides_servername = no
    smtp_connect_timeout = 30s
    smtp_connection_cache_destinations =
    smtp_connection_cache_on_demand = yes
    smtp_connection_cache_time_limit = 2s
    smtp_connection_reuse_time_limit = 300s
    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_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
    smtp_destination_concurrency_limit = $default_destination_concurrency_limit
    smtp_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
    smtp_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
    smtp_destination_rate_delay = $default_destination_rate_delay
    smtp_destination_recipient_limit = $default_destination_recipient_limit
    smtp_discard_ehlo_keyword_address_maps =
    smtp_discard_ehlo_keywords =
    smtp_enforce_tls = no
    smtp_fallback_relay = $fallback_relay
    smtp_generic_maps =
    smtp_header_checks =
    smtp_helo_name = $myhostname
    smtp_helo_timeout = 300s
    smtp_host_lookup = dns
    smtp_initial_destination_concurrency = $initial_destination_concurrency
    smtp_line_length_limit = 990
    smtp_mail_timeout = 300s
    smtp_mime_header_checks =
    smtp_mx_address_limit = 5
    smtp_mx_session_limit = 2
    smtp_nested_header_checks =
    smtp_pix_workaround_delay_time = 10s
    smtp_pix_workaround_maps =
    smtp_pix_workaround_threshold_time = 500s
    smtp_pix_workarounds = disable_esmtp,delay_dotcrlf
    smtp_quit_timeout = 300s
    smtp_quote_rfc821_envelope = yes
    smtp_rcpt_timeout = 300s
    smtp_rset_timeout = 20s
    smtp_sasl_auth_cache_name =
    smtp_sasl_auth_cache_time = 90d
    smtp_sasl_auth_soft_bounce = yes
    smtp_sasl_mechanism_filter =
    smtp_sasl_password_maps =
    smtp_sasl_path =
    smtp_sasl_security_options = noplaintext, noanonymous
    smtp_sasl_tls_security_options = $smtp_sasl_security_options
    smtp_sasl_tls_verified_security_options = $smtp_sasl_tls_security_options
    smtp_sasl_type = cyrus
    smtp_send_xforward_command = no
    smtp_sender_dependent_authentication = no
    smtp_starttls_timeout = 300s
    smtp_tls_CAfile =
    smtp_tls_CApath =
    smtp_tls_cert_file =
    smtp_tls_dcert_file =
    smtp_tls_dkey_file = $smtp_tls_dcert_file
    smtp_tls_enforce_peername = yes
    smtp_tls_exclude_ciphers =
    smtp_tls_fingerprint_cert_match =
    smtp_tls_fingerprint_digest = md5
    smtp_tls_key_file = $smtp_tls_cert_file
    smtp_tls_loglevel = 0
    smtp_tls_mandatory_ciphers = medium
    smtp_tls_mandatory_exclude_ciphers =
    smtp_tls_mandatory_protocols = SSLv3, TLSv1
    smtp_tls_note_starttls_offer = no
    smtp_tls_per_site =
    smtp_tls_policy_maps =
    smtp_tls_scert_verifydepth = 9
    smtp_tls_secure_cert_match = nexthop, dot-nexthop
    smtp_tls_security_level =
    smtp_tls_session_cache_database =
    smtp_tls_session_cache_timeout = 3600s
    smtp_tls_verify_cert_match = hostname
    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_rate_limit = 0
    smtpd_client_event_limit_exceptions = ${smtpd_client_connection_limit_exceptions:$mynetworks}
    smtpd_client_message_rate_limit = 0
    smtpd_client_new_tls_session_rate_limit = 0
    smtpd_client_port_logging = no
    smtpd_client_recipient_rate_limit = 0
    smtpd_client_restrictions =
    smtpd_data_restrictions =
    smtpd_delay_open_until_valid_rcpt = yes
    smtpd_discard_ehlo_keyword_address_maps =
    smtpd_discard_ehlo_keywords =
    smtpd_end_of_data_restrictions =
    smtpd_enforce_tls = no
    smtpd_error_sleep_time = 1s
    smtpd_etrn_restrictions =
    smtpd_expansion_filter = \t\40!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghi jklmnopqrstuvwxyz{|}~
    smtpd_forbidden_commands = CONNECT GET POST
    smtpd_hard_error_limit = 20
    smtpd_helo_required = no
    smtpd_helo_restrictions =
    smtpd_history_flush_threshold = 100
    smtpd_junk_command_limit = 100
    smtpd_milters =
    smtpd_noop_commands =
    smtpd_null_access_lookup_key =
    smtpd_peername_lookup = yes
    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
    smtpd_recipient_limit = 1000
    smtpd_recipient_overshoot_limit = 1000
    smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination permit
    smtpd_reject_unlisted_recipient = yes
    smtpd_reject_unlisted_sender = no
    smtpd_restriction_classes =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_authenticated_header = no
    smtpd_sasl_exceptions_networks =
    smtpd_sasl_path = smtpd
    smtpd_sasl_security_options = noanonymous
    smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
    smtpd_sasl_type = cyrus
    smtpd_sender_login_maps =
    smtpd_sender_restrictions =
    smtpd_soft_error_limit = 10
    smtpd_starttls_timeout = 300s
    smtpd_timeout = 300s
    smtpd_tls_CAfile = /etc/certificates/*.binghamton.edu.1C15A00CCD190A0295A8587B951BA187BFD560ED.cha in.pem
    smtpd_tls_CApath =
    smtpd_tls_always_issue_session_ids = yes
    smtpd_tls_ask_ccert = no
    smtpd_tls_auth_only = no
    smtpd_tls_ccert_verifydepth = 9
    smtpd_tls_cert_file = /etc/certificates/*.binghamton.edu.1C15A00CCD190A0295A8587B951BA187BFD560ED.cer t.pem
    smtpd_tls_dcert_file =
    smtpd_tls_dh1024_param_file =
    smtpd_tls_dh512_param_file =
    smtpd_tls_dkey_file = $smtpd_tls_dcert_file
    smtpd_tls_exclude_ciphers =
    smtpd_tls_fingerprint_digest = md5
    smtpd_tls_key_file = /etc/certificates/*.binghamton.edu.1C15A00CCD190A0295A8587B951BA187BFD560ED.key .pem
    smtpd_tls_loglevel = 0
    smtpd_tls_mandatory_ciphers = medium
    smtpd_tls_mandatory_exclude_ciphers =
    smtpd_tls_mandatory_protocols = SSLv3, TLSv1
    smtpd_tls_received_header = no
    smtpd_tls_req_ccert = no
    smtpd_tls_security_level =
    smtpd_tls_session_cache_database =
    smtpd_tls_session_cache_timeout = 3600s
    smtpd_tls_wrappermode = no
    smtpd_use_pw_server = yes
    smtpd_use_tls = no
    stale_lock_time = 500s
    stress =
    strict_mailbox_ownership = yes
    syslog_facility = mail
    syslog_name = postfix
    tls_daemon_random_bytes = 32
    tls_export_cipherlist = ALL:+RC4:@STRENGTH
    tls_high_cipherlist = ALL:!EXPORT:!LOW:!MEDIUM:+RC4:@STRENGTH
    tls_low_cipherlist = ALL:!EXPORT:+RC4:@STRENGTH
    tls_medium_cipherlist = ALL:!EXPORT:!LOW:+RC4:@STRENGTH
    tls_null_cipherlist = eNULL:!aNULL
    tls_random_bytes = 32
    tls_random_exchange_name = ${data_directory}/prng_exch
    tls_random_prng_update_period = 3600s
    tls_random_reseed_period = 3600s
    tls_random_source = dev:/dev/urandom
    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
    use_getpwnam_ext = yes
    use_od_delivery_path = no
    verp_delimiter_filter = -=+
    virtual_alias_domains = $virtual_alias_maps
    virtual_alias_expansion_limit = 1000
    virtual_alias_maps =
    virtual_alias_recursion_limit = 1000
    virtual_destination_concurrency_failed_cohort_limit = $default_destination_concurrency_failed_cohort_limit
    virtual_destination_concurrency_limit = $default_destination_concurrency_limit
    virtual_destination_concurrency_negative_feedback = $default_destination_concurrency_negative_feedback
    virtual_destination_concurrency_positive_feedback = $default_destination_concurrency_positive_feedback
    virtual_destination_rate_delay = $default_destination_rate_delay
    virtual_destination_recipient_limit = $default_destination_recipient_limit
    virtual_gid_maps =
    virtual_initial_destination_concurrency = $initial_destination_concurrency
    virtual_mailbox_base =
    virtual_mailbox_domains = $virtual_mailbox_maps
    virtual_mailbox_limit = 51200000
    virtual_mailbox_lock = fcntl, dotlock
    virtual_mailbox_maps =
    virtual_minimum_uid = 100
    virtual_transport = virtual
    virtual_uid_maps =
    macosxserver02:~ academic$
    Could someone please help me figure out what is wrong?
    Cheryl Tarbox
    Macintosh Support Specialist
    Binghamton University
    [email protected]

    I found two things that were causing my troubles.
    First, port 25 on the switch going to the server was blocked. After this was opened I was able to receive mail to macosxserver02.binghamton.edu. Since this mail server is only used for Podcast Producer notifications, I'm hoping to have this port closed back down after I get Pcast Producer back up and running and fully tested.
    Second, when the upgrade from 10.5 -> 10.6 was performed, in ServerAdmin>Mail>Settings>Domain Name, only the .binghamton.edu was populated in this field, not the full domain name of macosxserver02.binghamton.edu. This was preventing me sending mail to our Google branded .binghamton.edu email addresses. Apparently 10.6 was looking locally for all the .binghamton.edu email addresses.
    A big thank you to Gordon for looking into this and helping me get this resolved.
    Cheryl

  • How may I automatically stop and start Mail services at a set time please

    Hi folks. I was wondering if anyone could tell me how to automatically stop and start Mail services (or any other services) at a set time please in Leopard Server? Is there a script someone has created which might help?
    Cheers, David ( a realy newbie when it comes to administering OS X server)

    launchd works through a series of XML documents that define tasks to run, either at launch, on a time schedule, in response to network events, etc.
    So you'll need to create two .plists - one to start the mail server and one to stop it. They should be saved in /Library/LaunchDaemons. I'd suggest something like:
    /Library/LaunchDaemons/local.postfix.stop.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
    .com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>local.postfix.stop</string>
      <key>ProgramArguments</key>
      <array>
        <string>/usr/sbin/serveradmin</string>
        <string>stop</string>
        <string>mail</string>
      </array>
      <key>StartCalendarInterval</key>
      <dict>
        <key>Hour</key>
        <integer>1</integer>
        <key>Minute</key>
        <integer>00</integer>
      </dict>
    </dict>
    </plist>
    and /Library/LaunchDaemons/local.postfix.start.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
    .com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>local.postfix.start</string>
      <key>ProgramArguments</key>
      <array>
        <string>/usr/sbin/serveradmin</string>
        <string>start</string>
        <string>mail</string>
      </array>
      <key>StartCalendarInterval</key>
      <dict>
        <key>Hour</key>
        <integer>4</integer>
        <key>Minute</key>
        <integer>00</integer>
      </dict>
    </dict>
    </plist>
    You'll need to either use launchctl load /Library/LaunchDaemons/local.postfix.stop (or start) to load the tasks, or reboot your server.
    I'm curious, though, as to why you want to do this. Mail is typically one of the services that people want to run 24/7 so they don't miss out on any emails (even though SMTP can tolerate this). Why do you want to shut yours down?

  • Error while executing the service request : : Login to Mail Service failed

    I am getting the following error in Convergence while attempting to authenticate against the mail service. I am able to access the backend mail service directly from a mail client with the same account without any issue.
    Looking at the log file info:
    ==> iwc.log <==
    AUTH: WARN from com.sun.comms.client.protocol.delegate.agent.LoginContextAgent Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:21,744 - Subject not found in session, creating one
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunAuthCallBack Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:21,745 - User LoginID is [email protected]
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunAuthCallBack Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:21,745 - User domain is mydomain.com
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:21,746 - Loaded UG LDAP pool...
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:21,750 - SunLDAPLoginModule:User [email protected] Authenticated
    AUTH: INFO from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:21,752 - Loading user entry from LDAP
    AUTH: INFO from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:21,754 - User entry loaded successfully
    PROTOCOL: INFO from com.sun.comms.client.entity.user.sun.CommsUser Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:21,757 - IM Service is not enabled for user: sunImUser object class is not present
    AUTH: INFO from com.sun.comms.client.web.IwcCookieManager Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:21,758 - Preferred language for user is en
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.UserPrefsCommandDelegate Thread httpSSLWorkerThread-8080-2 at 2009-03-10 04:33:22,404 - get_allprefs.iwc : Service is not enabled : im
    PROTOCOL: INFO from com.sun.comms.client.entity.user.sun.CommsUser Thread httpSSLWorkerThread-8080-2 at 2009-03-10 04:33:22,405 - SMIME Service is not enabled for server
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.UserPrefsCommandDelegate Thread httpSSLWorkerThread-8080-2 at 2009-03-10 04:33:22,406 - get_allprefs.iwc : Service is not enabled : smime
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.agent.ClientOptionsAgent Thread httpSSLWorkerThread-8080-2 at 2009-03-10 04:33:22,407 - client preferences not found for domain: mydomain.com
    PROTOCOL: INFO from com.sun.comms.client.entity.user.sun.CommsUser Thread httpSSLWorkerThread-8080-2 at 2009-03-10 04:33:22,418 - Client customization service is disbaled for the deployment
    ADDRESS_BOOK: INFO from com.sun.comms.client.ab.coresrv.DBHandler Thread httpSSLWorkerThread-8080-1 at 2009-03-10 04:33:23,131 - Got DBPluginMap
    PROXY_MAIL: INFO from com.sun.comms.client.web.services.sun.MailServiceProxy Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:23,139 - Performing Sun Mail Authentication
    ==> ../../messaging/log/http <==
    [10/Mar/2009:04:33:23 -0400] fe-msg httpd[17512]: Account Information: connect [10.10.10.229:40786]
    [10/Mar/2009:04:33:23 -0400] fe-msg httpd[17512]: General Information: [10.10.10.229:40786] POST /login.msc HTTP/1.1
    [10/Mar/2009:04:33:23 -0400] fe-msg httpd[17512]: Account Notice: badlogin: [10.10.10.229:40786] proxy admin [email protected] domain=us.mydomain.com: user not found
    ==> iwc.log <==
    PROXY_MAIL: ERROR from com.sun.comms.client.web.services.sun.MailServiceProxy Thread httpSSLWorkerThread-8080-0 at 2009-03-10 04:33:25,160 - cookies not present from MS response
    ==> ../../messaging/log/http <==
    [10/Mar/2009:04:33:25 -0400] fe-msg httpd[17512]: Account Notice: close [10.10.10.229:40786] [unauthenticated] 2009/3/10 4:33:23 0:00:02 248 0 0
    It appears that the authentication mechanism is trying to authenticate against the domain "us.mydomain.com" rather than "mydomain.com". At one point I added "us.mydomain.com" as an alias to the domain "mydomain.com" but it has since been removed. I am unsure where Convergence is pulling this information from. Any advice would be appreciated.

    highamjd1 wrote:
    [10/Mar/2009:04:33:23 -0400] fe-msg httpd[17512]: Account Information: connect [10.10.10.229:40786]
    [10/Mar/2009:04:33:23 -0400] fe-msg httpd[17512]: General Information: [10.10.10.229:40786] POST /login.msc HTTP/1.1
    [10/Mar/2009:04:33:23 -0400] fe-msg httpd[17512]: Account Notice: badlogin: [10.10.10.229:40786] proxy admin [email protected] domain=us.mydomain.com: user not found
    It appears that the authentication mechanism is trying to authenticate against the domain "us.mydomain.com" rather than "mydomain.com". At one point I added "us.mydomain.com" as an alias to the domain "mydomain.com" but it has since been removed. I am unsure where Convergence is pulling this information from. Convergence determines the default domain from the URL that you used to connect e.g. if you used "http://myserver.us.mydomain.com/iwc" it sets the default domain to "us.mydomain.com"
    http://wikis.sun.com/display/CommSuite/Sun+Convergence+Administrative+Tasks#SunConvergenceAdministrativeTasks-HowdoIcustomizetheLoginpagebasedonthedomainnameintheURLtoaccesstheConvergenceclient%3F
    Rather then use the default domain for the proxy administrator, you can hard-code the domain e.g.
    ./iwcadmin -w <password> -o mail.proxyadminid -v [email protected]
    ./iwcadmin -w <password> -o cal.proxyadminid -v [email protected] need to restart the application-server domain hosting Convergence for the changes to become active.
    Regards,
    Shane.

  • Error in the SMTP log of the mail service regarding "master.lock"

    I am getting the following error in the SMTP log of the mail service, Anybody might have any suggestions:
    postfix/master[87670]: fatal: open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied.
    The permissions of the master.lock file are as follows:
    -rw-------  1 _postfix  mail  33 Jul  7 10:25 master.lock
    The Mail service stops after a few minutes from starting it
    I appreciate your feedback

    I found the problem.. the executable job was referring to a none existing batch file..
    I have refreshed the database from production some time ago and the jobs I have setup are referring to production scripts and paths (which we didnt have on dev)..
    This is now resolved.
    Thanks

  • Mail server log says: master[50]: ERROR: Cannot start mail services...

    Recently, after a year or more of relatively smooth service, my OS X Server 10.4.11 Mail services has been locking up daily.
    I was finally able to get some information from the log files (I am a noob to this) and saw the following right after my most recent reboot of the server:
    Oct 5 09:51:11 mm1 master[50]: ERROR: Cannot start mail services, configuration directory does not exist: /Volumes/Data/mail/var/imap
    I checked the server and that directory is indeed there on the partition named "DATA", so I am baffled as why the server does not thing the configuration directory exists?
    drwxr-xr-x 15 cyrusima mail 510 Oct 5 09:51 imap
    drwxr-xr-x 15 root admin 510 Oct 3 20:01 imap.BAK
    drwxr-xr-x 15 cyrusima mail 510 Oct 3 20:05 imapold10032009-200707
    drwxr-xr-x 4 jkoerber admin 136 Dec 3 2007 spool
    mm1:/Volumes/Data/mail/var jkoerber$
    Can anyone help me? My customers are yelling for blood because they cannot send/receive emails.
    -- Jon
    Message was edited by: Jon Koerber

    Thanks Alex for the feedback. You are helpful as always!
    It's good to know that the message I am getting from the mail server about the configuration files is only a temporary thing. Although I find it strange that the mail service doesn't know where its config files are since it is specified in the mail server setup.
    I looked at the log files you mentioned and do not see anything that looks like a specific problem with the mail services themselves.
    Recently, however, I have been having recurring problems where my mail server and my Web/Database server have both become unresponsive at nearly the same time even though they are on different class A networks to where I cannot access them via ARD, Server Admin and even SSH. That is usually when my mail server goes offline. I was afraid it was because of that configuration error I was seeing, but think now that the problem could be something else entirely (maybe some kind of network problem or denial of service hacking attack, no idea).
    Thanks again.
    -- Jon

  • Questions about Mail Service and Campaign in Portal 8.1

    1.How to disable batch mode email in portal 8.1 Mail Service using
    Campaign?
    2.For batch mode email, when will it deliver?
    3.Where can I admin those parameter besides the fields mapping in
    portal Admin->Campaign Server and Mail Service?

    The docs haven't been moved over to the 8.1 docsite, but the 7.0 docs
    for campaigns are still pretty much valid in 8.1. Look at:
    http://e-docs.bea.com/wlp/docs70/dev/cmpaign.htm#998197
    for more information.
    Basic answers:
    1. You can't from a campaign. It will always batch emails in the database.
    2. Use the bea/weblogic81/portal/bin/mainmanager.bat|sh script, which
    uses the com.bea.p13n.mail.MailManager command-line java class (JavaDoc
    at http://e-docs.bea.com/wlp/docs81/javadoc/index.html). This can be
    invoked from cron or at for regular email delivery. Also, the emails are
    deposited in the MAIL_* tables
    (http://e-docs.bea.com/wlp/docs81/db/4Schemas.html#1064602), so you
    could implement a delivery system from that as well.
    3. There are no parameters since the email delivery is invoked from a
    command-line process.
    Greg
    surfboy wrote:
    1.How to disable batch mode email in portal 8.1 Mail Service using
    Campaign?
    2.For batch mode email, when will it deliver?
    3.Where can I admin those parameter besides the fields mapping in
    portal Admin->Campaign Server and Mail Service?

  • Perl 5.12 Crash on Mail Service

    Hi to all
    since this morning i got Console full of messages telling that perl 5.12 crashed every 10 seconds
    this is the issue:
    Jun 18 17:38:51 mail postfix/smtpd[44496]: warning: problem talking to server private/policy: Undefined error: 0
    Jun 18 17:38:53 mail postfix/spawn[44997]: warning: command /usr/bin/perl killed by signal 10
    I post here also the output from my "postconf -n", i hope this helps
    biff = no
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    data_directory = /Library/Server/Mail/Data/mta
    debug_peer_level = 2
    enable_server_options = yes
    header_checks = pcre:/etc/postfix/custom_header_checks
    html_directory = /usr/share/doc/postfix/html
    imap_submit_cred_file = /private/etc/postfix/submit.cred
    inet_interfaces = all
    inet_protocols = all
    mail_owner = _postfix
    mailbox_size_limit = 0
    mailbox_transport = dovecot
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    maps_rbl_domains =
    message_size_limit = 20971520
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, smtp.reteambiente.it, mail.reteambiente.it, reteambiente.it
    mydomain = reteambiente.it
    mydomain_fallback = localhost
    myhostname = mail.reteambiente.it
    mynetworks = 127.0.0.0/8,[::1]/128,192.168.0.0/24,92.62.161.120
    newaliases_path = /usr/bin/newaliases
    postscreen_dnsbl_sites = zen.spamhaus.org*2
    queue_directory = /Library/Server/Mail/Data/spool
    readme_directory = /usr/share/doc/postfix
    recipient_canonical_maps = hash:/etc/postfix/system_user_maps
    recipient_delimiter = +
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated reject_rbl_client zen.spamhaus.org permit
    smtpd_enforce_tls = no
    smtpd_helo_required = yes
    smtpd_helo_restrictions = permit_sasl_authenticated permit_mynetworks reject_invalid_helo_hostname reject_non_fqdn_helo_hostname
    smtpd_pw_server_security_options = cram-md5,login,plain
    smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks  reject_unauth_destination check_policy_service unix:private/policy permit
    smtpd_sasl_auth_enable = yes
    smtpd_tls_CAfile = /etc/certificates/mail.reteambiente.it.E9E736E5B8168C9B44FA41332CB109F82713E3AF .chain.pem
    smtpd_tls_cert_file = /etc/certificates/mail.reteambiente.it.E9E736E5B8168C9B44FA41332CB109F82713E3AF .cert.pem
    smtpd_tls_ciphers = medium
    smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL
    smtpd_tls_key_file = /etc/certificates/mail.reteambiente.it.E9E736E5B8168C9B44FA41332CB109F82713E3AF .key.pem
    smtpd_use_pw_server = yes
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom
    unknown_local_recipient_reject_code = 550
    use_sacl_cache = yes
    virtual_alias_maps = $virtual_maps
    Any idea?
    thank in advance!

    hi, i solved just deleting whitelist.db and greylist.db from/Library/Server/Mail/Data/mta
    Anyway i disabled GreyListing features from Mail service because it's too buggy...

  • SMTP vs. external mail service

    I need to use SMTP on our webserver to send mail via a web form. However, we use an external 3rd party mail service and when the webserver passes the message for a @mydom.tld user to SMTP (Postfix), it gets passed on to dovecot and dumped in a local mailbox on the server (if the user name corresponds i.e. [email protected] => user account 'miles'). If the usernames don't match, _www gets the bounce message in its local mailbox. IMAP and POP are disabled.
    DNS MX records point to the external service (with servers at priority 0, 10 and 20).
    What I want to happen is for the SMTP server to send the message to the MX servers (the third party service) instead of trying to deliver it itself.
    Here's what the SMTP logs say:
    Feb 27 13:55:08 obelix postfix/pickup[52526]: E077C5FD068A: uid=70 from=<_www>
    Feb 27 13:55:08 obelix postfix/cleanup[52547]: E077C5FD068A: message-id=<[email protected]>
    Feb 27 13:55:08 obelix postfix/qmgr[52527]: E077C5FD068A: from=<[email protected]>, size=581, nrcpt=1 (queue active)
    Feb 27 13:55:08 obelix postfix/local[52549]: error: od[getpwnam_ext]: No record for user saskatoon
    Feb 27 13:55:08 obelix postfix/pipe[52550]: E077C5FD068A: to=<[email protected]>, relay=dovecot, delay=0.04, delays=0.02/0.01/0/0.02, dsn=5.1.1, status=bounced (user unknown)
    Feb 27 13:55:08 obelix postfix/cleanup[52547]: E87B85FD068C: message-id=<[email protected]>
    Feb 27 13:55:08 obelix postfix/bounce[52552]: E077C5FD068A: sender non-delivery notification: E87B85FD068C
    Feb 27 13:55:08 obelix postfix/qmgr[52527]: E87B85FD068C: from=<>, size=2252, nrcpt=1 (queue active)
    Feb 27 13:55:08 obelix postfix/qmgr[52527]: E077C5FD068A: removed
    Feb 27 13:55:08 obelix postfix/local[52549]: od[getpwnam_ext]: no attribute dsAttrTypeStandard:MailAttribute in record for user _www
    Feb 27 13:55:08 obelix postfix/pipe[52550]: E87B85FD068C: to=<[email protected]>, relay=dovecot, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
    Feb 27 13:55:08 obelix postfix/qmgr[52527]: E87B85FD068C: removed
    From postconf -n:
    biff = no
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    enable_server_options = yes
    header_checks = pcre:/etc/postfix/custom_header_checks
    html_directory = /usr/share/doc/postfix/html
    inet_interfaces = all
    mail_owner = _postfix
    mailbox_size_limit = 0
    mailbox_transport = dovecot
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    maps_rbl_domains =
    message_size_limit = 10485760
    mydestination = $myhostname, localhost.$mydomain, localhost, mydom.tld, $mydomain
    mydomain = obelix.mydom.tld
    mydomain_fallback = localhost
    myhostname = obelix.mydom.tld
    mynetworks = 127.0.0.0/8,10.198.186.90
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtp_sasl_password_maps =
    smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
    smtpd_enforce_tls = no
    smtpd_helo_required = yes
    smtpd_helo_restrictions = reject_invalid_helo_hostname reject_non_fqdn_helo_hostname
    smtpd_pw_server_security_options = cram-md5
    smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks  reject_unauth_destination check_policy_service unix:private/policy permit
    smtpd_sasl_auth_enable = yes
    smtpd_tls_CAfile = /etc/certificates/*.mydom.tld.XXXXXXXXX.chain.pem
    smtpd_tls_cert_file = /etc/certificates/*.mydom.tld.XXXXXXXXX.cert.pem
    smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL
    smtpd_tls_key_file = /etc/certificates/*.mydom.tld.XXXXXXXXX.key.pem
    smtpd_use_pw_server = yes
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom
    unknown_local_recipient_reject_code = 550
    virtual_alias_maps =
    Any and all help appreciated.
    Thanks,
    Miles

    Well, the big question is whether or not this server should accept mail for your domain, mydom.tld.
    If it should, then this is appropriate - it sees a message for a domain that it's responsible for.
    If, on the other hand, this server isn't responsible for your domain's mail then tell it so.
    Right now you've told it that it SHOULD accept mail for mydom.tld:
    mydestination = $myhostname, localhost.$mydomain, localhost, mydom.tld, $mydomain
    So any mail addressed to any user @mydom.tld is going to get delivered locally. If that's not what you want, remove mydom.tld from mydestination and the message will follow the normal SMTP/MX rules.

  • Photoshop Elements 11 - Adobe E-Mail-Service funktioniert nicht

    Hallo
    Ich habe kein Outlook am laufen. Ich versende meine Mails mit GMail. Da dies nicht unterstützt wird von Photoshop Elements 11 habe ich mir nun gedacht dass ich es mit Adobe E-Mail-Service versuche.
    In der Beschreibung steht: "Wenn sie den Adobe E-Mail Service wählen sendet Adobe Ihnen zunächst eine E-Mail zu, um zu testen ob ihre E-Mail Adresse E-Mails senden und empfangen kann.
    Leider erhalte ich aber keine E-Mail von Adobe. Vielleicht liegt es auch daran, dass ich keine [email protected] E-Mail Adresse habe. Meine registrierte E-Mail Adresse bei Adobe lautet [email protected]
    Hat jemand eine Idee wie dies funktioniert mit dem Adobe E-Mail Service?
    Für Ratschläge bin ich dankbar. Danke!!

    Hi Hayzal,
    Please refer the KB : http://helpx.adobe.com/elements-organizer/using/sending-photos-media-files-email.html

Maybe you are looking for

  • One line item missing from PO created using Shopping cart

    Hello Team, we have raised a shopping cart with 6 line items, having the same vendor and account assignment details. Once the shopping cart was approved the PO was created but the 3rd line item was missing in the PO. When we checked in BBP_PD, the 3r

  • I'm looking for a template for making a survey and have the statistics results

    guys, I'm about to launch new business and I want to make a market survey to get to know about my future clients, prices for my services, the best place to do it all -. etc. I was wondering if there is a website where I could get a template for that

  • Nokia Music - UAE (MENA) - Misleading/False Nokia ...

    </body> I am so much annoyed for the past many years (since the release of N8) that music can't be bought or vouchers are not available for Nokia Store in UAE. Now after buying Lumia 920, the Music App is not available in UAE, thus we can't buy/strea

  • Pages does not select the default printer.

    I have an IMac, 2.8 GHz, running version 10.6.5 connected to a Canon MX860. Under Print & Fax preferences, I list two printers. The first is Canon MX860 USB and the second is Canon MX860 Wireless. The default is set for the wireless. On all applicati

  • RV_PRICE_PRINT_HEAD

    Hi All, I'm using the FM 'RV_PRICE_PRINT_HEAD' to fetch the header data of the invoice.While executing this individually,it is giving me the output.But when i'am using this in the smartform,the output tables are not getting filled. Any pointers would