Announcement

Collapse
No announcement yet.

problems sending e-mails

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • problems sending e-mails

    hi
    i'm facing problem sending e-mails
    i'm using Debian

    my mail.log file looks like :

    Oct 3 12:25:49 debian cyrus/master[4330]: process 7267 exited, status 0
    Oct 3 12:25:55 debian cyrus/imap[7266]: accepted connection
    Oct 3 12:25:55 debian cyrus/imap[7266]: login: localhost.localdomain [127.0.0.1] mayank plaintext User logged in
    Oct 3 12:25:55 debian postfix/smtpd[7288]: connect from localhost.localdomain[127.0.0.1]
    Oct 3 12:25:55 debian postfix/trivial-rewrite[7290]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    Oct 3 12:25:55 debian postfix/trivial-rewrite[7290]: fatal: mysql:/etc/postfix/ox_domains.cf(0,lock|fold_fix): table lookup problem
    Oct 3 12:25:56 debian postfix/smtpd[7288]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
    Oct 3 12:25:56 debian postfix/smtpd[7288]: warning: problem talking to service rewrite: Success
    Oct 3 12:25:56 debian postfix/master[7253]: warning: process /usr/lib/postfix/trivial-rewrite pid 7290 exit status 1
    Oct 3 12:25:57 debian postfix/trivial-rewrite[7291]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    Oct 3 12:25:57 debian postfix/trivial-rewrite[7291]: fatal: mysql:/etc/postfix/ox_domains.cf(0,lock|fold_fix): table lookup problem
    Oct 3 12:25:58 debian postfix/smtpd[7288]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
    Oct 3 12:25:58 debian postfix/smtpd[7288]: warning: problem talking to service rewrite: Success
    Oct 3 12:25:58 debian postfix/master[7253]: warning: process /usr/lib/postfix/trivial-rewrite pid 7291 exit status 1
    Oct 3 12:25:58 debian postfix/master[7253]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling


    plz help ASAP

  • #2
    Hi,

    would you please post your postfix configuration?

    Greetings

    Comment


    • #3
      Originally posted by Martin Braun View Post
      Hi,

      would you please post your postfix configuration?

      Greetings
      hi..

      my postfix main.cf is like this , as wriiten in Docm:

      # See /usr/share/postfix/main.cf.dist for a commented, more complete version


      # Debian specific: Specifying a file name will cause the first
      # line of that file to be used as the name. The Debian default
      # is /etc/mailname.
      #myorigin = /etc/mailname

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

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

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

      # TLS parameters
      #smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
      #smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
      #smtpd_use_tls=yes
      #smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
      #smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

      # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
      # information on enabling SSL in the smtp client.

      #myhostname = debian.tetrain.com
      #alias_maps = hash:/etc/aliases
      #alias_database = hash:/etc/aliases
      #myorigin = /etc/mailname
      #mydestination = ox.tetrain.com, localhost, localhost.localdomain, localhost
      #relayhost =
      #mailbox_command = procmail -a "$EXTENSION"
      #mailbox_size_limit = 0
      #recipient_delimiter = +
      #inet_interfaces = all


      mailbox_transport = smtp:unix:/var/run/cyrus/socket/smtp
      virtual_alias_domains = mysql:/etc/postfix/ox_domains.cf
      virtual_alias_maps = mysql:/etc/postfix/ox_user_aliases.cf, mysql:/etc/postfix/ox_aliases.cf, mysql:/etc/postfix/ox_resource_aliases.cf, mysql:/etc/postfix/ox_group_aliases.cf
      smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/ox_externaldomaincheck.cf
      smtpd_restriction_classes = local_only
      local_only = check_recipient_access mysql:/etc/postfix/ox_domains.cf, reject
      smtpd_recipient_restrictions = check_sender_access mysql:/etc/postfix/ox_senderrestrictions.cf, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination

      #smtpd_tls_cert_file = /etc/ssl/certs/eecert.pem
      #smtpd_tls_key_file = /etc/ssl/private/eekey.pem
      #procmail_destination_concurrency_limit = 1
      #procmail_destination_recipient_limit = 1

      #myhostname = debian.tetrain.com
      #mynetworks = 127.0.0.0/8

      Comment

      Working...
      X