ok, I'm making some pregress on this.
I went and found my last full backup and extracted it to a seperate directory.
found this in my old .config:
Code: Select all
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
transport_maps = hash:/etc/postfix/transport
relay_domains = $mydestination,$transport_maps
so i recreated virtual & transport, and ran postmap hash:/path/to/file on them 9along with the chmod/chown commands first)
for refrence:
Code: Select all
[root@mike nqs]# cat /etc/postfix/transport
nqs.is-a-geek.net virtual:
[root@mike nqs]#
Code: Select all
[root@mike nqs]# cat /etc/postfix/virtual
nqs@nqs.is-a-geek.net nqs
[root@mike nqs]#
I belive those were the files i was thinking of
however I was doing some searching , and running postqueue -p shows 203 messages in line. and running cat on individual messages in /var/spool/postfix/active/ shows them to be my mail
interestingly tail /var/log/mail/current shows
Code: Select all
[root@mike nqs]# tail /var/log/mail/current
Nov 6 21:19:53 [postfix/master] warning: /usr/lib/postfix/virtual: bad command startup -- throttling
Nov 6 21:20:53 [postfix/virtual] fatal: bad string length 0 < 1: virtual_mailbox_base =
Nov 6 21:20:54 [postfix/master] warning: process /usr/lib/postfix/virtual pid 10026 exit status 1
Nov 6 21:20:54 [postfix/master] warning: /usr/lib/postfix/virtual: bad command startup -- throttling
Nov 6 21:21:54 [postfix/virtual] fatal: bad string length 0 < 1: virtual_mailbox_base =
Nov 6 21:21:55 [postfix/master] warning: process /usr/lib/postfix/virtual pid 10042 exit status 1
Nov 6 21:21:55 [postfix/master] warning: /usr/lib/postfix/virtual: bad command startup -- throttling
Nov 6 21:22:55 [postfix/virtual] fatal: bad string length 0 < 1: virtual_mailbox_base =
Nov 6 21:22:56 [postfix/master] warning: process /usr/lib/postfix/virtual pid 10043 exit status 1
Nov 6 21:22:56 [postfix/master] warning: /usr/lib/postfix/virtual: bad command startup -- throttling
[root@mike nqs]#
from this i defer the problem is in either "virtual_mailbox_base =" or /usr/lib/postfix/virtual.
hmm. i'm gonna try adding virtual_mailbox_base =" to /etc/postfix/main.cf
hmm. now i get:
Code: Select all
[root@mike nqs]# /etc/init.d/postfix reload
* Caching service dependencies ... [ ok ]
* Reloading postfix ... [ ok ]
[root@mike nqs]# mail nqs
Subject: test
gkifjfyjfyuj
.
EOT
[root@mike nqs]# tail /var/log/mail/current
Nov 6 21:28:05 [postfix/qmgr] warning: transport virtual failure -- see a previous warning/fatal/panic logfile record for the problem description
Nov 6 21:28:05 [postfix/qmgr] 71ACF1EB03: to=<nqs@nqs.is-a-geek.net>, orig_to=<nqs>, relay=none, delay=114168, delays=114144/25/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Nov 6 21:28:05 [postfix/qmgr] warning: premature end-of-input on private/virtual socket while reading input attribute name
Nov 6 21:28:05 [postfix/qmgr] warning: private/virtual socket: malformed response
Nov 6 21:28:05 [postfix/qmgr] warning: transport virtual failure -- see a previous warning/fatal/panic logfile record for the problem description
Nov 6 21:28:05 [postfix/qmgr] 77BE61EB34: to=<nqs@nqs.is-a-geek.net>, orig_to=<nqs>, relay=none, delay=51168, delays=51143/25/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
Nov 6 21:28:05 [postfix/qmgr] warning: premature end-of-input on private/virtual socket while reading input attribute name
Nov 6 21:28:05 [postfix/qmgr] warning: private/virtual socket: malformed response
Nov 6 21:28:05 [postfix/qmgr] warning: transport virtual failure -- see a previous warning/fatal/panic logfile record for the problem description
Nov 6 21:28:05 [postfix/qmgr] 7CCA61E2D9: to=<nqs@nqs.is-a-geek.net>, orig_to=<nqs>, relay=none, delay=113268, delays=113244/25/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)
[root@mike nqs]#
which i almost think i saw here. gonna search for unknown mail transport error
NQS