On 22-01-14 10:56, Jaime Fuentes - Ditecal wrote: > I post my mail.log because I have a warning that I can't solve... It > appears at least once a minute
Your virtual setup in Postfix is incomplete. See: http://www.postfix.org/VIRTUAL_README.html and read: Non-Postfix mailbox store: separate domains, non-UNIX accounts > > Any idea? > > At the end, I paste my main.cf and dbmail.conf > > Thanks > > ___________________ /var/log/mail.log > > Jan 22 10:37:33 correo1 postfix/virtual[25300]: fatal: bad string length > 0 < 1: virtual_mailbox_base = > Jan 22 10:37:34 correo1 postfix/master[9461]: warning: process > /usr/lib/postfix/virtual pid 25300 exit status 1 > Jan 22 10:37:34 correo1 postfix/master[9461]: warning: > /usr/lib/postfix/virtual: bad command startup -- throttling > Jan 22 10:38:34 correo1 postfix/virtual[25348]: fatal: bad string length > 0 < 1: virtual_mailbox_base = > Jan 22 10:38:35 correo1 postfix/master[9461]: warning: process > /usr/lib/postfix/virtual pid 25348 exit status 1 > Jan 22 10:38:35 correo1 postfix/master[9461]: warning: > /usr/lib/postfix/virtual: bad command startup -- throttling > Jan 22 10:39:35 correo1 postfix/virtual[25408]: fatal: bad string length > 0 < 1: virtual_mailbox_base = > Jan 22 10:39:36 correo1 postfix/master[9461]: warning: process > /usr/lib/postfix/virtual pid 25408 exit status 1 > Jan 22 10:39:36 correo1 postfix/master[9461]: warning: > /usr/lib/postfix/virtual: bad command startup -- throttling > Jan 22 10:40:36 correo1 postfix/virtual[25456]: fatal: bad string length > 0 < 1: virtual_mailbox_base = > Jan 22 10:40:37 correo1 postfix/master[9461]: warning: process > /usr/lib/postfix/virtual pid 25456 exit status 1 > Jan 22 10:40:37 correo1 postfix/master[9461]: warning: > /usr/lib/postfix/virtual: bad command startup -- throttling > Jan 22 10:41:37 correo1 postfix/virtual[25517]: fatal: bad string length > 0 < 1: virtual_mailbox_base = > Jan 22 10:41:38 correo1 postfix/master[9461]: warning: process > /usr/lib/postfix/virtual pid 25517 exit status 1 > Jan 22 10:41:38 correo1 postfix/master[9461]: warning: > /usr/lib/postfix/virtual: bad command startup -- throttling > > > ____________________ /etc/postfix/main.cf > > # See /usr/share/postfix/main.cf.dist for a commented, more completeversion > > # 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 > > readme_directory = no > > # TLS parameters > > smtpd_tls_key_file = /etc/postfix/ssl/newreq.pem > smtpd_tls_cert_file = /etc/postfix/ssl/newcert.pem > smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem > > smtpd_tls_cert_file=/etc/postfix/tls/smtpd.pem > smtpd_tls_key_file=/etc/postfix/tls/smtpd.key > smtpd_use_tls=yes > smtpd_tls_loglevel=1 > smtpd_enforce_tls=no > smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache > smtp_tls_session_cache_database = btree:${data_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 = correo2 > alias_maps = hash:/etc/aliases > alias_database = hash:/etc/aliases > mydestination = correo1, localhost.localdomain, , localhost > relayhost = > mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 > mailbox_command = procmail -a "$EXTENSION" > mailbox_size_limit = 0 > recipient_delimiter = + > inet_interfaces = all > inet_protocols = ipv4 > > virtual_mailbox_maps = proxy:mysql:/etc/postfix/sql-virtual_mailbox_maps.cf > > virtual_mailbox_domains > =proxy:mysql:/etc/postfix/sql-virtual_mailbox_domains.cf > > virtual_transport = dbmail-lmtp:localhost:24 > local_transport = dbmail-lmtp: > > > ____________________ /etc/dbmail/dbmail.conf > > > [DBMAIL] > > driver = mysql > authdriver = sql > host = 192.168.10.130 > sqlport = 3307 > sqlsocket = /var/run/mysqld/mysqld.sock > user = dbmail > pass = password > db = dbmail > table_prefix = dbmail_ > encoding = utf8 > default_msg_encoding = utf8 > > sendmail = /usr/sbin/sendmail > TRACE_SYSLOG = 3 > TRACE_STDERR = 1 > EFFECTIVE_USER = dbmail > EFFECTIVE_GROUP = dbmail > BINDIP = * > NCHILDREN = 2 > MAXCHILDREN = 10 > MINSPARECHILDREN = 2 > MAXSPARECHILDREN = 4 > MAXCONNECTS = 10000 > MAX_ERRORS = 500 > TIMEOUT = 300 > login_timeout = 60 > RESOLVE_IP = no > logfile = /var/log/dbmail/dbmail.log > errorlog = /var/log/dbmail/dbmail.err > pid_directory = /var/run/dbmail > state_directory = /var/run/dbmail > query_time_info = 10 > query_time_message = 20 > query_time_warning = 30 > > [SMTP] > > [LMTP] > PORT = 24 > > [POP] > PORT = 1110 > POP_BEFORE_SMTP = no > > [IMAP] > PORT = 1143 > TIMEOUT = 4000 > IMAP_BEFORE_SMTP = no > THREAD=ORDEREDSUBJECT UNSELECT IDLE > > [SIEVE] > PORT = 2000 > > [LDAP] > PORT = 389 > VERSION = 3 > HOSTNAME = ldap > BASE_DN = ou=People,dc=mydomain,dc=com > > BIND_DN = > BIND_PW = > SCOPE = SubTree > REFERRALS = yes > > USER_OBJECTCLASS = top,account,dbmailUser > FORW_OBJECTCLASS = top,account,dbmailForwardingAddress > CN_STRING = uid > FIELD_PASSWD = userPassword > FIELD_UID = uid > FIELD_NID = uidNumber > MIN_NID = 10000 > MAX_NID = 15000 > FIELD_CID = gidNumber > MIN_CID = 10000 > MAX_CID = 15000 > FIELD_MAIL = mail > FIELD_QUOTA = mailQuota > FIELD_FWDTARGET = mailForwardingAddress > > [DELIVERY] > SIEVE = yes > SUBADDRESS = yes > SIEVE_VACATION = yes > SIEVE_NOTIFY = yes > SIEVE_DEBUG = no > AUTO_NOTIFY = no > AUTO_REPLY = no > suppress_duplicates = no > > > _______________________________________________ > DBmail mailing list > [email protected] > http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail > -- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, github, linkedin * Premium Hosting Services and Web Application Consultancy * www.nfg.nl/[email protected]/+31.85.877.99.97 ________________________________________________________________ _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
